> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://studio.sketchpad.cc/sp/pad/view/ro.-AsAIUIkh9s/rev.198
 * 
 * authors: 
 *   caleb mascarenhas

 * license (unless otherwise specified): 
 *   creative commons attribution-share alike 3.0 license.
 *   https://creativecommons.org/licenses/by-sa/3.0/ 
 */ 



//objetivo: fazer movimento do monstro reagir ao som
//alterar exemplo da biblioteca minimin - linhas
//utilizar função fft fast fourier transformation - transformada rápida de fourier


size(400,400);
background(#730979);
noStroke();
smooth();
//corpo cabeça
fill(255,0,0);
arc(width/2,height- height/4, 200, 400,PI,2*PI);
/*2 olhos
//olhos
fill(255);
ellipse(width/2-50, height/2-50, 30,20);
ellipse(width/2+50, height/2-50, 30,20);

//pupilas
fill(255,0,0);
ellipse(width/2-50, height/2-50, 15,15);
ellipse(width/2+50, height/2-50, 15,15);

//bolinha do olho
fill(0);
ellipse(width/2-50, height/2-50, 5,5);
ellipse(width/2+50, height/2-50, 5,5);
*/
//1 olho

fill(255);
ellipse(width/2, height/2-50, 95,50);

//pupilas
fill(255,0,0);
ellipse(width/2, height/2-50, 55,48);


//bolinha do olho
fill(0);
ellipse(width/2, height/2-50, 10,10);

//boca
fill(0); 
arc(width/2, height/2+10,110,100,0,PI);