9.11: Instance Mode (aka "namespacing") - p5.js Tutorial
Channel:
Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=Su792jEauZg
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
Other Videos By The Coding Train
2016-03-31 | 11.4: Brightness Mirror - p5.js Tutorial |
2016-03-31 | Live Stream #26 |
2016-03-31 | 11.3: The Pixel Array - p5.js Tutorial |
2016-03-31 | 11.1: Live Video and createCapture() - p5.js Tutorial |
2016-03-31 | 11.2: Video Photobooth / Muybridge Style Animation - p5.js Tutorial |
2016-03-31 | 9.12: Local Server, Text Editor, JavaScript Console - p5.js Tutorial |
2016-03-31 | Live Stream #25 |
2016-03-29 | p5.js Github Issue #1079 |
2016-03-29 | Live Stream #24 |
2016-03-29 | Live Stream #23 |
2016-03-24 | 9.11: Instance Mode (aka "namespacing") - p5.js Tutorial |
2016-03-24 | 9.10: Reset a Sketch with Button Click - p5.js Tutorial |
2016-03-24 | Live Stream #22 |
2016-03-22 | 15.9: Amazon EC2 Deployment - Twitter Bot Tutorial |
2016-03-22 | 15.8: Heroku Deployment - Twitter Bot Tutorial |
2016-03-22 | Live Stream #21 |
2016-03-18 | 9.9: Minimum Spanning Tree (Prim's Algorithm) - p5.js Tutorial |
2016-03-18 | Live Stream #20 |
2016-03-15 | 9.8: Random Circles with No Overlap - p5.js Tutorial |
2016-03-15 | Live Stream #19 |
2016-03-11 | Test Broadcast |
Tags:
instance mode
namespacing
javascript namespacing
tutorial
javascript
p5js
p5
p5.js
canvas
programming
javascript (programming language)
js
instance
mode