The code you’ve posted above is using the p5js flavor:
Anyways, I’ve got some sketch examples written in Processing’s Python Mode which are also available on other Processing flavors for you to compare:
The code you’ve posted above is using the p5js flavor:
Anyways, I’ve got some sketch examples written in Processing’s Python Mode which are also available on other Processing flavors for you to compare: