Jump to content
GreenSock

MadG

PixiPlugin - Best way to animate circle mask radius?

Recommended Posts

Hey all, 

 

Forgive me as I'm pretty new to Pixi, which is probably why I can't figure this out. See attached codepen. I'm trying to animate the radius of the circle mask. What's the best way to do this? 

See the Pen YzYWgRj by kslaton (@kslaton) on CodePen

Link to comment
Share on other sites

Hi MadG,

 

You can't animate graphics like that as graphics are just a series of graphic commands and can contain numerous shapes and lines. You're going to have make your own objects and animate those instead.

 

See the Pen QWaEeyN by GreenSock (@GreenSock) on CodePen

 

  • Like 2
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.
×