Blob: to record the changes of points and point controls while interactiing with the blob

Assume that i use new Blob().center(); I will be able to change and drag points from one position to another. Is there a way to click a button to start to record the position changes of the points and to stop recording, we can then get a sort of code that resume the manual animation?

There is nothing built in but it is quite close. Make an array points=; Use an interval to points.push(blob.getPoints()); When you are done in an interval that collects the interval object obj, use blob.setPoints(points[obj.count]) or something like that.

Yes. Thank you.

1 Like