JSPM

@thi.ng/geom-tessellate

0.2.38
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 626
  • Score
    100M100P100Q108776F
  • License Apache-2.0

2D/3D convex polygon tessellators

Package Exports

  • @thi.ng/geom-tessellate

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@thi.ng/geom-tessellate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

geom-tessellate

npm version npm downloads Twitter Follow

This project is part of the @thi.ng/umbrella monorepo.

About

2D/3D convex polygon tessellators.

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!

Status

STABLE - used in production

Installation

yarn add @thi.ng/geom-tessellate
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/geom-tessellate?module" crossorigin></script>

// UMD
<script src="https://unpkg.com/@thi.ng/geom-tessellate/lib/index.umd.js" crossorigin></script>

Package sizes (gzipped, pre-treeshake): ESM: 782 bytes / CJS: 872 bytes / UMD: 921 bytes

Dependencies

Usage examples

Several demos in this repo's /examples directory are using this package.

A selection:

Screenshot Description Live demo Source
Animated, recursive polygon tessellations Demo Source

API

Generated API docs

TODO

Authors

Karsten Schmidt

License

© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0