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 › convert 'curve' to 'bezier'
Page Index Toggle Pages: 1
convert 'curve' to 'bezier' (Read 395 times)
convert 'curve' to 'bezier'
May 13th, 2008, 3:55pm
 
Hi, i would like to know if it was possible to convert a curve into a bezier.
Thanks
Re: convert 'curve' to 'bezier'
Reply #1 - May 13th, 2008, 6:44pm
 
1) Why?
2) Do you have a more precise example of what you want to do?
3) Both are different specializations of <a href="http://en.wikipedia.org/wiki/Spline_curve">spline curves</a>. I guess you can approximate one with the other, but except in simple cases, they won't be identical. I can be wrong, though.
Re: convert 'curve' to 'bezier'
Reply #2 - May 13th, 2008, 7:05pm
 
In fact, i want to convert my processing script to java script. I found how to convert bezier curves, but since i also need curve, i wanted to know if it was possible to convert these curves to besier curves.
Tell me if i'm clear, sory, i'm doing my best Smiley
Page Index Toggle Pages: 1