Hello,
If you are exploring the examples that come with the Processing IDE take a look at this topic:
:)