Natalia Garcia Trama 2D
De Casiopea
Título | Trama 2D |
---|---|
Asignatura | Imagen Escrita 2017 |
Del Curso | Imagen Escrita 2017 |
Carreras | Diseño Gráfico"Diseño Gráfico" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property. |
Nº | 3 |
Alumno(s) | Natalia Garcia |
<processingjs> void setup(){
size(700, 700); smooth();
} int ntdo= 10; int play= 2;
void draw(){
background(#50FFE0); for (int m=1; m<=100; m++){ // x = x+1 for( int n=1; n<=5; n++){ strokeWeight(1); stroke (#7ABEE2); line (ntdo+m*play, ntdo+n*play, m*mouseX/PI, n*mouseY/PI); } } for (int o=1; o<=100; o++){ for( int p=1; p<=5; p++){ strokeWeight(2); stroke (#72ACE5); line (ntdo+o*ntdo, play+p*play, o*mouseX/PI, p*mouseY/PI); } } saveFrame ("1000líneas.jpg");
}
</processingjs>