float radius; size(300,300); for(int i=0; i<10000; i++) { line(random(width),random(height), random(width),random(height)); radius=random(30); ellipse(random(width),random(height), radius,radius); }