/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://dflab.sketchpad.cc/sp/pad/view/ro.Ld$JJwQ-WQ0/rev.166
*
* authors:
* anaritaf
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
// This sketch builds on a prior work, "Exemplo de 1ºexercício", created by anaritaf
// http://dflab.sketchpad.cc/sp/pad/view/ro.9Zi1x$-xeS9mvj/rev.2
void setup() {
size(500,500);
}
void draw() {
background(128);
noStroke();
fill(237,212,175);
ellipse(250,250,200,200);
stroke(201,149,93);
line(250,250,250,275);
fill(46,198,216);
stroke(20,19,124);
ellipse(225,225,35,39);
fill(46,198,216);
stroke(21,106,116);
ellipse(275,225,35,39);
strokeWeight(2);
fill(0);
stroke(237,248,250);
ellipse(225,227,7,18);
strokeWeight(2);
fill(0);
stroke(237,248,250);
ellipse(275,227,7,18);
noFill();
noStroke();
line(30, 20, 80, 5);
line(80, 75, 30, 75);
stroke(201,93,120);
bezier(200,295,mouseX,mouseY,mouseX,mouseY,295,298);
ellipse(mouseX, mouseY, 5, 5);
println(mouseX + " " + mouseY);
stroke(193,84,131);
fill(193,84,131);
triangle(150,180, 250, 20, 350, 180);
stroke(38,252,215);
fill(38,252,215);
ellipse(250,20,40,40);
}