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
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








