/* Animation of string art creation. */ int gap = 5; int k; void setup() { size(400,400); background(255); frameRate(20); // 60 is the default k = 0; } void draw() { line(0, k*gap, k*gap, height); k++; }