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).

astro, smudge pbj-filter
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.

Antwort schreiben