Miguel Angel Adofacci - Trama Bidimensional Móvil
De Casiopea
Título | Trama Bidimensional Móvil |
---|---|
Asignatura | Imagen Escrita |
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., Interacción y Servicios"Interacción y Servicios" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property. |
Nº | 3 |
Alumno(s) | Miguel Angel Adofacci |
<processingjs>
int a, b; int space = 10;
void setup() {
size(500, 500);
}
void draw() {
background(255); strokeWeight(0.5); for (a= 0; (a*space)+(mouseX)<500; a++) { for (b=0; (b*space)+(mouseY)<500; b++) { line(0, (a*space)+(mouseX), width, (a*space)); line((b*space)+(mouseY), 0, (b*space), height); } }
}
</processingjs>