Tanya Castillo tarea 6
De Casiopea
Título | Tanya castillo tarea 6 |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 6 |
Asignatura | Imagen Escrita 2012, |
Del Curso | Imagen Escrita 2012, |
Carreras | Arquitectura |
Alumno(s) | Tanya Castillo |
Profesor | Herbert 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); }