First page Back Continue Last page Graphics
Function Overview
A function is a way to reuse blocks of commands :
- it's basically like assigning a label to a section of code
- you can use the label instead of typing all of the code again
- when the computer sees this label, it inserts the code for you when it runs
All of the commands you have used so far are actually functions built into Processing!
Functions are a way to create your own commands ...