The winter has come to Bangkok!!

Winter has come in Bangkok now so let’s create a little camp fire to keep warm 🙂

You can add more fire power by using the top right slider bar but be careful the more fire power the more cpu consumption need. (but I think it is not too bad for AS3 and new flash player to handle it nowadays)

camp fire

This one write with AS3 which generate each fire element and draw each pixel to the stage real time.

I’m sorry for the source code for now, my blog still not render the code nicely, I’ll find around to set it to show the code better and will post the code of how it work again. By the way, hopefully this dump fire make you guy feel warmer in this winter. (at least from the cpu temperature that going up during run this camp fire)