Skip to content

Conversation

@flekschas
Copy link
Owner

This PR improves the brush selection

Description

What was changed in this pull request?

  1. Loops don't negate the selection. I.e., points that fall within the overlapping area of a loop are properly selected
  2. Smooth the brush normal to avoid too jittery brush

Why is it necessary?

Because this is cool

Example

Screen.Recording.2025-02-13.at.9.03.47.AM.mp4

Checklist

  • Provided a concise title as a semantic commit message (e.g. "fix: correctly handle undefined properties")
  • CHANGELOG.md updated
  • Tests added or updated
  • Documentation in README.md added or updated
  • Example(s) added or updated
  • Screenshot, gif, or video attached for visual changes

@flekschas flekschas merged commit 0b3ce0b into main Feb 13, 2025
2 checks passed
@flekschas flekschas deleted the flekschas/improve-brush-selection branch February 13, 2025 14:14
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.

2 participants