int x = 50; int u = 300; float a = .2; void setup() { size(300,300); background(0); fill(255,20); noStroke(); smooth(); noLoop(); } void draw() { Curlicue (x, u, a); } void Curlicue(int xpos, int units, float angle) { translate(xpos, 0); for (int i = units; i > 0; i--) { bezier(xpos, 0, 500-xpos, xpos, 500, 500-xpos, 500, xpos); rotate(angle); } }