Skip to content
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

Feature Request: Split exiting command into two #102

Open
sunnygoyal opened this issue Mar 15, 2023 · 0 comments
Open

Feature Request: Split exiting command into two #102

sunnygoyal opened this issue Mar 15, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sunnygoyal
Copy link

Following up on issue #99 since it was closed based on wrong context.

Provide ability to split a command into two, by inserting a new point in the middle.

For example, if the command is h 10 it should become h 5 h 5.
Optionally provide an option so that user can control the split ration (or default to half split)

For reference, bezier curve can be split using the following method:
https://stackoverflow.com/questions/18655135/divide-bezier-curve-into-two-equal-halves

This is useful when trying to match two path commands for morphing.

@Yqnn Yqnn added the enhancement New feature or request label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants