Creating Curves with an ArrayList
in
Programming Questions
•
1 year ago
Hi,
I'm trying to create curves using the CurveVertex command, however there doesn't seem to be anyway around this construction for Curves that are longer than just a few control points:
beginShape();
curveVertex(40, 40);
curveVertex(40, 40);
curveVertex(80, 60);
curveVertex(100, 100);
curveVertex(60, 120);
curveVertex(50, 150);
curveVertex(50, 150);
endShape();
Is there anyway to create curves using a loop so that the curve can be exactly as long as the array?
Thanks
Devin
1