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

interpolation of poly points #57

Open
ff6347 opened this issue Jul 18, 2016 · 1 comment
Open

interpolation of poly points #57

ff6347 opened this issue Jul 18, 2016 · 1 comment
Assignees
Labels
plugin idea for a plugin / relates to a plugin
Milestone

Comments

@ff6347
Copy link
Member

ff6347 commented Jul 18, 2016

As mentioned in #50
A lerp like function to tween/interpolate between shapes.

Possible problems:

  • number of pathPoints
@ff6347 ff6347 added the feature label Jul 18, 2016
@ff6347 ff6347 added this to the Features milestone Jul 18, 2016
@trych
Copy link
Contributor

trych commented Jul 20, 2016

Ok, I just started to work on this, I have a first draft now that does simple linear interpolation of shapes and their appearance (strokeWeight, tint etc.). At the moment it seems to do alright with "straight corners". For curved path points … not so much. ;)
Will look more closely into this soon, but I am optimistic.

Note: this is heavily WIP and has a lot of bugs still. In case you are still interested you can find the branch (including the WIP example script that I used for the screen shot) here: https://github.com/trych/basil.js/tree/lerpShape

bildschirmfoto 2016-07-20 um 02 29 15

@trych trych self-assigned this Nov 11, 2016
@trych trych added plugin idea for a plugin / relates to a plugin and removed feature labels Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin idea for a plugin / relates to a plugin
Projects
None yet
Development

No branches or pull requests

2 participants