void setup() { size(800, 800); colorMode(HSB, 360,100,100); strokeWeight(1); noFill(); smooth(); frameRate(200); background(255,0,100); } float x = 600; float y = 600; float bc = 200; void draw(){ float c = random(300,500); float d = random(300,500); float a = random(-200,200); float b = random(-200,200); float rancon = random(0,100); if (rancon < 2){ x = random(800); y = random(800); bc = random (200,250); } // float bc = map(x,00,800,100,180); float bcc = map(c,300,500,25,100); stroke(bc,50,bcc,50); bezier (400,400,c,d,400,400,x,y); } void keyPressed(){ save("output.tif"); }