Experiment : Real-Time Pixel Processing : Fire Filter (2001)
This is a Shockwave version of a very oldscool demo effect. Thanks to Image Lingo and the SetPixel() function it's
possible to create this effect in Director. Actually its not much more than an ordinary blur filter. For each pixel
the color is calculated by looking at its surrounding pixels. The illusion that the fire is moving upwards is created
by taking a little more color from the pixel on it's botttom than the pixel on top. To finish the effect you create a
palette with a gradient from white to yellow to red to black. Create a 8 bits image, attach the palette, draw some
white pixels on the bottom of the image, apply the blur filter. And voila! You've created fire...
|