In this coding challenge, I explore the concept of a simple particle system and attempt to create a smoke effect with the p5.js library. Code: thecodingtrain.com/challenges/78-simple-particle-system
🕹️ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/sketches/D4ty3DgZB
🎥 Previous video: kzitem.info/news/bejne/y4apwKuoj2udl2U
🎥 All videos: kzitem.info/door/PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
🗄 Particle System on Wikipedia: en.wikipedia.org/wiki/Particle_system
🖋️ #ParticleTrain on Twitter: twitter.com/hashtag/particletrain
Videos:
🚂 Fireworks Coding Challenge: kzitem.info/news/bejne/pIGb332YjWWni34
🚂 Particle Systems playlist: kzitem.info/door/PLRqwX-V7Uu6Z9hI4mSgx2FlE5w8zvjmEy
🔴 Live Stream Archive #103: kzitem.info/news/bejne/samZ12pvaoVyd5g
Related Coding Challenges:
🚂 #27 Fireworks: kzitem.info/news/bejne/pIGb332YjWWni34
🚂 #160 Spring Forces: kzitem.info/news/bejne/s6hjm3yfkaOmm6w
Timestamps:
00:00 Introduction
00:31 Define a particle system
01:12 Make a Particle class
02:11 Draw a particle
03:05 Add multiple particles
04:05 Move particles
05:04 Add particles over time
05:48 Fade particles
06:49 Remove particles
09:10 Remove particles in the correct order
11:40 Experiment with parameters
12:08 Conclusion
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: discord.gg/hPuGy2g
💖 Membership: kzitem.infojoin
🛒 Store: standard.tv/codingtrain
🖋️ Twitter: twitter.com/thecodingtrain
📸 Instagram: instagram.com/the.coding.train/
🎥 Coding Challenges: kzitem.info/door/PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 Intro to Programming: kzitem.info/door/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
#particlesystem #oop #javascript #p5js
Негізгі бет Coding Challenge #78: Simple Particle System
Пікірлер: 121