Starting from Nature of Code 4.2. Code from first sketch is now a class.
Instructions
- Click to create a new emitter at a new location.
Video and Example Code
- https://www.youtube.com/watch?v=wDYD3JVtOys&list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM&index=33
- https://editor.p5js.org/codingtrain/sketches/YqAxA5CYy
Coding Train Link
- https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/4-particles/2-particle-emitters
Other videos mentioned
- Angles and Rotation - Nature of Code 3.1: https://youtu.be/DMg-WRfNB60
- Fireworks! - Coding Challenge #27: https://youtu.be/CKeyIbT3vXI
- Inheritance in JavaScript: https://youtu.be/MfxBfRD0FVU
- Polymorphism in JavaScript: https://youtu.be/8a5BkwuZRK0