9.11: Instance Mode (aka "namespacing") - p5.js Tutorial

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=Su792jEauZg



Category:
Tutorial
Duration: 14:30
25,320 views
609


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.

code: https://github.com/shiffman/Video-Lesson-Materials/tree/master/code_p5.js

Contact: https://twitter.com/shiffman

All JavaScript/p5.js videos: https://www.youtube.com/user/shiffman/playlists?sort=dd&view=50&shelf_id=14

Help us caption & translate this video!

http://amara.org/v/QbtU/

📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct







Tags:
instance mode
namespacing
javascript namespacing
tutorial
javascript
p5js
p5
p5.js
canvas
programming
javascript (programming language)
js
instance
mode