Hacker News new | ask | show | jobs
by vespakoen 3389 days ago
I guess d3 (https://github.com/d3/d3/blob/master/API.md) can handle most of these things.

Others you can check out:

- http://turfjs.org

- https://two.js.org

- http://paperjs.org (especially "PaperScript" which does some magic to allow adding / multiplying etc. vectors if that's what you're after)

Also worth noting is that for most "computations" there is a likely a package available on npm