Canvas · Plane: an endless canvas, its grid, rulers, zoom and map
A new chapter, src/canvas. InfiniteCanvas lays artboards, shapes and guides on an endless plane over a dot grid whose step, one, two or five times a power of ten, keeps the dots apart as it zooms out. Rulers run along the top and left in canvas units. A drag on empty space pans from the press, a wheel scrolls, and Command or Control with the wheel zooms about the pointer; the owner keeps the viewport, seeded, so its own zoom shows at once. Layers lie over the plane in view pixels. Shapes are rectangles, ellipses, regular polygons, lines, arrows, text, paths and notes, each in a chart hue, painted to scale; text and notes scale their type. Artboards carry their names above them. ZoomControls step out and in through fixed stops, fit on request, and hold ZoomIndicator, whose press sets 100%. MiniMap draws what lies on the canvas and the view's box, and centers the view where it is pressed or dragged. The viewport math, the steps and the map's fit are tested without gpui. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
86336ee828
commit
2c099ceffb
15 files changed
+1530
-14
No files matched your search
+21
-12
@@ -33,26 +33,33 @@
|
||||
- [x] Pomodoro Timer
|
||||
- [x] DatabaseView (from T21c) — table, board, gallery, calendar, timeline
|
||||
|
||||
## T32 Canvas & Design — `src/canvas`
|
||||
## T32a Canvas · Plane — `src/canvas`
|
||||
|
||||
- [x] InfiniteCanvas
|
||||
- [x] CanvasGrid / Guides
|
||||
- [x] Ruler
|
||||
- [x] ZoomControls / ZoomIndicator
|
||||
- [x] MiniMap
|
||||
- [x] ArtboardFrame
|
||||
|
||||
## T32b Canvas · Tools
|
||||
|
||||
- [ ] InfiniteCanvas
|
||||
- [ ] CanvasGrid / Guides
|
||||
- [ ] Ruler
|
||||
- [ ] SelectionBox
|
||||
- [ ] TransformHandles
|
||||
- [ ] SnapIndicator
|
||||
- [ ] LayerPanel
|
||||
- [ ] AssetPanel
|
||||
- [ ] InspectorPanel
|
||||
- [ ] AlignmentToolbar
|
||||
- [ ] ToolPalette
|
||||
- [ ] ZoomControls / ZoomIndicator
|
||||
- [ ] MiniMap
|
||||
- [ ] ArtboardFrame
|
||||
- [ ] ShapeTools — rect, ellipse, polygon, line, arrow
|
||||
- [ ] PenTool / PathEditor
|
||||
- [ ] TextTool
|
||||
- [ ] BrushTool / BrushSettings
|
||||
- [ ] HistoryPanel
|
||||
|
||||
## T32c Canvas · Panels
|
||||
|
||||
- [ ] LayerPanel
|
||||
- [ ] AssetPanel
|
||||
- [ ] InspectorPanel
|
||||
- [ ] AlignmentToolbar
|
||||
- [ ] ColorPanel
|
||||
- [ ] GradientPanel → `forms::GradientEditor`
|
||||
- [ ] ShadowEditor
|
||||
@@ -61,6 +68,9 @@
|
||||
- [ ] ConstraintsEditor
|
||||
- [ ] AutoLayoutControls
|
||||
- [ ] ExportPanel
|
||||
|
||||
## T32d Canvas · Graphs and boards
|
||||
|
||||
- [ ] NodeEditor / NodeGraph
|
||||
- [ ] Node / Port / Edge / Connection
|
||||
- [ ] FlowChart / DiagramEditor
|
||||
@@ -68,7 +78,6 @@
|
||||
- [ ] Whiteboard
|
||||
- [ ] StickyNote
|
||||
- [ ] Connector Line
|
||||
- [ ] HistoryPanel
|
||||
|
||||
## T33 DB & Dev Tools — `src/devtools`
|
||||
|
||||
|
||||
Reference in new issue
Block a user