4.2: Many Particle Systems (Emitters!) - The Nature of Code @TheCodingTrain
4.2: Many Particle Systems (Emitters!) - The Nature of Code  @TheCodingTrain
Uploaded March 2021 | Updated September 2026, 2 weeks ago
In this video, I add an Emitter class to further organize the array of particles and allow for multiple particle systems in a p5.js sketch. Code: thecodingtrain.com/tracks/the-nature-of-code-2/noc/4-particles/2-particle-emitters

p5.js Web Editor Sketches:
๐Ÿ•น๏ธ Particle Emitters: editor.p5js.org/codingtrain/sketches/YqAxA5CYy
๐Ÿ•น๏ธ Particle Emitters with Movers Exercise: editor.p5js.org/codingtrain/sketches/UXmqwcpRL
๐Ÿ•น๏ธ Particles Following Mouse Exercise: editor.p5js.org/codingtrain/sketches/1zTN6PYJg
๐Ÿ•น๏ธ Particle Emitters Color Exercise: editor.p5js.org/codingtrain/sketches/IYisp9xmJ

๐ŸŽฅ Previous video: youtu.be/syR0klfncCk?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
๐ŸŽฅ Next video: youtu.be/44RSr49m6LU?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
๐ŸŽฅ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM

Videos:
๐ŸŽฅ Angles and Rotation: youtu.be/DMg-WRfNB60
๐ŸŽฅ Fireworks!: youtu.be/CKeyIbT3vXI
๐ŸŽฅ Inheritance in JavaScript: youtu.be/MfxBfRD0FVU
๐ŸŽฅ Polymorphism in JavaScript: youtu.be/8a5BkwuZRK0

Timestamps:
0:00 Welcome back!
0:28 Creating an Emitter class.
1:32 Let's add update() and show().
2:37 Let's create an emitter in the sketch.
3:20 How can we add particles.
4:37 Many emitters!
5:58 Some exercises you could try.
6:41 What's next?

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

๐Ÿš‚ Website: thecodingtrain.com
๐Ÿ‘พ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
๐Ÿšฉ Suggest Topics: github.com/CodingTrain/Suggestion-Box
๐Ÿ’ก GitHub: github.com/CodingTrain
๐Ÿ’ฌ Discord: thecodingtrain.com/discord
โœช Nebula: go.nebula.tv/codingtrain
๐Ÿ’– Membership: youtube.com/thecodingtrain/join
๐Ÿ›’ Store: standard.tv/codingtrain
๐Ÿ–‹๏ธ Twitter: twitter.com/thecodingtrain
๐Ÿ“ธ Instagram: instagram.com/the.coding.train

๐ŸŽฅ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

๐Ÿ”— p5.js: p5js.org
๐Ÿ”— p5.js Web Editor: editor.p5js.org
๐Ÿ”— Processing: processing.org

๐Ÿ“„ Code of Conduct: github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new

#forbeginners #javascript #p5js
4.2: Many Particle Systems (Emitters!) - The Nature of Code#genuary3How to Set Up a Node.js ProjectI broke ChatGPT! #creativecoding #ai #shortsThe Anal Retentive CoderCoding Train Live: Back to School!ml5.js: Image Classification with MobileNetThe Coding Train: revisiting ml5.js!Steering Behaviors: I got Flee and Evade wrong!ITP/IMA Pre-Show
The Coding Train |

4.2: Many Particle Systems (Emitters!) - The Nature of Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER