/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://bard117f12.sketchpad.cc/sp/pad/view/ro.Zh5xUatPXuL/rev.10
*
* authors:
* Sadiki Lewis
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
int cx, cy;
void setup(){
size(350, 350);
smooth();
}
void draw(){
background(24);
background(frameCount%500,175,250);
ellipseMode(CENTER);
int dx = (mouseX - cx);
int dy = (mouseY - cy);
cx = cx + dx/2;
cy = cy + dy/2;
ellipse(cx, cy, 100, 125);
ellipse(cx-20,cy-20,25,50);
ellipse(cx+20, cy-20,25,50);
ellipse(cx, cy+45,15,10);
}