//A2-11_ Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging. //setup method void setup() { size (350,350); smooth (); fill (240,50,0); } //draw method void draw(){ background (0); if (mousePressed ==true){ } else { ellipse(mouseX-15,mouseY-15,45,45); } } //method that draws when mouse is clicked and holded void mouseDragged (){ drawMyEllipse(); } //method that draws a reluctant circle void drawMyEllipse() { background (0); fill(240,50,0); pushMatrix(); rotate(radians(random(0,15))); translate(mouseX-10,mouseY-10); ellipse(0,0,45,45); popMatrix(); }