I've just released Geo2D, a Lua library with 100's of functions for 2D computational geometry. The repo also includes a picotron compatible version: https://github.com/eigenbom/lua-geo2d. This cart demonstrates some of the features, like closest point, aabb operations, polygon triangulation, etc. Enjoy!
(In browser press 'x' to skip to next demo, or 'z' to reseed the current demo.)
[Please log in to post a comment]