Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

246
Views
Smoothly animating a progress bar in PixiJS

I have a progress bar that will increase as my program completes but it jumps from increment a to b rather than smoothly easing in or out. Is there a way I can tween the progress bar rather than having it jerk? The progress bar currently is just a PIXI.graphic object in a container that changes positions.

 let progressBarContainer = new PIXI.Container();
 let progressBar = new PIXI.Graphics();
 progressBarContainer.addChild(progressBar);

 //after progress is made

 progressBar.position = (x + progress, y)

I was thinking of having a timer function that increases the progress bar by some x value until it reaches the desired percentage (maybe use a cubic function to imitate easing animations) but I was wondering if maybe there is a more effective way that I have not come across yet.

Thanks!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!