# clickEllipse.py
from Processing import *
window(300, 300)

# Draw a randomly colored ellipse
# at the current mouse location
def draw(o, e):
    fill(random(255), random(255), random(255))
    ellipse(mouseX(), mouseY(), 30, 30)

# Hook the draw function to the mouse pressed event
onMousePressed += draw
