mercredi 19 juin 2019

Recommend js framework / library for primitive UI responsive graphics

Please recommend simple lightweight opensource 2D graphics js library that allows to do this:

  1. Draw primitives on canvas: circle, line (with width), polygon, text, put an icon.

  2. All of the primitives should be represented as objects that I can dynamically change.

  3. Primitives should be UI responsive (with methods like .on('click', clbk)).

  4. Canvas properties like scaling, offset can be dynamically changed.

The closest things I could find:

  • ptsjs.org - cannot put an icon (vector or raster) on the canvas, UI is in 'Experimental' stage.

  • jsgl.org - seems to have everything I need, but it's last update was in 2013. I don't want to use dead projects.




Aucun commentaire:

Enregistrer un commentaire