Dave Drohan (SETU)

BACK NEXT

Basic Animation

A note on the setup() function

A note on the draw() function

Animating Ellipses

In your PDE, enter the following code: Animating Ellipses Using the File, Save as… menu options, save this sketchbook with the following naming convention: labXX_stepYY, where XX is the number of the lab and YY is the number of the step.

Run the code. As you move your mouse around the canvas, you should have animation similar to the screen shot below. Animating Ellipses - Multiple Circles Can you explain why there are multiple circles drawn? Why not just one circle?