Return to Snippet

Revision: 27360
at June 3, 2010 08:22 by Homitsu


Initial Code
//Ambiente
void setup(){
size(300,300);
smooth();
}

//Loop
void draw(){
background(255);

noStroke();
fill(#CE9417);
ellipse(mouseX,mouseY,100,100);//testa di gatto
stroke(#A54C11);
fill(#CE6017);
triangle(mouseX-25,mouseY-75,mouseX-40,mouseY-50,mouseX,mouseY-50);//orecchio sx
triangle(mouseX+25,mouseY-75,mouseX,mouseY-50,mouseX+40,mouseY-50);//orecchio dx

stroke(#3B1902);
line(mouseX-100,mouseY-20,mouseX-20,mouseY);//1° baffo sx
line(mouseX+100,mouseY-20,mouseX+20,mouseY);//1° baffo dx
line(mouseX-100,mouseY+20,mouseX-20,mouseY);//2° baffo a sx
line(mouseX+20,mouseY,mouseX+100,mouseY+20);//2°baffo a dx

noStroke();
fill(#779B2A);
ellipse(mouseX-15,mouseY-15,10,10);//occhio sx
ellipse(mouseX+15,mouseY-15,10,10);//occhio dx
}

Initial URL
http://www.isiaurbino.net/mathema/?p=567

Initial Description
Sketch realizzato nel 2010 da Valentina Rachiele e Davide Homitsu Riboli per gli studenti ISIA Urbino nell'ambito del corso "Matematica per il Design.

Initial Title
Ancora sul drag

Initial Tags

                                

Initial Language
Processing