Skip to content

Add proportional editing to the Path tool #2556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 46 commits into
base: master
Choose a base branch
from

Conversation

singhutsav5502
Copy link
Contributor

@singhutsav5502 singhutsav5502 commented Apr 11, 2025

Adds Proportional Editing Mode

Functionality similar to Blenders Proportional Edit tool ported to Graphites 2D implementation.

Alt + P to toggle Proportional Editing mode.
Mouse Scroll Up/Down to increase/decrease Influence Radius.
Integrate with GRS tool.

Introduces 8 falloff types:

  1. Constant
  2. Linear
  3. Sharp
  4. Root
  5. Sphere
  6. Smooth
  7. Random
  8. Inverse Square

Closes #2557

@Keavon
Copy link
Member

Keavon commented Apr 11, 2025

!build

Copy link

📦 Build Complete for 3303996
https://ffda505b.graphite.pages.dev

@Keavon
Copy link
Member

Keavon commented Apr 11, 2025

A few notes:

  • It should work with G/R/S
  • It should apply to the original drag starting location's range of points, not a continuously updating range of points (see comparison videos below)
  • It should only show the influence circle when dragging, not always when the feature is enabled

https://files.keavon.com/-/MiniatureDisguisedScarletibis/capture_34_.mp4 vs. https://files.keavon.com/-/SlipperyStridentCaiman/capture_35_.mp4

@Keavon
Copy link
Member

Keavon commented Apr 12, 2025

!build

Copy link

📦 Build Complete for 4c15fea
https://8e2c8c2e.graphite.pages.dev

@singhutsav5502
Copy link
Contributor Author

Hi, Still working on the integration with transformation.rs for the GRS functionality.

@Keavon
Copy link
Member

Keavon commented Apr 13, 2025

!build

Copy link

📦 Build Complete for d60f6ea
https://550fd3ac.graphite.pages.dev

…late falloff factor even after original select has been moved ( useful when radius changes ), selection center remains centered based on the average original selection even when radius is changed
@Keavon Keavon changed the title Add Proportional editing feature to Path Tool Add the Proportional Editing feature to Path Tool Apr 13, 2025
@Keavon
Copy link
Member

Keavon commented Apr 13, 2025

!build

Copy link

📦 Build Complete for b35d2a1
https://86f25568.graphite.pages.dev

@Keavon Keavon changed the title Add the Proportional Editing feature to Path Tool Add proportional editing to Path Tool Apr 13, 2025
@Keavon Keavon changed the title Add proportional editing to Path Tool Add proportional editing to the Path tool Apr 13, 2025
@Keavon
Copy link
Member

Keavon commented Apr 15, 2025

!build

Copy link

📦 Build Complete for f8a61c6
https://28714f29.graphite.pages.dev

@Keavon
Copy link
Member

Keavon commented Apr 15, 2025

!build

Copy link

📦 Build Complete for 9e9effb
https://22249c5c.graphite.pages.dev

@Keavon Keavon marked this pull request as draft April 20, 2025 07:41
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.

Proportional editing mode
2 participants