* New node: 'L-System'
* New node: 'Turtle Path'
* Give 'L-System' arrow rules, computed chances, cuts, and a Max Symbols input
* Add half steps, scaling, tropism, randomness, polygons, and UV counters to 'Turtle Path'
* Make 'L-System' chances probabilities out of 1
* Give 'Turtle Path' fixed command letters and make `!` and `?` scale the width
* Extend `.` in 'Turtle Path' to place free points with a `kind`
* Replace 'Copy to Points' and 'Assign Colors' with a family of 'Vary' nodes
* Resolve the type of Copy to Points content wired from a secondary output
* Fix crashes and report errors in math nodes
* Fix crashes and report errors in text nodes and Boolean Operation
* Fix crashes and report errors in raster, brush and I/O nodes
* Fix crashes and report errors in vector and transform nodes
* Report errors from graphic and context nodes
* 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]>
* 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
* Rename 'Separate Subpaths' to 'Separate Paths' and 'Close Path' to 'Close Paths'
* Add a 'Reverse Paths' node that reverses the direction every path runs in
* Merge a path's end into its start when 'Close Paths' finds them coincident
* Rename Merge by Distance to Weld and add a Flow Ends method that joins only path flow ends
* Add an Unweld node that splits shared points apart, separating path flows or segments
* Skip welding all points when the transform collapses the geometry
* Add editor task module, drop NodeGraphUpdateSender
* Remove Node::reset and unused value nodes
* Remove unneeded async from vector nodes
* Remove unneeded async from graphic nodes
* Remove unneeded async from raster nodes
* Remove unneeded async from the remaining nodes
* Make most node fns private
* Make node construction sync
* Remove block_on around node construction
* Move GPU readback into ConvertAsync
* Make Convert sync
* Make wgpu pipelines and vello rendering sync
* Make convert, brush and render nodes sync
* Pass editor API as owned Arc
* Take scope inputs by value
* Move Spawn and Task into core-types
* Add Poll type and status tracking
* Add source generations to context
* Stop storing context features in the document
* Track source ids in context modification
* Add async runtime and memo table
* Pass runtime through scope, expose source ids
* Set up async runtime in editor, CLI and benches
* Give async nodes runtime and source id inputs
* Classify node return types in the macro
* Make Node eval sync and return Poll
* Make lazy input nodes, tests and benches sync
* Rerender when a spawned task finishes
* Rerender in CLI until all tasks are done
* Abort pending tasks when node is dropped
* Trace errors through Poll node inputs
* Let node errors carry upstream errors
* Resolve error traces to the origin node
* Show evaluation errors in the node graph
* Default unmapped item primaries to a value
* Add debug nodes
* Memoize fallback results too
* Show multiple node graph errors
* Report node errors in CLI
* Attach input fallback error as upstream
* Keep input fallback error when node fails
* Keep Poll status in render cache
* Keep last frame while graph is pending
* Treat partial export output as pending
* Move environment from global to dispatcher
* Add editor builder, drop global node runtime
* Add Wake message, rerun graph when tasks finish
* Add source generation tests
* Add test for node error origin
* Add render status overlay
* Replace error artwork with render status
* Poll node graph through portfolio message
* Minor review fixups
* Remove future type and macro
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Clear two Clippy lints from the vector pool path structure code
* Find anchor tangents in one pass along the contours
* Share a list's attributes between its clones until one is written to
* Read each path's curve type, references, and IDs once when resolving its spans
* Gather attribute values in a buffer on their way to a trait-object hasher
* Append woven paths to their list as one piece
* Read an item's paths without copying them and leave them shared when only points move
* Weave any number of bezpaths in one pass, looking up the IDs to continue from once
* Hold a list's lone attribute in place, sparing each path a collection of its own
* Look up the paths' curve types once in the loops that walk every path
* Chain segments by their connections when weaving the working form
* Chain legacy segment soups into paths in the order they used to be drawn
* Record where a Path node's paths begin and chain older stored edits into paths on load
* Resolve turned segments through network ports and mark path starts after removals by what arrives
* Stitch contours from stored path order and direction in place of the walker
* Keep each path's boundary through the working form
* Bake the straightest route through junctions into legacy segment soups
* Keep Extrude's split pieces in their segment's place and order shared Close Path placements
* Port the point nodes off the working form to weave the pool directly
* Move quadratic handles and free points correctly under a point delta
* Name a handle by its HandleId in the modification verbs
* Apply a modification in linear passes over the working form
* Swap Vector storage to the point pool and rebuild the vector-types crate on it
* Port graphic types, rendering, and the outer node crates to pool storage
* Migrate legacy document vector data onto pool storage
* Bridge the editor onto pool storage with the VectorGeometry bundle
* Port the editor tools to the vector geometry bundle
* Show the point pool and paths directly in the Data panel
* Port the vector nodes to pool storage and bring the workspace green
* Cover the stored modification format with the demo artwork that leans on it
* Rename the Properties panel to the Inspector throughout the code
* Update demo art
* Remove the migration test that depended on an unmigrated demo file
* Fix lint
* Add icons to nodes in the node graph, set by a node macro attribute
* Rename the 'Eval Curve' node to 'Evaluate Curve'
* Fix node graph layer buttons being covered by the next layer's chain area
* Move the node graph's visibility and lock buttons to the start of its control bar
* Dash the export wire while previewing, and keep its restore target on shake
* Update glam
* More work to avoid panics
* Clean up with new FallibleVec2Operations extension trait
* Fix compile error
* Fix typo
* Fix Nix compiling rust-gpu (#4621)
* Route every network interface write through a single-writer store
* Keep the existing previewing behaviour and fix the review findings that remain
* Record what each store write changed and stage it into the working copy
* Fix the delta path's resource staging, batch liveness, and stale comparisons
* Keep batch resource liveness and load-time repairs consistent with what reaches storage
* Correct the delta documentation and stop persisting pinned nodes the network lost
* Swap a node's implementation in place instead of rebuilding the node
* Resolve network attributes through the same source as the IDs they name
* Resolve an implementation swap by timestamp and let an edit report whether it changed the value
* Add TODO notes that the raster filters' lengths should scale through the footprint instead of counting whole source pixels
* Standardize the node catalog's integer parameters on i64, replacing u32 and u64 with hard-bounded i64
* Retire the 'As u32' and 'As u64' nodes into 'As Integer' and upgrade stored unsigned values to I64
* Standardize on the 'nonzero' spelling in comments
* Fill small gaps in the math expression parser
Adds the unary plus operator, the `true` and `false` constants, the
`choose` and `pick` combinatorics functions, base-suffixed `logN`/
`rootN` function names with optional underscores and fractional bases
like `log3.25`, the typeset operator spellings (`−`, `×`, `⋅`, `÷`,
`∧`, `∨`, `¬`), and `Value` accessors reading results as `f32` and the
standard integer types. Constants match their lowercase spelling
exactly, since uppercase-initial names are reserved for matrices. The
`¬` spelling is the prefix logical not alone, never the postfix
factorial that `!` also spells, and punctuation never begins a name,
which leaves `#`, `$`, `~`, and `@` free to become namespace prefixes
once a host scope needs them.
Retires the `√` prefix operator, which is untypeable and duplicates
`sqrt()`, and removes the undocumented unitless `G` constant: its
9.80665 is the value of lowercase-g standard gravity under capital-G's
name, and gravity's proper home is the future unit system's `g`
acceleration unit.
Also covers the previously untested interaction between implicit
multiplication and unary minus with parenthesized operands (`2 (-3)`,
`-3(2)`) in the test suite.
* Decide branching mesh fill insideness by winding, normalizing drawn direction at the Path node
* Fix dead connector click targets by explicitly closing the kurbo ellipse port paths
* Fix hole subtraction when a hole vertex is snapped exactly onto its covering contour
* Classify embedded negative space by its single surrounding face so fully enclosed mesh cells still fill
* Collapse duplicated BezPath emission, constants, and Polynomial surface across the vector algorithms
* Fix the quadratic segment length lower bound using a control leg instead of the chord
* Port all remaining Subpath producers to BezPath and delete the legacy subpath module
* Reset contour state at each MoveTo so an open contour's segments don't leak into the next region
* Give the polygon and star constructors a true center and radius instead of compensated arguments
* Let the Fill and Stroke paint inputs take Item<Graphic>, replacing the IntoPaint trait
* Rename the FIll node's "fill" input to "paint"
* Let the graphic-consuming nodes take List<Graphic> directly, relying on the embedding adapters
* Remove outdated todo comments
* Re-save the demo art