For loops allow you to both create complexity, save time and introduce dynamic elements to p5.js.
This video follows on from the introduction to if statements (conditional statements) here:
[ Ссылка ]
The video before that was about variables in p5.js:
[ Ссылка ]
More on for loops can be found on w3schools here:
[ Ссылка ]
and the Mozilla JavaScript pages here:
[ Ссылка ]
If you want to see the code for the eyeballs it's here:
[ Ссылка ]
![](https://i.ytimg.com/vi/PigAshcfoHQ/maxresdefault.jpg)