We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Curve between two points
Page Index Toggle Pages: 1
Curve between two points (Read 574 times)
Curve between two points
Mar 23rd, 2010, 12:25pm
 
Hi, sure my question will be simple, but i can't resolve
given two points how to calculate a Curve between them, and draw the curve line, this draw will be point by point or what ever can be
Thanks a lot
Re: Curve between two points
Reply #1 - Mar 23rd, 2010, 12:47pm
 
Take a look at
curve()
bezier()

You can't calculate a curve with two points... you need at least three.  Start point, end point, and then the arc point.  I think in most cases you need four points (two arch points).
Re: Curve between two points
Reply #2 - Mar 23rd, 2010, 1:28pm
 
i think it would be by the third minium point velocity, could be¿
Page Index Toggle Pages: 1