Skip to content

feat: add Shape Pen with live recognition and grid snapping - #392

Merged
devmobasa merged 2 commits into
mainfrom
feat/391-live-shaping
Sep 25, 2026
Merged

devmobasa merged 2 commits into
mainfrom
feat/391-live-shaping

Conversation

@devmobasa

Copy link
Copy Markdown
Owner

Add Shape Pen so users can draw common shapes without switching between dedicated tools.

Closes #391

  • Preview recognized strokes while drawing and commit them as editable lines, circles, ovals, or axis-aligned rectangles. Ambiguous strokes remain freehand.
  • Snap lines near Cartesian or isometric board-grid lines. Nearly horizontal or vertical strokes align to that axis; other straight lines retain their angle.
  • Add recognition sensitivity from 0 (precise) to 4 (forgiving), defaulting to 2, in configuration and the configurator’s Drawing page.
  • Expose Shape Pen through the toolbar’s Shapes picker, command palette, and an optional select_live_shape_tool keybinding.
  • Add regression tests for recognition, previews, freehand fallback, grid snapping, sensitivity, and configuration round-tripping.

@devmobasa
devmobasa merged commit f2c69ed into main Sep 25, 2026
3 checks passed
@devmobasa
devmobasa deleted the feat/391-live-shaping branch September 25, 2026 18:29
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.

[FEATURE] Live Shaping tool

1 participant