Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this simple programme, we animate an ellipse to always chase a point defined by the mouse. TheĀ ellipse only ever moves a percentage of the distance between it and the mouse target destination in each step.

The PVector object is used to handle the coordinates and the simple math operations.

...