This project is part of the @thi.ng/umbrella monorepo and anti-framework.
2D/3D convex polygon tessellators. This is a support package for @thi.ng/geom.
Note: Though not officially supported, all functions might also work (in principle) with concave polygons, though correct results are highly dependent on the concavities present. YMMV!
STABLE - used in production
Search or submit any issues for this package
yarn add @thi.ng/geom-tessellate
ES module import:
<script type="module" src="https://cdn.skypack.dev/@thi.ng/geom-tessellate"></script>
For Node.js REPL:
const geomTessellate = await import("@thi.ng/geom-tessellate");
Package sizes (brotli'd, pre-treeshake): ESM: 1018 bytes
- @thi.ng/checks
- @thi.ng/geom-api
- @thi.ng/geom-isec
- @thi.ng/geom-poly-utils
- @thi.ng/transducers
- @thi.ng/vectors
Several projects in this repo's /examples directory are using this package:
Screenshot | Description | Live demo | Source |
---|---|---|---|
Animated, recursive polygon tessellations | Demo | Source | |
Live coding playground for 2D geometry generation using @thi.ng/pointfree-lang | Demo | Source |
TODO
If this project contributes to an academic publication, please cite it as:
@misc{thing-geom-tessellate,
title = "@thi.ng/geom-tessellate",
author = "Karsten Schmidt",
note = "https://thi.ng/geom-tessellate",
year = 2013
}
© 2013 - 2023 Karsten Schmidt // Apache License 2.0