Re:Tutorial for Wykobi – A C++ Computational Geometry Library
by simooooo on Monday March 06, 2017 @01:05AM
(#13800966)
Are there any libraries like this for JavaScript?
[ Parent
| on HN ]
Re:Tutorial for Wykobi – A C++ Computational Geometry Library
by vespakoen on Monday March 06, 2017 @01:38AM
(#13801072)
I guess d3 (https://github.com/d3/d3/blob/master/API.md) can handle most of these things.
Others you can check out:
- 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
Re:Tutorial for Wykobi – A C++ Computational Geometry Library
by willvarfar on Monday March 06, 2017 @10:14AM
(#13803146)
csg.js is a computational solid geometry 3D library for Javascript.
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