Gradient fills in the design engine
Shapes in the design canvas can now carry linear and radial gradient fills, rendered directly in the SDF shader rather than rasterized on the CPU. Two-stop gradients are available today, with arbitrary multi-stop ramps following shortly.
This builds on the from-scratch Rust + wgpu engine that compiles to WebAssembly, so the same fill renders identically on the desktop app and on the web.
What changed
- Linear and radial gradient fills on any shape, evaluated per-pixel on the GPU.
- Gradient angle and center handles update live as you drag.
- Strokes respect weight and alignment alongside the new fills.
We are working toward full multi-stop ramps and gradient transforms next.