- Different forms of loop (syntax similar to C/C++, Javascript)
- Focus on for loop ( which is mostly used )
- Reference : https://processing.org/reference/for.html
- Reference : https://processing.org/reference/while.html
- How can we apply it?
How about 10 X 10?
- for( <initial code> ; <loop condition is true> ; <do each time> )
{
...
} - while( <loop condition is true> )
{
...
} - do
{
...
}
while( <loop condition is true> )
Don't look at the answers yet...
How about 10 x 10 circles?