[HN Gopher] Vector.js: an open source JavaScript library for cre...
___________________________________________________________________
Vector.js: an open source JavaScript library for creating
interactive graphics
Author : lazyjeff
Score : 43 points
Date : 2022-06-10 22:29 UTC (1 days ago)
(HTM) web link (vectorjs.org)
(TXT) w3m dump (vectorjs.org)
| solardev wrote:
| Hmm, interesting... what is the advantage of using something like
| this vs the bigger, more mature libs?
|
| Vector.js looks like it's maintained by a small team of
| university students as their capstone project. That's a cool
| thing to produce for a school project, for sure, but are there
| compelling reasons for other users to choose this lib in
| particular?
|
| Just to share some findings... at work we recently evaluated the
| market for JS graphics libraries, and to our surprise, there were
| MANY good options.
|
| At lower levels of abstractions, there was GraphicsJS, Two.js,
| Paper.js, D3.js.
|
| Higher up, there was Fabric.js and Konva.
|
| Beyond that, there are entire JS graphics engines for games and
| such, like Phaser.io and PixiJS. And for maps, like OpenLayers or
| Leaflet. And for charts, like Chart.js and Apex and Victory and
| Fusion. And then there was an even larger graveyard of graphics
| libs that seemingly were once great, but then was possibly
| abandoned, like Raphael or Stage.js.
|
| It seemed like no matter what your graphics needs were, there was
| a particular lib that would fulfill most of it. And it also
| seemed like it was a problem that different teams continuously
| reinvented, to different degrees of success and longevity.
| maneesh wrote:
| Crashes my Android chrome browser on a Google pixel 4 XL 67% of
| the time
| FractalHQ wrote:
| Trying to navigate and interact with these on mobile is difficult
| and frustrating. Adding`overflow-x: hidden` will fix most of that
| and larger graphics for small screens would help a lot.
| stoicjumbotron wrote:
| The example did not even load for me in mobile and Brave
| staight up crashed
___________________________________________________________________
(page generated 2022-06-11 23:02 UTC)