Versions Compared

Key

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

...

These functions accept no parameters so the space between the brackets is left blank, and they have no return value so the 'void' keyword is used. The function names are reserved names that Processing knows, Processing calls these functions as soon as the corresponding event occurs.

Exercise 3:

Take your results form exercise 2, and modify it so it animates across the screen.