Demos > FIRE DEMO


slow fire simulation
made by TehShadowz
uploaded by TehShadowz
added:
download cartridge

5


This is a little bit slow and inefficient, and I did not come up with this idea. The concept was covered in greater deepness in one of The Coding Train's videos: https://youtu.be/X0kjv0MozuY
Also, I am aware of the bug that every once in a while, a weird black line appears in the fire. That happens because the smoothing algorithm applied on the cooling map doesn't work on the edges, and I was too lazy to implement it because of "indexing out of bounds" and "attempting arithmetic on a nil value" errors :p


Post comment