4.4: Particle Systems with Image Textures - The Nature of Code @TheCodingTrain
4.4: Particle Systems with Image Textures - The Nature of Code  @TheCodingTrain
Uploaded April 2021 | Updated September 2026, 1 week ago
It’s time to expand beyond grayscale particles! In this video I demonstrate how to make a fire or smoke-like effect by using image textures and additive blending with a particle system. Code: thecodingtrain.com/tracks/the-nature-of-code-2/noc/4-particles/4-particle-textures

p5.js Web Editor Sketches:
πŸ•ΉοΈ Texture Maker: editor.p5js.org/codingtrain/sketches/NS4rB1Yx-
πŸ•ΉοΈ Image Texture: editor.p5js.org/codingtrain/sketches/TTVoNt58T
πŸ•ΉοΈ Shader (WebGL): editor.p5js.org/codingtrain/sketches/EXZmcc4m_

πŸŽ₯ Previous video: youtu.be/44RSr49m6LU?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
πŸŽ₯ Next video: youtu.be/P_xJMH8VvAE?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
πŸŽ₯ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM

Videos:
πŸŽ₯ Purple Rain: youtube.com/watch?v=KkyIDI6rQJI
πŸŽ₯ Snowfall: youtube.com/watch?v=cl-mHFCGzYk

Timestamps:
0:00 One more particle system video!
0:57 Hopefully you'll make something neat.
1:25 Adding applyForce() to our particle class.
3:24 I've already made an image texture.
4:37 Adding the image texture to the sketch.
6:28 Adjusting the way the particles look.
7:17 Let's see if there's a way to improve performance.
8:58 blendMode(ADD)
9:53 Let's try using blendMode(ADD)!
10:36 Adding in color, yay!
11:53 Please share what you create!
12:22 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.4: Particle Systems with Image Textures - The Nature of CodeCoding Trade Live:  Side Project Saturday! (Live from the Attic)Image Classification with ml5.jsSide Project Saturday!16.1: let vs var - Topics of JavaScript/ES6I would like to say hello to youWhats next?Coding Challenge 171: Wave Function CollapseCoding Challenge 178: Climate Spiral5.7 Path Following (Steering) - Nature of CodeCoding Challenge 188: Voice ChatbotStickers!
The Coding Train |

4.4: Particle Systems with Image Textures - The Nature of Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER