Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
void setup()
{
  size(500,500);
  background(255);
  noLoop(fill(255);
  stroke(0);
}
   
void draw()
{
  noStroke();
  //fill(random(100,150),random(0,100),random(150,255));
  float size = random(10,100);
  ellipse(random(0,width),random(0,height),random(10,100),random(10,100));
}
  
void mousePressed()
{
  redraw(size,size);
}