/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://dflab.sketchpad.cc/sp/pad/view/ro.GYUUMwTu6fa/rev.221
*
* authors:
* InĂªs Rego
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
void setup() {
size(640, 360);
noSmooth();
fill(0,0,0,70);
background(0);
}
void draw() {
if (mousePressed)
fill(255,255,255,90);
else
fill(random(250),random(250),random(255));
//stroke(random(255),0,0);
//line(mouseX-10, mouseY, mouseX+10, mouseY);
//line(mouseX, mouseY-10, mouseX, mouseY+10);
//point(mouseX,mouseY);
noStroke();
ellipse (mouseX-1,mouseY,mouseX+1,mouseY);
}