i want to manipulate a point within a svg path with framer. I have used paper.js and created the following code. I want to drag a layer and assign its position to a point within a svg path.
Hope you can help me.Thanks!
Hey Kai, experimented a bit with Paper.js and got it to work with Dragging Events. The coordinates are assigned as points to the path, then simplified for smoothness. Hope this helps a bit. Fun stuff. :)
i've got it to work. Thanks!
Benjamin Den Boer How would you go about animating a layer along that path? preferably with custom animation options
why it can't work when i write the same codes in my framer?
hi, you have write point.om instead of point.on
Cyrus Cheng make sure you create a canvas element in the index.html of the prototype, too. :-)
But i can't see u index.html's canvas element in u code,it can read index.html file automatic?
The canvas element needs to be added to the index.html within the .framer folder - not within the app.coffee (which is the code you see within Framer Studio).
Benjamin Den Boer is this still possible in the updated Framer Studio? I followed the steps for both the .coffee and .html, without success. any chance you can share the code?