Jump to content
GreenSock

nicoladelazzari

Timeline fail with PIXI filter animations

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

Hi guys!

I have some problem tring to animate some PIXI filters inside a timeline with other dom element animations.

 

I provide a pen with an example of slider.

 

My goal is to animate blur filter and dom element in the same timeline.

The problem is that in swap Timeline tween with dom element tween doesn't start.

 

swap
  .fromTo(blurFilter, SWAPTIME, { blur: 10 }, { blur: 0, yoyo: true })
  .fromTo(canvasContainer, SWAPTIME, { scale: 1 }, { scale: 1.1, yoyo: true })

 

Any suggestions?

Thank you

See the Pen NMmYdj by nicoladelazzari (@nicoladelazzari) on CodePen

Link to comment
Share on other sites

Welcome to the forums. Thanks for letting us know you got it fixed.

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