Miguel Angel Adofacci - 1000 Líneas - Interacción
De Casiopea
Título | 1000 Líneas - Interacción |
---|---|
Del Curso | Imagen Escrita 2017 |
Carreras | Diseño, Diseño Industrial"Diseño Industrial" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property. |
Nº | 2 |
Alumno(s) | Miguel Angel Adofacci |
<processingjs>
int len =80; int x = (len/2);
void setup() {
size(500, 500); strokeWeight(0.5);
}
void draw() {
background(255); translate(width/2, height/2);
for (int i = 0; i<500; i++) { line(-(width/3)-x, 0, -(width/3)+x, 0);
line(-(width/3), -(height/3)-x, 0, (height/3)+x); // rotate(radians(500/360)); rotate(radians((map(mouseX, 0, 500, 0, 500) )/500)); //para variable stroke(map(mouseX, 0, 500, 255, 0), 0, map(i, 0, 500, 0, 255)); }
}
</processingjs>
int len =80; int x = (len/2); void setup() { size(500, 500); strokeWeight(0.5); } void draw() { background(255); translate(width/2, height/2); for (int i = 0; i<500; i++) { line(-(width/3)-x, 0, -(width/3)+x, 0); line(-(width/3), -(height/3)-x, 0, (height/3)+x); // rotate(radians(500/360)); rotate(radians((map(mouseX, 0, 500, 0, 500) )/500)); //para variable stroke(map(mouseX, 0, 500, 255, 0), 0, map(i, 0, 500, 0, 255)); } }