Versions Compared

Key

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

...

Code Block
void setup()
{
  size(300500,300500);
  background(0255);
  noLoop();
}
  
void draw()
{
  stroke(random(100,200))noStroke();
  fill(random(50100,100150),random(500,100),random(150,255));
  strokeWeight(random(1,5));
  ellipse(random(0,width),random(0,height),random(10,100),random(10,100));
}
  
void mousePressed()
{
  redraw();
}

...