This project is part of the @thi.ng/umbrella monorepo.
Functional, polymorphic API for 2D geometry types & SVG generation.
This package acts as a higher-level frontend for most of the following related packages (which are more low-level, lightweight and usable by themselves too):
BETA - possibly breaking changes forthcoming
yarn add @thi.ng/geom
Package sizes (gzipped): ESM: 9.4KB / CJS: 9.6KB / UMD: 9.1KB
Several demos in this repo's /examples directory are using this package.
Poisson-disk shape-aware sampling, Voronoi & Minimum Spanning Tree visualization
Mouse gesture / stroke analysis, simplification, corner detection
Canvas based Immediate Mode GUI components
Animated sine plasma effect visualized using contour lines
3D wireframe textmode demo
© 2013 - 2020 Karsten Schmidt // Apache Software License 2.0
Generated using TypeDoc