Blurring Remnant Veins
Blurring Remnant Veins
Being able to continually lay down new vein segments without a performance penalty was great, but it quickly became cluttered and … well … ugly. I decided to use the new blur filter in Flash Player 8 to fade the older vein segments, so that newer veins would be more visible. This was very simple to implement. I set up a BlurFilter
instance, then applied it to my BitmapData
object in each frame. Over multiple applications of the filter, the blur becomes amplified and provides a nice soft backdrop to lay new veins over.
I show the code in the following color adjustment section.
Comments