-
1.1: Introduction – p5.js Tutorial
In this video, I talk about p5.js. What is it? What can you do with it? Where did it come from? What is its relationship with Processing? p5.js is both a library for JavaScript and a beginner-friendly editor where you can build creative computational projects in the browser. It can be used for art, data…
-
9.19: Prototypes in Javascript – p5.js Tutorial
In this video, I examine the concept of “Prototype” in the JavaScript programming language. I look at how you can attach methods to objects via prototype (for both objects of existing JS types or your own). I also discuss the “prototype chain” and prototypal inheritance. Support this channel on Patreon: https://patreon.com/codingtrain Send me your questions…
-
6.2: Classes in JavaScript with ES6 – p5.js Tutorial
This video introduces Object-Oriented Programming in JavaScript with ES6 classes and the p5.js library. Next Video: https://youtu.be/rHiSsgFRgx4 Support this channel on Patreon: https://patreon.com/codingtrain To buy Coding Train merchandise: https://www.designbyhumans.com/shop/codingtrain/ To Support the Processing Foundation: https://processingfoundation.org/support Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics Contact: Twitter: https://twitter.com/shiffman The Coding Train website: http://thecodingtrain.com/ Links discussed in this…
-
Coding Challenge #40.1: Word Counter in JavaScript
In this Coding Challenge, I build a word counting (concordance) web application in JavaScript. The video demonstrates a use of associate arrays, regular expressions, and other techniques previously covered as part of “Programming from A to Z.” Next Video: https://youtu.be/fxQ0B6BkfKo http://shiffman.net/a2z/text-analysis/ Course url: http://shiffman.net/a2z/ Support this channel on Patreon: https://patreon.com/codingtrain Send me your questions and…
-
Coding Challenge #66: JavaScript Countdown Timer
In this video, I use the p5.js library to create a web-based countdown timer. I discuss the native JavaScript method setInterval() and well as p5’s millis(). Support this channel on Patreon: https://patreon.com/codingtrain To buy Coding Train merchandise: https://codingtrain.storenvy.com Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics Contact: Twitter: https://twitter.com/shiffman The Coding Train website: http://thecodingtrain.com/ Links…