/**
* Pulses
*
*
Elie Zananiri
* CART 253, Winter 2008
*/
// ----------------------------------------------------------------------
// GLOBAL VARIABLES
// ----------------------------------------------------------------------
Pulse aPulse;
// ----------------------------------------------------------------------
// BUILT-IN FUNCTIONS
// ----------------------------------------------------------------------
void setup() {
size(400, 400);
smooth();
noStroke();
// instantiate the Pulse
aPulse = new Pulse(width/2, height/2);
}
void draw() {
background(0);
// draw the pulse
aPulse.draw();
}
void mousePressed() {
aPulse.move(mouseX, mouseY);
}