Name | setup |
---|---|
Description | The setup() function is called once when the program starts. It's used to define initial enviroment properties such as screen size and background color and to load media such as images and fonts as the program starts. There can only be one setup() function for each program and it shouldn't be called again after its initial execution. Note: Variables declared within setup() are not accessible within other functions, including draw(). |
Syntax | setup() |
Related |
size loop noLoop draw |
Cover
Reference
Tutorials
Bugs