A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Looking for swirl effect

  1. #1
    Senior Member flamedude's Avatar
    Join Date
    Jun 2003
    Location
    Vancouver, BC
    Posts
    252

    Looking for swirl effect

    Hi chaps,

    I'm looking for any AS3 script that might help me create a dynamic swirling effect. I need to apply this effect to a dynamically populated movieclip and presumably it uses bitmapdata and flash filters to work....... Just can't get my head around it. Specifically I'm looking for something similar to this;

    http://www.flash-filter.net/swirl-effect.phtml

    Any help, examples, pointers would be really appreciated.

    Thanks,

    Steven.

  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    If you want to code it yourself, look into either pixelbender or DisplacementMapFilter.

    If you want one that someone's already done, look at http://je2050.joa-ebert.com/imageprocessing/

    The license on that is GPLv2, so if you're planning to use it in a commercial project, think twice.

  3. #3
    Senior Member flamedude's Avatar
    Join Date
    Jun 2003
    Location
    Vancouver, BC
    Posts
    252
    Ah thanks for the info. I'll need to steer clear of the joa-ebert stuff unfortunately, even though it has the twirlMap thing which is exactly what I'm looking for.

    Do you know is there is a way to animate a Displacement map? I'm looking for the twirl/swirl effect as an animation, not just a single frame distortion.

    Thanks again.

  4. #4
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    Iterated incremental small swirl displacements should add up to a big displacement. You could just call the same filter a bunch of times.

    Also, on the pixelbender front, there's this: http://www.adobe.com/cfusion/exchang...&extid=1536021

  5. #5
    Senior Member flamedude's Avatar
    Join Date
    Jun 2003
    Location
    Vancouver, BC
    Posts
    252
    Ah thanks a ton..... um.... 5tons. This look really promising. Don't fully understand the pixel bender stuff but I suppose I better learn something today rather than just get you to explain everything for me!

    Your help is really appreciated!

  6. #6
    flash absorption vessel
    Join Date
    Jul 2009
    Posts
    31
    Yea, definitely just experiment with a DisplacementMapFilter, and see where that gets you.

    http://www.emanueleferonato.com/2007...nt-map-filter/

    http://www.webwasp.co.uk/tutorials/221/index.php

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center