Bezier Curve

Where can I get the C code for a Bezier curve generator?
Please advice.

Thank you.
Zainal062797Asked:
Who is Participating?
 
vlad_impalaConnect With a Mentor Commented:
Okay - here my comment as an answer.
Now that I have submitted this as an answer you shall be able to grade it when you accept it.

There is a Java Applet with source code at
http://www.math.ucla.edu/~baker/java/hoefer/Bezier.htm 

You may find Java easier to convert to C.

Vlad.
0
 
n1875621Commented:
I might be able to get the pascal code, you right to translate?
0
 
Zainal062797Author Commented:
Okay.. That is fine. But can you add some comments on how to use it? Like what are that we are passing to the function, and what we are getting from the function exactly? Any additional comments would be appreciated.
Note that I don't want the function to draw the curve, I just want it to generate the points and store them in an array.

Thank you.
Aiman.

0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
vlad_impalaCommented:
There is a Java Applet with source code at
http://www.math.ucla.edu/~baker/java/hoefer/Bezier.htm

You may find Java easier to convert to C.

Vlad.
0
 
Zainal062797Author Commented:
Thank you....
However, can you send me the Pascal code as well.. Cause I am not familiar with Java at all...

Thank you..
Aiman.

0
 
Zainal062797Author Commented:
Thanks...
I could convert it  to C code..
Thank You very much!!

Aiman.

0
 
vlad_impalaCommented:
What do you want to do with the question?
Would you like to accept one of the comments as an answer?
If this is the case post a comment indicating which comment you would accept as the answer.

Vlad.
0
 
Zainal062797Author Commented:
Yes.. I am accepting one of the comments. It is the second one, which refers to the Java code atr UCLA.
If you want me to grade you, please send me the grade form.


Thank you.
0
All Courses

From novice to tech pro — start learning today.