This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Cyrus Cheng
Posted Feb 15 - Read on Facebook

Does have anyway to draw a Bézier curve in framer?
Any references can be recommend?

4 Comments

Joshua Tucker

What do you mean by draw? Are you referring to an animation?

Cyrus Cheng

I want realize an circle's some by part change Event.drag...

Joshua Tucker

Sorry I'm still misunderstanding. You can say animate the circle with "bezier(p1, p2, p3, p4)".

Cyrus Cheng

I mean that,in the first,i want creat an circle,like this(this code is not correct in framer):
sp1=new Layer
x:0,y:0,width:640,height:1136,backgroundColor:"#ffffff"

c=document.getElementById("myCanvas")
ctx=c.getContext("2d")
ctx.beginPath()
ctx.moveTo(20,20)
ctx.bezierCurveTo(20,100,200,100,200,20)
ctx.stroke()

i don't knowit the correct code to make

Read the entire post on Facebook