Tanya Castillo tarea 6

De Casiopea
Tanya castillo tarea 6


TítuloTanya castillo tarea 6
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 6
AsignaturaImagen Escrita 2012,
Del CursoImagen Escrita 2012,
CarrerasArquitectura
Alumno(s)Tanya Castillo
ProfesorHerbert Spencer

color c = color(#E5415F); float x = 8; float y = 50; float velocidad = 7;

void setup() { size(700, 500); }

void draw() {

 background(#BCF581);
 move();
 display();

}

void move() { x = x + velocidad; if (x > width) {

   x = 5;
 }

y = y + 7; if (y > width) { y = 0; } }

void display() {

fill(y); ellipse(x,y, 70, 80); }