Instance Mode (aka "namespacing")

Additional Topics Tutorial #9.11

This video looks at p5.js “instance mode”.

The techniques demonstrated are useful for “namespacing” your sketch (so that there are no conflicts with other libraries or other global variables). It is also useful if you want to have more than one canvas on the same web page.