float xoff = 0.0; float xincrement = 0.01; float timer; int W, H; boolean online; void setup() { if (online == false) { W = 800; H = 300; } else { W = 600; H = 200; } size(W,H); smooth(); frameRate(30); noStroke(); background(255); } void draw() { timer++; if (timer < 1000) { fill(255, 30); rect(0,0,width,height); float n = noise(xoff)*100; xoff += xincrement; fill(#2E3191); ellipse(W/4,H/2,n,n); } }