I'm wondering if someone can tell me why the code below generates the first image I've included, whereas if I include P3D in the size function, it generates the second image. As far as I can tell, I'm not using any functions that depend on 3D info.
- void setup() {
- size(300, 300);
- background(255);
- smooth();
- noLoop();
- curveDetail(100);
- }
- void draw() {
- for (int i=0; i<50; i++) {
- curve(0-(i*i), height/4, 0, 0, width, height, width+(i*i), ((height/4)*3));
- }
- }
1