Jump to content


PIXI filters?

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts


I see it's relatively easy to animate certain filters with the PIXIPlugin but is there a way to animate and use the more complex filters shown here http://pixijs.io/pixi-filters/tools/demo/

particularly the shockwave one?





Link to comment
Share on other sites

See the Pen qmXPMm?q=pixi%26limit=osublake by osublake (@osublake) on CodePen


See the Pen gLGYxx?q=pixi%26limit=osublake by osublake (@osublake) on CodePen

See the Pen PEVyPv?editors=0010 by osublake (@osublake) on CodePen


I personally haven't done anything with those filters but hopefully these demos from @OSUblake show a bit of what is possible.


  • Like 2
Link to comment
Share on other sites



The PixiPlugin is only configured to work with some of the built-in filters, like blur and color matrix. For all the other filters, you will need to create and animate them directly. The properties for a filter can be found in the filter docs.



For the ShockwaveFilter, the time property is what controls its size.  That's the time value used in the shader, and is not related to the time/duration of your animation. 


var shockwaveFilter =  new PIXI.filters.ShockwaveFilter();
someDisplayObject.filters = [shockwaveFilter];

TweenMax.to(shockwaveFilter, 2, {
  time: 2.5,
  ease: Linear.easeNone



  • Like 2
Link to comment
Share on other sites

Brilliant! Many thanks.





  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.