@thi.ng/geom-tessellate
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.7 • Public • Published

    geom-tessellate

    npm version npm downloads Twitter Follow

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

    About

    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!

    Status

    STABLE - used in production

    Search or submit any issues for this package

    Installation

    yarn add @thi.ng/geom-tessellate

    ES module import:

    <script type="module" src="https://cdn.skypack.dev/@thi.ng/geom-tessellate"></script>

    Skypack documentation

    For Node.js REPL:

    # with flag only for < v16
    node --experimental-repl-await
    
    > const geomTessellate = await import("@thi.ng/geom-tessellate");
    

    Package sizes (gzipped, pre-treeshake): ESM: 1.11 KB

    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

    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
    }

    License

    © 2013 - 2021 Karsten Schmidt // Apache Software License 2.0

    Install

    npm i @thi.ng/geom-tessellate

    DownloadsWeekly Downloads

    25

    Version

    2.1.7

    License

    Apache-2.0

    Unpacked Size

    29.7 kB

    Total Files

    20

    Last publish

    Collaborators

    • thi.ng