Archiv der Kategorie Astro

Fisheye.

And another Pixel Bender/-Astro snippet yet… called “Fisheye“. This tiny bit of code generates a little fisheye-filter.


Launch. || Sources. (flash player 10 needed!)

“Oh man…”, look what this filter is doing to my face (much prettier than before *Uh?*)

Enjoy.

Slicer.

As you know from my recent blog entry, I´m giving Pixel Bender a burst. For now, I´m totally excited developing kernels to use with flash, even if I miss well known features like Math.randoms or for/-while loops in Pixel Bender´s scripting language.

slicer
Launch. || Sources. (flash player 10 needed!)

So here´s my second result called “slicer“. This Filter slices an image into quadrants, and can be manipulated with Flash by several parameters that affect for instance the grid-sice.

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.

|