I just committed a small addition to
net.tmkeesey. As alluded to in my last post, it's motion blur. How easy is it to use? Here:
myDisplayObjectwill blur whenever you move it. It even works with preexisting filters. (Note that the blur looks best for horizontal and vertical motion, though. I may work on an improvement for that later.) There are also a few optional parameters:
blurFactor(how much to blur per pixel moved),
optimized(optimization flag—only uses powers of two for blurring if set to
truethe default), and
In the future I'd like to update this so that the parameters can be changed on the fly, but I'm not sure how useful that would really be. Good enough for now.
Once again, the code can be checked out from: