Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java 2D bezier curves

843807Mar 28 2009 — edited May 20 2009
Hi,
I've been told to write the code that allows you to interactively control a bezier curve by dragging the control points in applet.
Now, I can write the code for this to draw a normal cubic curve with the usual two control points, but what I've been told to do is to allow my bezier curve to be longer by allowing it to have more than two control points (4-5). What I believe I have to do is to make another cubic curve, and somehow link the end point of the first bezier curve to the start point of the second bezier curve. But I'm not sure if this is the right thing to do. I would greatly appreciate it if someone could point me in the right direction.

Many thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2009
Added on Mar 28 2009
1 comment
258 views