Kivan Posted August 24 Share Posted August 24 Hello, im building a pixi application and i've completed the small task on codepen with svg but i'm trying to convert it to pixijs application. Is it possible? if yes could someone help me with some example... Thank you so much!! See the Pen abQePrb by kivanfan (@kivanfan) on CodePen Link to comment Share on other sites More sharing options...
Rodrigo Posted August 24 Share Posted August 24 Hi, That can be done with PIXI, but drawing in PIXI is not super simple: https://pixijs.io/examples/#/gsap3-interaction/gsap3-trail.js That is not the actual code but is an example of updating a particular shape, in your case we're talking about an arc. Then you can update that animation using a Draggable instance: See the Pen qBLONEW by GreenSock (@GreenSock) on CodePen Finally you can check this example by @PointC See the Pen NmqowR by PointC (@PointC) on CodePen That is using old syntax, you can check this migration guide in order to convert it to new syntax and plugins: Hopefully this helps. Happy Tweening! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now