06:16Coding Challenge #103: Fire Effect
From the creator
In this coding challenge, I implement a pixel-based βfireβ algorithm using Processing (Java). Code: https://thecodingtrain.com/challenges/103-fire-effect πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/NaXdkoVI π₯ Previous video: https://youtu.be/BZUdGqeOD0w?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH π₯ Next video: https://youtu.be/dLp10CFIvxI?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: π Fire Simulation: https://web.archive.org/web/20160418004150/http://freespace.virgin.net/hugo.elias/models/m_fire.htm πΎ Processing: http://processing.org Videos: π What is Perlin Noise?: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bgPNQAdxQZpJuJCjeOr7VD π΄ Livestream Archive: https://youtu.be/PAmwKVCsg54 Related Coding Challenges: π #102 2D Water Ripple: https://youtu.be/BZUdGqeOD0w π #132 Fluid Simulation: https://youtu.be/alhpH6ECFvQ Timestamps: 0:00 Introduction 0:39 Fire algorithm 1:11 Let's Code 2:30 Add image buffers 5:20 Implement smoothing algorithm 11:58 Add cooling map 15:57 Introduce Perlin noise field 17:58 Add noise to the cooling map 22:04 Scroll the cooling map 24:32 Experiment with graphics objects 26:18 Add mouseDragged 27:52 Conclusion Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound π Website: http://thecodingtrain.com/ πΎ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide π© Suggest Top
Published 2018-05-14 Β· Watch on YouTube β
Availability and playback restrictions are controlled by the original channel.





