Sharp corners in beginShape with curveVertex
in
Programming Questions
•
1 year ago
Hi everyone,
I've looked around the forums, and so far I have not been able to find a relevant solution to my problem. I'm working on a program that generates an Alexander Calder image when typing "alexander calder mobile."
When using curveVertex within beginShape, I continue to get a sharp non-curved corner where the shape is closed. Does anyone know how to maintain a continually curved shape?
This is a sample of my code, but I could post more if that would help.
- void shape16(){
- beginShape();
- curveVertex( 270.0, 296.0 );
- curveVertex( 270.0, 296.0 );
- curveVertex( 272.0, 269.0 );
- curveVertex( 360.0, 213.0 );
- curveVertex( 394.0, 299.0 );
- curveVertex( 270.0, 296.0 );
- scale(.25);
- fill(255,0,0);
- noStroke();
- endShape();
- }
Thank you for any assistance!
1