Diferencia entre revisiones de «Paul Guitard: Paint - Array»
De Casiopea
(Página creada con '{{Proyecto |Título=Pizarra - Paint Con Array |Tipo de Proyecto=Proyecto de Curso |Palabras Clave=tarea 5 |Año de Inicio=2012 |Carreras Relacionadas=Diseño Gráfico, Diseño I...') |
Sin resumen de edición |
||
Línea 5: | Línea 5: | ||
|Año de Inicio=2012 | |Año de Inicio=2012 | ||
|Carreras Relacionadas=Diseño Gráfico, Diseño Industrial | |Carreras Relacionadas=Diseño Gráfico, Diseño Industrial | ||
|Asignaturas Relacionadas=Taller Inicial Común 1ª y 2ª Etapa, | |Asignaturas Relacionadas=Taller Inicial Común 1ª y 2ª Etapa, | ||
|Cursos Relacionados=Imagen Escrita 2012, | |Cursos Relacionados=Imagen Escrita 2012, | ||
|Profesor=Herbert Spencer, | |Profesor=Herbert Spencer, | ||
|Alumnos=Paul Guitard, | |Alumnos=Paul Guitard, | ||
|Imagen=Kai11.png | |||
}} | }} | ||
<pre> | <pre> |
Revisión actual - 02:03 31 may 2012
Título | Pizarra - Paint Con Array |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 5 |
Período | 2012- |
Asignatura | Taller Inicial Común 1ª y 2ª Etapa, |
Del Curso | Imagen Escrita 2012, |
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., 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. |
Alumno(s) | Paul Guitard |
Profesor | Herbert Spencer |
float[][] board; int maxCant; int c; void setup() { size(700, 700); background(255); strokeWeight(10); stroke(0); strokeJoin(ROUND); c=0; maxCant = 10000; board = new float[maxCant][2]; smooth(); } void draw() { if (mousePressed) { board[c][0]=mouseX; board[c][1]=mouseY; println(c); c++; } for (int i = 0; i <= c; i++) { point(board[i][0], board[i][1]); } } void keyPressed() { if (key == 'a') { stroke(255, 3); c=0; } if (key == 's') { stroke(241, 71, 71, 3); c=0; } if (key == 'd') { stroke(107, 140, 246, 3); c=0; } if (key == 'f') { stroke(243, 247, 124, 3); c=0; } if (key == 'g') { stroke(10, 3); c=0; } if (key == 'r') { saveFrame("board-##.png"); } if (key == 'e') { background(10); c=0; } if (key == 'w') { background(245); c=0; } if (key == 'z') { stroke(255, 3); } if (key == 'x') { stroke(241, 71, 71, 3); } if (key == 'c') { stroke(107, 140, 246, 3); } if (key == 'v') { stroke(243, 247, 124, 3); } if (key == 'b') { stroke(10, 3); } }