tubeshowcase●♑ My collection 0
← Learn to Code

Learn to Code29:36

Coding Challenge #103: Fire Effect

The Coding Train β†—

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.

Keep exploring Learn to Code