Tuesday 2 October 2012

Early Stages


My code is at the early stages. It enables the user to create an eyeball whenever and wherever on the screen they click any mouse button.
I would like similar yet different eyes to be created when pressing different mouse buttons, I would also like these eyes to grow larger as you hold down the mouse button for longer periods of time.



//////////////////Here is my code so far....


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

void draw(){}

void mousePressed(){

PImage b;
b = loadImage("Eyeball 4.png");
b.resize (80,50);
image(b, mouseX, mouseY);

}

No comments:

Post a Comment