...
- setup -> Programme start
- draw -> Refresh of the output window
- keyPressed -> keyboard press
- mousePressed -> Mause Mouse button press
Let's take the Example 1 and expand it to use events:
...
...
Let's take the Example 1 and expand it to use events:
...