Victor Muñoz: Objeto cayendo

De Casiopea


TítuloObjeto cayendo y chocando
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 6
AsignaturaImagen Escrita 2012,
Del CursoImagen Escrita 2012,
CarrerasArquitectura
Alumno(s)Victor Muñoz
ProfesorHerbert Spencer
color c = color(#0F14F5); float x = 40; float y = 400; float speed = 1;

void setup() {


size(500,500); }

void draw() {

background(#F5EA0F); move(); display(); }

void move() {

x = x + speed; if (x > width) {

x = 30;
} }

void display() {

fill(c); stroke (#0FF555); ellipse(x, 350,mouseY , 16); ellipse(150,x,18,mouseY);


}