DEV Community

HandsomeTan
HandsomeTan

Posted on

A personal overview about Pixi.js, a 2D graphics library

before learning Pixi.js. I usually use the raw canvas API to draw 2D graphics. This is interesting, but a bit complicated. For example, drawing a star shape requires the use of BeizierCurve API, but the positions of the shape's points often are difficult to find, Therefore it is best to use third-party libraries to simplify path operations.
there are some exercises on Pixi.js homepage, which make us learn Pixi.js api. I finished an example called 'Choo Choo Train' and I think that those APIs and their construction is similar to Three.js. you'll be able to master those APIs faster if you have ever learned Three.js

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay