Loading...
Logo
Processing Forum

Help with beziers

in Programming Questions  •  1 years ago  
Dear interested readers,


I would like to make a beziershape out of the next code:

http://processingjs.nihongoresources.com/bezierinfo/sketchsource.php?sketch=interpolatedCubicOffsetsWithDistance

Wich points should I use to make a path of the lines?

 Hope someone can help me with this.

Kind regards,


Joshua Koomen

Replies(2)

Re: Help with beziers

1 years ago
If you comment out the broken line

// textFont(createFont("Arial", 10));

and run the sketch, it's pretty obvious from looking at the numbers it is displaying.

I'm guessing this is for a homework assignment.  Am I right?  

I love helping people with homework assignments.
Thanks, but you are wrong at a few points. I need the numbers for the green line (the interpolated) and it's no homework. Just something I want to implement for software to make shapes for type. I knew about the textfont, but thanks for the reminder. I want to make a true bezier shape of the code, so that's why I need to know how to get the coordinates of the green "bezier" that's not a bezier yet.

Hope you can help me. Thanks in advance,

Joshua