3 ms·
Are there any libraries like this for JavaScript?
by simooooo 10y ago
Are there any libraries like this for JavaScript?
- vespakoen 10y agoI guess d3 (https://github.com/d3/d3/blob/master/API.md https://github.com/d3/d3/blob/master/API.md) can handle most of these things. Others you can check out: - http://turfjs.org http://turfjs.org - https://two.js.org https://two.js.org - http://paperjs.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
- willvarfar 10y agocsg.js is a computational solid geometry 3D library for Javascript. https://github.com/williame/csg.js https://github.com/williame/csg.js is a fork where I made some performance improvements when I used it in a Ludum Dare game; dev vid https://www.youtube.com/watch?v=7zjz-hpm8No https://www.youtube.com/watch?v=7zjz-hpm8No