Genie in a bottle

Pixel BenderDuring the development of one of our new games for Platogo we got our hands dirty with Adobe´s Pixel Bender technology. In short, Pixel Bender is a technology to create programmable effects that run fast. They can be used for Flash, Photoshop and After Effects. You can create awesome effects with just a few lines of code. As a simple example we tried re-creating Apple´s Genie Effect for windows closure.The current implementation only needs 10 lines of code and is not even optimized. If there is interest we will post the final animated effect including the Pixel Bender Code in a few days. So don´t wait any longer, download the Pixel Bender Toolkit, install Joa Ebert's Eclipse Plugin (PBDT) and try this new technology by yourself.

Get Adobe Flash player

[Update]

Because of the massive response we have implemented a little example and also added the source of our Pixel Bender Kernel to the blog entry.
There are a lot of possibilites to improve performance and we are looking forward to your input. The principle behind the Kernel is pretty easy. We´ve used a bezier curve to decide which pixel has to be transparent and where we´ve to compress the pixels. That´s all the magic.

To hide the window in the box just click on the close icon.

Get Adobe Flash player

Pixel Bender Kernel Source Code: Download Genie Effect Pixel Bender Kernel

[/Update]

8 Responses to “Genie in a bottle”

  1. Martin Heidegger Says:

    Nice thing – seeing pb popping up at a lot of places

  2. Jonathan Campos Says:

    I’d be interested to see the source, that is very cool, good job!

  3. Brooks Says:

    +1 for seeing the final animated effect and the pixel bender kernel source.

  4. Manfred Karrer Says:

    looks great on your platogo screen!

  5. noj Says:

    I am doing a transition engine in flash for slideshows with pixel bender. demo.om-labs.com/iifetxPlayer . The third and fourth effects are made with the genie effects that I and my mentor did in january. lol!! coming from xp to macs i was mad after the mac genie so we decided to recreate it in flash.

    Its nice to know people are also thinking along the same lines. I’ll talk with my boss to see if I can release the genie effect on pixel bender gallery with a non-commercial licence.

  6. Manfred Karrer Says:

    @noj: great effects. i like the second with thex axis smear a lot!

  7. Hamazasp Avetisyan Says:

    Hi,
    I’m a flex developer, and would like to test the animation that you posted.
    Can you also put or send me some runner code to be able to run the affect ?

    Best regards!

  8. Christoph Atteneder Says:

    Hi Hamazasp,

    As I’ve implemented the code a few years ago I’m not sure if I’m able to find the test project anymore.
    But the pixelbender file should be easily to integrate. I’ll let you know if I’m able to find the source code for the example somewhere.

    Best,

    Christoph

Leave a Reply

All Rights Reserved Copyright © 2008 Design by StyleShout and Clazh