miércoles, 31 de agosto de 2011

ejercicio de lineas - Diamante

size(200,200); 
background(0);

stroke(#999933);
line(70,60,130,60);
line(60,80,70,60);
line(140,80,130,60);
//---------------------superior

line(70,60,80,80);
line(80,80,90,60);
line(90,60,100,80); 
line(100,80,110,60);
line(110,60,120,80);
line(120,80,130,60);
line(60,80,140,80);
//---------------------zig-zag

line(60,80,100,140);
line(140,80,100,140);
line(80,80,100,140);
line(100,80,100,140);
line(120,80,100,140);
//----------------------inferior

stroke(#FFFFCC);
line(120,50,140,70);
line(130,50,130,70);
line(120,70,140,50);
//-----------------------brillo

No hay comentarios:

Publicar un comentario