Bezier Curve
Posted: Sat May 05, 2012 1:50 pm
Hi.
How to draw the Bezier Curve in Love2D?
Thanks for replies.
How to draw the Bezier Curve in Love2D?
Thanks for replies.
Code: Select all
function cubic(a, b, c, d, t)
return (((1-t)^3)*a + 3*((1-t)^2)*t*b + 3*(1-t)*(t^2)*c + (t^3)*d)
end
The library is called LÖVE or Löve. love2d is used only for site domainArthes wrote:How to draw the Bezier Curve in Love2D?