- Actionscript2 (4)
- Actionscript3 (53)
- Astro (3)
- Flash (17)
- Pixel Bender (4)
blogs
projects
siteseeing
Smudge.
As everyone may have noticed, the beta release of Flash Player 10 ( codename: Astro), is out now. One of the new features I´ve expected mostly, is the ability to write your own shaders in Pixel Bender and bind ´em in flash (as .pbj-File). Afterwards you can access your shader with actionscript and use it as filter in flash (for example).

Launch (flash player 10 needed!)
“Smudge” is my first attempt to write a shader with Pixel Bender. It´s a simple pattern smoother that iterates over an image and bends every pixel thereby. After all flash delivers a parameter back into the shader on every frame, so we get a little animated smoothed smudge pattern.
But the coolest thing is the framerate, the filter runs in flash by having 21-22 FPS constantly, and that´s not natural if you deal with 400 x 400 pixel dimensioned images (like in this example).
Finally launch smudge pattern or just have a look at the sources.
Cheers.