* Frame CLI exports to the artwork bounds
* Include strokes in the bounds CLI exports frame to
* Count every item of a layer in the bounds CLI exports frame to
* Count every item of a layer in the bounds the editor exports
* Visit each definition once in recursive walks and validation
* Rename DefinitionId to NetworkId to mirror the storage model
* Review fixes
* Make test more precise
* Fix the Data panel showing another node's output for some layers
* Give every layer a thumbnail and remove the 'Merge' and 'Artboard' Monitor nodes
* Resolve inspected paths through the last graph that compiled
* Add a definitions table to NodeNetwork with path resolution and inlining before preprocessing
* Resolve network metadata, views, and network node checks through the definitions table
* Prevent infinite recursion
* Add Graphviz output to graphene-cli
* Review
* Use compiler node IDs
* Simplify proto dump and hash EditorApi and RuntimeHandle by content
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Split renders too dense for Vello GPU and make infinite coordinates finite
* Remove the Render Tile Resolution preference, sizing render regions by GPU limits
* 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
* 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]>
* 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