// global variables float x,y; void setup() { size(300,300); } void loop() { myFunction(); } void myFunction() { float rad; rad=random(20)+20; ellipse(random(width),random(height), rad,rad); }