* Show errors on the deepest document node along their trace
* Show the error from inside a custom node on the node itself
* Add Placeholder, Fallback, Catch, Suppress Error and Throw Error nodes
* Remove most debug nodes
* Draw Inspector header and layer button outlines as borders
* Draw single Inspector wires as one line
* Draw each Inspector section's outline as one border
* Inspect nodes without recompiling the graph (#4803)
* Edit the inspected node's context in the Data panel (#4804)
* Render thumbnails with Vello (#4805)
* Require attribute names to be compile time constants (#4822)
* Desktop: Recover from UI crashes and apply preferences without restarting (#4827)
* Desktop: Recover from UI crashes and apply preferences without restarting
* Show open dialog again after a UI restart
* Improve node graph navigation performance (#4824)
* Re-render only the node graph wires whose paths changed
* Keep nodes already in view rendered when the node graph's visible nodes change
* Cleanup const checking in the compiler (#4825)
* Cleanup const checking in the compiler
* Reject constant data fields and update README node snippet
* Group all boolean node attributes into NodeFlags
* Fix numerous bugs with the Path and Pen tools (#4830)
* Fix the Path tool ignoring the first click on a segment after any drag
* Make Enter and Esc during a Pen drag finish or cancel only that segment
* Stop Ctrl+Delete and Shift+Delete acting on a lone selected handle's anchor
* Keep the opposite handle's length when nudging a handle with the Path tool
* Fix Undo doing nothing after a plain click on a point with the Path tool
* Make the Path tool snap and lock a handle's angle on any of several selected paths
* Fix a Path tool drag just beside a segment moving the selected points
* Extend a path inside a selected group with the Pen, keeping it there
* Make Enter and Esc both take back the Pen tool's lone first anchor
* Fix the Pen tool drawing into another selected path after starting on a segment
* Make Space move the Pen tool's anchor as soon as it's pressed mid-drag
* Fix Shift-clicking a selected segment leaving its anchors selected
* Fix smoothing an anchor on top of its neighbor aiming its handle the wrong way
* Hide the Path tool's Swap Dragged Handle hint for a handle without a partner
* Fix Tab during a Path or Pen handle drag also switching to the Select tool
* Stop the Path tool editing the points of locked layers
* Scale the handles of exactly two selected anchors along with them
* Pull out a symmetric pair of handles when Alt-dragging a sharp anchor
* Make a Path tool lasso that closes on its start select what it encloses
* Delete the selected layers with the Path tool when no points are selected
* Stack: Path and Pen tools (bugfix-stack-path-and-pen)
* Keep the Fill and Gradient tools from editing locked layers
* Make the Eyedropper tool sample the canvas color around artboards in Normal mode
* Center the Eyedropper tool's sample on the pointer on HiDPI displays
* Finish an Eyedropper sample on any release, and skip it outside the viewport
* Fix the Eyedropper tool picking no color in SVG Preview mode on the web
* Stop the Fill tool previewing a fill over images it can't fill
* Stop the Fill tool's color picker offering None, which it can't fill with
* Fix the Gradient tool's hover missing evenly spaced stops on cyclic gradients
* Deselect the Gradient tool's stop on Esc and on presses that land on nothing
* Start new gradients from the Gradient tool's customized stops
* Keep the Pen, Spline, and Freehand tools' Fill and Stroke ticks when nothing is selected
* Fill new shapes with the gradient shown in the drawing tools' Fill swatch
* Fix new shapes losing their stroke or keeping a deselected layer's dashes
* Make the Fill and Gradient tools paint a Boolean Operation's result
* Keep stroke weights when resizing Pen, Freehand, and Spline layers
* Correct the Gradient tool's comment on its empty-canvas fallback
* Stack: Fill, Gradient, tool colors, and Eyedropper (bugfix-stack-paint-and-color)
---------
Co-authored-by: Dennis Kobert <[email protected]>
Co-authored-by: Timon <[email protected]>
* Fix the Path tool ignoring the first click on a segment after any drag
* Make Enter and Esc during a Pen drag finish or cancel only that segment
* Stop Ctrl+Delete and Shift+Delete acting on a lone selected handle's anchor
* Keep the opposite handle's length when nudging a handle with the Path tool
* Fix Undo doing nothing after a plain click on a point with the Path tool
* Make the Path tool snap and lock a handle's angle on any of several selected paths
* Fix a Path tool drag just beside a segment moving the selected points
* Extend a path inside a selected group with the Pen, keeping it there
* Make Enter and Esc both take back the Pen tool's lone first anchor
* Fix the Pen tool drawing into another selected path after starting on a segment
* Make Space move the Pen tool's anchor as soon as it's pressed mid-drag
* Fix Shift-clicking a selected segment leaving its anchors selected
* Fix smoothing an anchor on top of its neighbor aiming its handle the wrong way
* Hide the Path tool's Swap Dragged Handle hint for a handle without a partner
* Fix Tab during a Path or Pen handle drag also switching to the Select tool
* Stop the Path tool editing the points of locked layers
* Scale the handles of exactly two selected anchors along with them
* Pull out a symmetric pair of handles when Alt-dragging a sharp anchor
* Make a Path tool lasso that closes on its start select what it encloses
* Delete the selected layers with the Path tool when no points are selected
* Stack: Path and Pen tools (bugfix-stack-path-and-pen)
* Cleanup const checking in the compiler
* Reject constant data fields and update README node snippet
* Group all boolean node attributes into NodeFlags
* Switch rendering from Vello's classic compute renderer to Vello GPU
* Render the web build with WebGL2 rather than WebGPU
* Expand each shared geometry's strokes once and skip vector items outside the rendered area
* Create the WebGL2 viewport canvas in the canvas utilities instead of storing it on the wgpu context
* Restrict the raw wgpu surface accessor to wasm
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Add convex hull node
* Finish the convex hull node: in-repo algorithm, robustness, and tests
Replaces the WIP node crate, which depended on a convex_hull crate that
only existed outside the repository, with a self-contained implementation:
- The curved hull algorithm lives in vector-types' algorithms module. It
splits curves at inflections and cusps into curvature-monotone arcs,
discovers the boundary structure from a sampled polygonal hull, refines
every transition to an exact tangency with closed-form quartic
tangent-through-point solves, then emits the boundary as cuts of the
original segments joined by straight bridge lines.
- The node moves into vector-nodes alongside the other 'Vector: Modifier'
nodes, ported to the List/attributes model. It accepts Graphic[] or
Vector[], wraps every subpath (open or closed) and free-floating anchor
point across all items, and outputs a single world-space hull path.
- The boolean-union pre-pass is dropped as unnecessary: the hull of all
segments equals the hull of their union, and the polyline connector it
relied on lost floating points and mishandled open paths.
* Make 'Convex Hull' a rolling-ball concave hull with a 'Curvature' parameter
* Keep shared welded anchors when closing, and fold -0 into 0 in position keys
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Patch widget layouts in place through reactive proxies so a diff only re-renders the widgets it changes
* Parse theme colors once and reuse one canvas for CSS color parsing
* Apply layout, ruler, scrollbar and cursor updates without waiting a tick so they share the frame's flush
* Skip layer structure updates that match the current structure instead of rebuilding the Layers panel
* Bound the document from its outermost layers and skip targets that cannot extend the bounds
* Cache the document bounds until the layers change
* Skip non-finite bounds left by clipping to an artboard
* Add overlays showing each path's start, direction, index, and flows
* Fix selection outlines closing the open paths of filled layers
* Fix ghost outlines drawing free points as regular blue anchors
* Add a Point Index overlay and color path overlays apart from points
* Fix click targets of filled meshes hitting areas their faces don't fill
* Keep taken IDs across Combine Paths concatenations so merging stays linear
* Use loose control-box bounds for transformed click targets and reset their shared rotation cache
* Compose group click targets from child layers instead of baking descendant copies
* Share outline and click target geometry, build combined target paths once, and find free points with a bitmap
* Share List element storage behind an Arc with copy-on-write
* Cache vector contours as an item attribute shared by rendering and click targets
* Cache mesh faces in the geometry cache alongside contours
* Share click target geometry through the geometry cache and place it by transform
* Address review feedback on click targets, bounds, naming, and the internal geometry cache attribute
* Fix 'Boolean Operation' Difference filling the overlap it should cut away
* Make 'Boolean Operation' Difference keep areas covered by an odd number of paths