Open ff6347 opened 8 years ago
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
As mentioned in #50 A
lerp
like function to tween/interpolate between shapes.Possible problems: