Repository navigation
The plan in space: each part a planet, its files its moons, around what it uses - #57
Merged
Merged
Conversation
…at it uses The plan view now opens in 3D, in the universe's space, as the database does: each part of the level shown is a planet in its layer's colour, larger the more lines it holds, its longest files moons on a ring around it. The parts that use no other gather at the heart; the others stand in shells around it by their layers, each outside what it uses and near it. Each link is an arc from the part that uses in to the part used, brighter for more imports, magenta through an API, red around a loop. Pointing at a part lights what it uses (orange) and what uses it (cyan), with how much each link holds, and its files' names around its ring. A click glides the camera to it and lists its files, a double click opens it onto its own parts, and the way back leads up. 3D / 2D beside the title gives back the cards, the database's choice being the same. What both scenes share moved to `space`: the shells, the camera, the body under the pointer, the names. The window's flag for the database in space became the view in space, the plan or the database. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The plan view now opens in 3D, in the universe's space, as the database does.
What both scenes share moved to a module of its own,
space: the shells and their layout, the camera, the body under the pointer, the names and the labels around a body. The window's flag for the database in space became the view in space, the plan or the database, which keeps the window drawing while either shows.Tried in the window on a public project: its 13 parts at the top, then one of them opened onto its 93.
Tests cover the shells (each layer outside the one below, no body in another, joins given twice or to oneself, off a single plane, the bounds), picking, the labels' spread, the plan's scene (a part outside what it uses, its longest files the largest moons, a design laid out once) and the links' colours.
🤖 Generated with Claude Code