First page Back Continue Last page Graphics
Built in Functions, contd.
- draw() :
- called automatically after setup, loops continuously
- used to draw objects to the screen
- there can be only one draw function
Both setup and draw take no input values and do not return a value:
- '( )' : no input / void : no return
- void setup() { code block }
- void draw() { code block }