I have requirement to draw anti-aliased line and text in WebGL (canvas 2D). I checked pixi.js and that seems very promising. But pixi.js has many other things that I don't need. Is pixi.js is modular? Can I take some module or compile it to my requirement only?

Here are my basic requirements:


  • Draw line with anti-aliased line
  • line thickness
  • line cap and join


  • Anti-aliased Text
  • Draw text along the curved line

So looking for helper lightweight JavaScript module similar to Cairo for WebGL.

  • I am exploring stackgl, seems modular but not clear if it will solve my problem.
    – Gagan
    Dec 11 '15 at 4:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.