Coding Challenge #78: Simple Particle System
Автор: The Coding Train
Загружено: 2017-10-11
Просмотров: 84417
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: https://thecodingtrain.com/challenges...
🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...
🎥 Previous video: • Coding Challenge #77: Recursion
🎥 All videos: • Coding Challenges
References:
🗄 Particle System on Wikipedia: https://en.wikipedia.org/wiki/Particl...
🖋️ #ParticleTrain on Twitter: / particletrain
Videos:
🚂 Fireworks Coding Challenge: • Coding Challenge #27: Fireworks!
🚂 Particle Systems playlist: • 4: Particle Systems - The Nature of Code
🔴 Live Stream Archive #103: • Coding Train Live 103: More on JavaScript ...
Related Coding Challenges:
🚂 #27 Fireworks: • Coding Challenge #27: Fireworks!
🚂 #160 Spring Forces: • Coding Challenge 160: Spring Forces
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: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: / discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org
📄 Code of Conduct: https://github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...
#particlesystem #oop #javascript #p5js
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: