Skip to content

Add brush presets, textured tips, pressure response and stabilization - #149

Merged
IAmJSD merged 1 commit into
mainfrom
pr/brush-workflows
Sep 20, 2026
Merged

IAmJSD merged 1 commit into
mainfrom
pr/brush-workflows

Conversation

@IAmJSD

@IAmJSD IAmJSD commented Sep 19, 2026 •

Copy link
Copy Markdown
Member

Add a Preset panel for Brush, Pencil and Eraser with named save/update/delete workflows. Presets retain size, hardness, opacity, spacing, scattering, procedural grain/bristle tips, pressure response and distance-based stroke stabilization across restarts on desktop and browser.

Stroke sampling interpolates tablet pressure, flushes the stabilized tail on release, keeps scattering deterministic and preserves selection clipping and one-stroke undo. This first version uses procedural tips; bitmap brush-pack import, pressure-controlled opacity and tilt rotation are outside its scope. See docs/brushes.md.

Validation: make test-brush-workflows passed 43 tests; make check-brush-workflows passed editor compilation. Regression coverage includes event batching, stationary pressure updates, release/cancel, preset validation and persistence.

Stack position 2/7. Base: pr/live-stack-transforms; review and merge after the preceding PR.

Depends on #148.

The combined seven-feature stack passed the native app build (make app PROFILE=debug), native and wasm checks, focused feature tests, make check-i18n, rustfmt, and strict Clippy across changed crates. The required Vulkan transform regression and desktop canvas smoke also passed. Each PR head passed formatting independently. Cross-platform CI results are reported in the checks below.

@IAmJSD
IAmJSD added this pull request to stack #155 September 20, 2026 08:29
Base automatically changed from pr/live-stack-transforms to main September 20, 2026 09:14
@IAmJSD
IAmJSD merged commit e961af7 into main Sep 20, 2026
1 of 5 checks passed
@IAmJSD
IAmJSD deleted the pr/brush-workflows branch September 20, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant