Keavon Chambers
ead914ec2b
Fix regression where Vello doesn't render new document opened after closing all documents ( #3849 )
...
* Fix regression where Vello doesn't render new document opened after closing all documents
* Remove last_svg_canvas and do this logic in the frontend
2026-03-05 09:54:31 +00:00
Keavon Chambers
8a1dfb9d8f
Refactor messages.ts by removing class-transformer and JS classes ( #3858 )
...
* Fix gamma correction with HTML-based editable Text tool text
* Migrate simple, undecorated classes to types
* Remove TupleToVec2 transformation
* Remove @Transform from tooltips
* Cleanup: replace value.toString() with String(value) everywhere
* Convert documentId from string to bigint
* Migrate the rest of the easy @Transform/@Type decorations
* Migrate FillChoice
* Migrate WidgetDiffUpdate
* Migrate WidgetInstance
* Migrate away from classes that extend WidgetProps
* Remove class-transformer and all classes in messages.ts
* Migrate UI layout passing
* Remove dead code
* Remove unnecessary export and readonly prefixes
* Remove HSVA type
* Break out Color, Gradient, and FillChoice functions into a utility-functions file
* Move widget helper functions from messages.ts into a new utility-functions file; restructure type imports
* Reduce internal type defs
* Rename JsMessage to FrontendMessage
* Code review fixes
* Fix other usages
* Tidying up
2026-03-05 01:43:21 -08:00
Keavon Chambers
f00a15a4c9
Clean up Gradient and Color classes in TS by removing their methods ( #3857 )
2026-03-04 02:39:07 -08:00
Keavon Chambers
5834ee9ce4
Clean up generic widget handling code in the frontend ( #3856 )
...
* Clean up WidgetSpan component code to avoid the giant if-chain for choosing a widget
* Improve typing support
2026-03-04 01:00:09 -08:00
Keavon Chambers
8a75c0c1e1
Add layer locked toggle icon and context menu entry to node graph ( #3855 )
...
* Add layer locked toggle icon and context menu entry to node graph
* Simplify logic
2026-03-04 06:30:04 +00:00
Keavon Chambers
7cc3097acd
Make the Outline render mode draw with consistent stroke thickness at any viewport zoom ( #3848 )
...
* Remove dead code for now-retired SVG implementation
* Implement viewport zoom compensation for thickness
2026-03-02 20:13:05 -08:00
Keavon Chambers
a8b5203d6c
Clean up code for drawing overlays to accept sRGB hex codes instead of Color structs ( #3839 )
...
* Clean up code for drawing overlays to accept sRGB hex codes instead of Color structs
* Consolidate hex code parsing functions
2026-02-27 14:08:58 -08:00
Keavon Chambers
9ecbfb7110
New nodes: RGBA to Color, HSVA to Color, Hex to Color, and Read Gradient ( #3838 )
...
* New nodes: RGBA to Color, HSVA to Color, Hex to Color, and Read Gradient
* Simplify
2026-02-26 18:22:04 -08:00
Keavon Chambers and gemini-code-assist[bot]
f1cbc4b396
Make the node graph use Table<GradientStops> instead of GradientStops ( #3837 )
...
* Switch from GradientStops to Table<GradientStops> in all nodes
* Remove TaggedValue::ColorNotInTable
* Fix bug
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Add migrations
* Fix default gradient on empty table
* Update demo artwork
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-26 14:07:31 -08:00
Keavon Chambers
81c73d11ff
Clean up duplicated code used for recursively flattening graphic types ( #3836 )
...
* Reduce recusive flattening algorithm duplication
* Generalize further
* Avoid code duplication in the 'Flatten Path' node
* Avoid cloning
* Include intermediate levels of alpha blending composition
2026-02-26 05:36:23 -08:00
Keavon Chambers
cde7d5f951
New nodes: Colors to Gradient, Flatten Color, and Flatten Gradient ( #3835 )
...
* New nodes: Colors to Gradient, Flatten Color, and Flatten Gradient
* Fix Data panel not showing GradientStops
* Fix wrong category
2026-02-26 03:44:12 -08:00
Keavon Chambers
4090f6c980
Tweak short-term roadmap details
2026-02-25 21:40:36 -08:00
Keavon Chambers
e62771845f
Add an in-viewport color picker to the Gradient tool when double-clicking a color stop ( #3834 )
...
* Hide batched blocked debug print messages
* Implement the color picker on double-clicking stops
* Code review
2026-02-25 21:03:12 -08:00
Keavon Chambers and Timon
82cf8eb369
Upgrade Linebender and related dependencies ( #3819 )
...
Co-authored-by: Timon <me@timon.zip >
2026-02-25 19:10:57 +00:00
Keavon Chambers
8117ddcdb3
Add Gradient tool control bar buttons, Reverse Stops and Reverse Direction ( #3830 )
...
* Add Gradient tool control bar buttons, Reverse Stops and Reverse Direction
* Consolidate reused gradient line updating code
2026-02-25 00:48:21 -08:00
Keavon Chambers
b4679b0675
Improve Gradient tool dragging behavior and make hints reactive to current interaction state ( #3828 )
...
* Improve Gradient tool dragging behavior and make hints reactive to current interaction state
* Reduce code duplication for drawing stops
* Fix coordinate system issue when PTZ'ing document during drag or autopan
2026-02-24 22:17:29 -08:00
Keavon Chambers
4a6cdffd84
Add draggable diamond midpoint gizmos to the Gradient tool ( #3826 )
2026-02-24 20:25:15 -08:00
Keavon Chambers
691d965bcf
Add support for gradients with midpoints and add draggable diamonds to the color picker dialog ( #3813 )
...
* Refactor GradientStops to use struct-of-arrays and include midpoint
* Implement interaction and rendering
* Make color picker saturation-value color picking snap to original position and show both axis lines
Make color picker saturation-value color picking snap to original position and show both axis lines
* Add graphite:midpoint attribute to SVG exports
* Add graphite:midpoint parsing to SVG importer
2026-02-23 19:21:51 -08:00
Keavon Chambers
71b4c98de7
Fix logarithmic spiral not drawing if Inner Radius is 0
2026-02-22 13:48:19 -08:00
Keavon Chambers and Dennis Kobert
9f2c8713ff
Add the SVG Preview render mode in place of the Vello option in the preferences ( #3797 )
...
* Remove Vello from preferences
* Add the Render Mode: SVG Preview radio button
* Remove SVG outline renderer
* Add a tooltip explaination when disabled in unsupported browsers
* Fix Eyedropper tool to support Outline render mode
* Use #[allow(clippy::too_many_arguments)] instead of tuple
* Rerun nodegraph when max render area is changed
---------
Co-authored-by: Dennis Kobert <dennis@kobert.dev >
2026-02-22 20:27:26 +00:00
Keavon Chambers
5aca75dcbd
Simplify breadcrumb trail buttons widget styling
2026-02-20 22:50:05 -08:00
Keavon Chambers
7ca6470656
Rename the repeat nodes to replace "Instance" terminology with "Repeat" ( #3794 )
...
* WIP
* Move the Mirror node from the module 'vector' to 'graphic'
* Update demo art
* Fix failing tests
Fix tests
2026-02-20 22:10:59 -08:00
Keavon Chambers
5a1503fc98
New node: Flatten Raster
2026-02-20 13:35:12 -08:00
Keavon Chambers
bd1c54907d
Rename nodes from "Instance ___" -> "Read ___" and "Instance Map" -> "Map Vector" ( #3792 )
...
* Rename nodes from "Instance ___" -> "Read ___" and "Instance Map" -> "Map Vector"
* Update leftover references and demo artwork
* Simplify logic
* Fix test
2026-02-20 08:52:36 +00:00
Keavon Chambers
da278e0264
New node: Map Points
...
Also resolves #3217
2026-02-19 14:37:35 -08:00
Keavon Chambers
258748ec51
Swap the default placement order of Fill and Stroke nodes in layers ( #3789 )
2026-02-19 13:15:11 -08:00
Keavon Chambers
6824f55929
Add hover style to checkboxes when their corresponding labels are hovered
2026-02-18 17:37:34 -08:00
Keavon Chambers
5d5993bcca
Fix opacity not being included in alpha of Fill type when converted from Table<Color> ( #3785 )
...
* Fix opacity not being included in alpha of Fill type when converted from Table<Color>
* Avoid unwrap, I guess
2026-02-18 09:21:02 +00:00
Keavon Chambers
df0c9dcba2
Fix Breadcrumb Trail widget pixel misalignment at non-integer UI scaling
2026-02-15 00:18:10 -08:00
Keavon Chambers
c574f58ecd
Fix debug assert failure from selecting zero-sized objects
2026-02-15 00:01:09 -08:00
Keavon Chambers
8738e59c21
Improve the QR Code node ( #3765 )
2026-02-14 20:53:29 +00:00
Keavon Chambers
1ec75ab213
Add application privacy policy to the website
2026-02-11 19:54:41 -08:00
Keavon Chambers
4cda1ddd29
Update student projects list on the website
2026-02-11 01:35:08 -08:00
Keavon Chambers
390004897b
Add "Loop Level" to the Position context reader node ( #3679 )
...
* Add "Loop Level" to the Position context reader node
* Remove InjectPosition
2026-01-28 10:52:39 +00:00
Keavon Chambers
ea293575e0
Fix inability to click node in catalog, a Svelte 5 regression
...
Closes #3693
2026-01-27 15:25:56 -08:00
Keavon Chambers
84e9d8c192
Prep for the RC3 release of the desktop app
2026-01-26 17:32:58 -08:00
Keavon Chambers
19e9af3d43
Fix 'Apply Transform' node applying only to anchors but not also handles ( #3687 )
2026-01-26 12:32:17 -08:00
Keavon Chambers
3488d5b8e7
Fix color picker's broken gradient stop selection due to Svelte 5 not treating components as classes
2026-01-26 11:50:01 -08:00
Keavon Chambers
a88342b8da
Add the "Rate" multiplier parameter to the Animation Time node ( #3685 )
2026-01-26 00:37:15 -08:00
Keavon Chambers
568831bd2f
Fix regression breaking Into/Convert node type coercion ( #3681 )
2026-01-25 16:26:05 -08:00
Keavon Chambers
781fa7ae95
Move contributor docs editor message structure tree generator from test to tools directory ( #3663 )
2026-01-20 23:53:15 -08:00
Keavon Chambers
7af60e02a3
Add the auto-generated node catalog to the website's user manual ( #3662 )
...
* Generate the MVP node catalog in the manual (with some placeholders)
* Implement nearly the rest of everything
* Move to the tools directory and make it generate nicer default values
* Add category descriptions
* Organize file structure and improve type naming
* Improve book table of contents code
* Add collapsing chapter navigation to the book template
* Add to build workflow
* Clean up site structure
2026-01-20 22:52:03 -08:00
Keavon Chambers
5543afd44b
Clean up old website code and files ( #3658 )
2026-01-19 22:09:51 -08:00
Keavon Chambers
fd0addf61c
Update website to use Zola 0.22 with new code block syntax highlighting
2026-01-18 00:11:12 -08:00
Keavon Chambers
2ffb87c9d2
Bump website npm tooling dependencies ( #3649 )
2026-01-17 16:26:16 +00:00
Keavon Chambers
915a344a05
Bump frontend dependencies to Svelte 5 ( #3648 )
...
* Add more recommended VS Code default configs
* Upgrade frontend dependencies including Svelte 5
* Fix derived_references_self runtime error
* Fix lint warnings
2026-01-17 14:31:50 +00:00
Keavon Chambers
3b55064f44
Add tooltip documentation to the Text node and tidy up node catalog categorization ( #3645 )
...
* Add more node doc comments
* Tidy up node categories
2026-01-16 01:27:56 -08:00
Keavon Chambers
39849c9c02
Simplify Svelte component structure in the window subfolder
2026-01-14 19:06:22 -08:00
Keavon Chambers
20a595db39
Fix a bug where Transform nodes would cause a reversal of the 'Instance Index' node's 'Loop Level' counting direction
2026-01-13 23:15:42 -08:00
Keavon Chambers
1b91198b28
Fix 'Regular Polygon' and 'Star' shapes incorrectly having cubic handles, not linear ( #3606 )
...
Fix shape nodes creating cubic-curved polylines
2026-01-06 20:58:08 -08:00
Keavon Chambers
bd847034f3
Bump year references to 2026
2026-01-06 15:12:55 -08:00
Keavon Chambers
02e3293e72
Prep for the RC2 release of the desktop app
2026-01-06 04:38:52 +01:00
Keavon Chambers
4f4ec7ffff
Add the new AI contribution policy
2026-01-05 17:03:42 -08:00
Keavon Chambers
2fa958aa79
Remove generics from the user-facing name for the Vector data type
2026-01-01 21:26:02 -08:00
Keavon Chambers
fa45efa9e2
New node: Pointer Position ( #3535 )
...
* New node: Pointer Position
* Fix test
2025-12-27 16:02:23 -08:00
Keavon Chambers
4ab75c9c1c
Update the website with end-of-year details
2025-12-25 05:45:56 -08:00
Keavon Chambers
9f25c50ca1
Prep for the RC1 release of the desktop app
2025-12-24 22:45:08 -08:00
Keavon Chambers
63217feac6
Organize the categories of widget component props
2025-12-23 21:23:13 -08:00
Keavon Chambers
6dea184b03
Update the color of scrollbars to match the latest design
2025-12-23 15:13:12 -08:00
Keavon Chambers
2f880fa035
Fix missing artboard layer icon
2025-12-23 14:43:13 -08:00
Keavon Chambers
415d4b578a
Fix markdown tooltips treating Rust type labels as HTML tags
...
Closes #3520 , a regression introduced in #3488 .
2025-12-22 15:23:40 -08:00
Keavon Chambers
9d26c040e9
Box the widget: Widget field of WidgetInstance ( #3506 )
...
Box the `pub widget: Box<Widget>` field of `WidgetInstance`
2025-12-22 04:18:33 -08:00
Keavon Chambers
64ed21f694
Clean up code with better naming
2025-12-21 23:35:00 -08:00
Keavon Chambers
123108c813
Promote vector meshes from experimental by removing it from preferences
2025-12-21 19:33:42 -08:00
Keavon Chambers
d441a02e72
Upgrade Rawkit library Rust dependencies ( #3124 )
...
* Upgrade Rawkit library Rust dependencies
* Continue on sccache failures
* Update again
2025-12-20 17:36:02 -08:00
Keavon Chambers
0a5e65bc9d
Fix the Brush tool being accessible while disabled in preferences
2025-12-20 03:48:41 -08:00
Keavon Chambers
3000519a10
New nodes: 'Reciprocal', 'Angle Between', and 'Angle To'
2025-12-20 02:36:43 -08:00
Keavon Chambers
f1e8ebefc5
Improve tooltip docs with Markdown styling and refined math node explanations ( #3488 )
2025-12-20 01:05:15 -08:00
Keavon Chambers
2c21e1a90b
Desktop: Clean up the UI scale setting in the Preferences dialog
2025-12-20 00:20:50 -08:00
Keavon Chambers
e99f30e633
Stop hover transfer working between rows of Properties panel dropdown menus
2025-12-19 23:45:07 -08:00
Keavon Chambers
2d6d054359
Make font selection show a live preview on hover; move its code to the backend ( #3487 )
...
* Remove FontInput.svelte
* Move font picking to the backend
* Fix Text tool font choice style turning to "-" on font that doesn't support previous style
2025-12-19 22:17:28 -08:00
Keavon Chambers
57055e373e
Add the Graphite Branding License to the website
2025-12-15 18:17:21 -08:00
Keavon Chambers
d6c06da878
Move the MenuBarMessage up from within PortfolioMessage to the root Message ( #3459 )
...
Move the MenuBarMessage up from within PortfolioMessage
2025-12-08 20:49:35 -08:00
Keavon Chambers
90c91db550
Disable the Brush tool by default and add it to preferences under experimental
2025-12-08 04:02:50 -08:00
Keavon Chambers
fb0fab0622
Update links from graphite.rs to graphite.art
2025-12-06 18:10:27 -08:00
Keavon Chambers
5b472a64b2
Remove the "coming soon" dialog and hide not-yet-ready features/tools
2025-12-05 04:17:44 -08:00
Keavon Chambers
74d9c911bd
Fix ShortcutLabel drawing of consecutive key labels
2025-12-04 22:04:37 -08:00
Keavon Chambers
2ee8e56cef
Fix sending platform-specific shortcut keys to frontend before editor is initialized with the platform set
2025-12-04 15:35:30 -08:00
Keavon Chambers
783ea0b437
Unwrap the Layout enum to replace it with the WidgetLayout struct now called Layout ( #3448 )
2025-12-04 15:24:40 -08:00
Keavon Chambers
3c4ad8b720
Refactor the WidgetLayout struct to remove SubLayout and avoid sending LayoutTarget to frontend
2025-12-04 02:44:54 -08:00
Keavon Chambers
4581689d9c
Rename WidgetHolder to WidgetInstance
2025-12-04 01:10:22 -08:00
Keavon Chambers
810ce40e9b
Restyle and refactor shortcut labels to send hints bar and welcome screen layouts from Rust ( #3447 )
...
* Restyle UserInputLabel and refactor its usages to have all input its data sent from Rust
* Replace the welcome screen quick buttons with ones sent by backend
* Add the ShortcutLabel widget to the backend
* Replace hints bar with a backend-controlled layout; show mouse icons in place of mouse labels
2025-12-04 01:04:14 -08:00
Keavon Chambers
6ed42d06bb
Fix horizontal scrolling on Mac when holding Shift ( #3446 )
2025-12-03 20:06:00 -08:00
Keavon Chambers and Timon Schelling
600fb5c28f
Refactor the old menu bar plumbing to use standard TextButtons ( #3444 )
...
* Refactor the old menu bar plumbing to use standard TextButtons
* WIP: Fix Mac native menu bar
* WIP: fix desktop menu bar mac
* Refactor menu bar definitions to use the builder pattern
* WIP: fixup desktop
* cleanup
* fix linux
* Remove dead code that was failing to lint
---------
Co-authored-by: Timon Schelling <me@timon.zip >
2025-12-03 12:41:54 +00:00
Keavon Chambers
e8ebcc2c21
Replace text-only tooltips with custom richly styled tooltips ( #3436 )
...
* Replace the title attribute with custom FloatingMenu tooltips
* Separate tooltip labels and descriptions into two styled blocks
* Move keyboard shortcut tooltips to a separate section at the bottom
* Update shortcut key styling in tooltips and hints bar
* Fix .to_string()
2025-11-30 13:32:58 -08:00
Keavon Chambers
221c2e9b47
Update the user manual's most outdated parts and improve its table styling
2025-11-28 03:00:32 -08:00
Keavon Chambers
8cebde76e2
Add support for RMB/Escape canceling layer drag reordering in the Layers panel ( #3426 )
...
* Add support for RMB/Escape canceling layer drag reordering in the Layers panel
* Disable hover effects on layers during drag; fix insertion line getting cut off at top of stack
2025-11-27 03:10:33 -08:00
Keavon Chambers
ab5c87f017
Hide cursor while dragging number inputs in Safari to approximate PointerLock, and disable it on desktop ( #3425 )
...
* Make pointerlock conditional and opt out on Safari and desktop
* Add Safari workaround
2025-11-27 00:12:58 -08:00
Keavon Chambers
9eb8835bd5
Add the 'Blend Shapes' and 'Origins to Polyline' nodes; generalize the 'Morph' node to >2 states ( #3405 )
...
* New nodes: 'Morph' and 'Multi-Morph'
* Blend Shapes node
* Add the 'Index Points' node
* Fix failing test
2025-11-25 22:17:55 -08:00
Keavon Chambers
d247b81966
Fix regression that reversed indexing of the Loop Level parameter of the 'Instance Index' node ( #3421 )
2025-11-25 21:32:56 -08:00
Keavon Chambers
eb0f019b15
New nodes: 'Reset Transform', 'Replace Transform', 'Count Points', 'Index Points' ( #3420 )
...
- Add the 'Reset Transform' and 'Replace Transform' nodes
- Add the 'Count Points' and 'Index Points' nodes
- Make the 'Index Elements' node support negative indexing from the end
- Make the 'Flatten Vector' node's implementation reusable
- Fix crash displaying 0x0 raster image in the Data panel
- Fix the 'Points to Polyline' node not working on two-point objects
2025-11-25 20:41:59 -08:00
Keavon Chambers and Adam
6e66c79392
Fix 'Mask' node missing Properties widget; fix crash with 'Brightness/Contrast Classic' node ( #3404 )
...
* Fix 'Mask' node missing Properties widget; fix crash with 'Brightness/Contrast Classic' node
Also clean up dead code and improve tooltip for the "-" Properties panel widget fallback.
* format type
---------
Co-authored-by: Adam <adamgerhant@gmail.com >
2025-11-24 09:21:07 +00:00
Keavon Chambers
6a3b098681
Add automatic type conversion from number to Vec2 by splatting ( #3394 )
2025-11-18 11:10:33 +00:00
Keavon Chambers
12453d2e61
Make the welcome screen not include Alt in Ctrl+Alt+N on desktop
2025-11-17 15:26:23 -08:00
Keavon Chambers
ca5785bc8f
Show a "Ctrl +" label instead of "Ctrl =" for View > Zoom In ( #3377 )
2025-11-13 17:24:04 -08:00
Keavon Chambers
ac74bd9903
Allow the Stroke node to receive "Dash Lengths" values from the node graph
2025-11-12 01:14:17 -08:00
Keavon Chambers
e42950b4be
Add support for middle-clicking (and double-clicking) the document tab bar to create a new document ( #3363 )
2025-11-10 00:54:30 -08:00
Keavon Chambers
f5ef1a94fe
Update the website with an evolved roadmap and new product screenshots/videos
2025-11-10 00:06:10 -08:00
Keavon Chambers
6b315c3b68
Modernize and fix website build tooling deps and utilize JS type checking ( #3348 )
...
* Modernize and fix website build tooling deps and utilize JS type checking
* Upgrade to the latest Node.js
2025-11-06 16:30:35 -08:00
Keavon Chambers
96d73a8570
Remove the application title from the header bar
2025-11-06 09:20:51 -08:00