Flames

Applet generates nice flaming effect. The applet first generates precalculated flame palette for the flame colors and then draws a white line to the bottom of the canvas. With each frame the white line is blurred upwards and each pixel’s alpha value is used as a color index in precalculated color array. The source code is available under the LGPL license.

Download the source code with NetBeans IDE (v5.5) project files here.


One Response to Flames

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>