*Homero J. Simpson*
Retrato En Processing
¿Cómo Hacerlo?
Retrato En Processing
¿Cómo Hacerlo?
//cubilicus
void setup () {
size (360,460);
background (0,185,255);
}
void draw () {
//cabeza homero
noStroke ();
fill (255,255,0);
quad (80,100,280,100,280,320,80,320);
fill (255,255,0);
quad (120,260,280,260,280,440,120,440);
//cuello
fill (255,255,0);
ellipse (180,100,200,160);
//cabello homero
stroke (45);
fill (0,0,0);
line (275,170,250,120);
fill (0,0,0);
line (275,120,250,170);
fill (0,0,0);
line (295,170,270,120);
fill (0,0,0);
line (295,120,270,170);
//ojos
stroke (45);
fill (255,255,255);
ellipse (85,155,80,80);
fill (255,255,255);
ellipse (160,155,80,80);
smooth ();
fill (0,0,0);
ellipse (75,143,28,28);
fill (0,0,0);
ellipse (153,143,28,28);
//nariz
noStroke ();
fill (255,255,0);
rect (45,188,150,40);
fill (255,255,0);
ellipse (45,208,40,40);
//boca
fill (184,156,97);
ellipse (115,280,140,110);
fill (0,0,0);
ellipse (65,280,40,40);
stroke (5);
//oreja
noStroke ();
fill (255,255,0);
ellipse (275,205,60,60);
}
void setup () {
size (360,460);
background (0,185,255);
}
void draw () {
//cabeza homero
noStroke ();
fill (255,255,0);
quad (80,100,280,100,280,320,80,320);
fill (255,255,0);
quad (120,260,280,260,280,440,120,440);
//cuello
fill (255,255,0);
ellipse (180,100,200,160);
//cabello homero
stroke (45);
fill (0,0,0);
line (275,170,250,120);
fill (0,0,0);
line (275,120,250,170);
fill (0,0,0);
line (295,170,270,120);
fill (0,0,0);
line (295,120,270,170);
//ojos
stroke (45);
fill (255,255,255);
ellipse (85,155,80,80);
fill (255,255,255);
ellipse (160,155,80,80);
smooth ();
fill (0,0,0);
ellipse (75,143,28,28);
fill (0,0,0);
ellipse (153,143,28,28);
//nariz
noStroke ();
fill (255,255,0);
rect (45,188,150,40);
fill (255,255,0);
ellipse (45,208,40,40);
//boca
fill (184,156,97);
ellipse (115,280,140,110);
fill (0,0,0);
ellipse (65,280,40,40);
stroke (5);
//oreja
noStroke ();
fill (255,255,0);
ellipse (275,205,60,60);
}

2 comentarios:
http://www.isea2008singapore.org/exhibitions/air_run.html
etch-a-sketch fisico basado en arduino y processing
http://www.sistemasinteractivos.cl/blog/?p=4
Publicar un comentario