7 packages found
angle between the center and each corner of a regular minimal polygon in n dimensions
Functional library for precise access to integer sequences such as prime numbers, square numbers, triangle numbers, etc
get barycentric coordinates for triangle and tetrahedron, convert to/from cartesian coordinates, interpolate vertex normals
quickly convert a triangle mesh into a set of tetrahedra that occupy approximately the same volume as the original mesh
Signed distance function for arbitrary tetrahedron, suitable for marching cubes etc. Includes fast function to check if tetrahedron contains point.
CommonJS port of George Hart's polyhedral notation library
- conway
- hart
- polyhedra
- polytope
- subdivision
- icosahedron
- dodecahedron
- cube
- tetrahedron
- polyhedron
- mesh
- triangle
- surface
- 3d
Geometries for 3D rendering, including normals, UVs and cell indices (faces). Perfect if you want to supercharge your dependency folder... with 30KB of geometries.