Isidora Correa proyecto 6 IE 2012

De Casiopea
La versión para imprimir ya no se admite y puede contener errores de representación. Actualiza los marcadores del navegador y utiliza en su lugar la función de impresión predeterminada del navegador.
Isidora Correa proyecto 6 IE 2012



TítuloIsidora Correa proyecto 6 IE 2012
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 6
Del CursoImagen Escrita 2012
CarrerasDiseñ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
ProfesorHerbert 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);

}