void setup() { size(400, 400); strokeWeight(10); smooth(); background(0); } void draw() { float r = random(0, height); float x = random(0, width); stroke(r, 100); line(random(r), random(width), random(x*2), random(height)); }