Repository navigation
Add brush presets, textured tips, pressure response and stabilization - #149
Merged
Merged
Conversation
IAmJSD
force-pushed
the
pr/brush-workflows
branch
from
September 19, 2026 20:57
e20e60e to
0c718fa
Compare
IAmJSD
force-pushed
the
pr/brush-workflows
branch
from
September 20, 2026 09:13
0c718fa to
f6667ad
Compare
IAmJSD
force-pushed
the
pr/brush-workflows
branch
from
September 20, 2026 09:14
f6667ad to
ce4a73b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-workflowspassed 43 tests;make check-brush-workflowspassed 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.