Isidora Correa proyecto 6 IE 2012
De Casiopea
Título | Isidora Correa proyecto 6 IE 2012 |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 6 |
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) | Isidora Correa |
Profesor | Herbert Spencer |
color c = color(0); float x = 40; float y = 60; float speed = 1;
void setup() {
Idea y ayuda sacada de http://processing.org/learning/objects/ Rectángulo con movimiento vertical
size(400,400);
}
void draw() {
background(90, 6, 56); move(); display();
}
void move() {
y = y + speed; if (x > width) { y = 0; }
}
void display() {
fill(y); rect(x,y,50,10);
}