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

    0.5.14 • Public • Published

    scenegraph

    npm version npm downloads Twitter Follow

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

    About

    Extensible 2D/3D scene graph with @thi.ng/hiccup-canvas support.

    Status

    ALPHA - bleeding edge / work-in-progress

    Search or submit any issues for this package

    Related packages

    Installation

    yarn add @thi.ng/scenegraph

    ES module import:

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

    Skypack documentation

    For Node.js REPL:

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

    Package sizes (gzipped, pre-treeshake): ESM: 978 bytes

    Dependencies

    Usage examples

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

    A selection:

    Screenshot Description Live demo Source
    2D scenegraph & shape picking Demo Source
    2D scenegraph & image map based geometry manipulation Demo Source
    Minimal shader graph developed during livestream #2 Demo Source

    API

    Generated API docs

    TODO

    Authors

    Karsten Schmidt

    If this project contributes to an academic publication, please cite it as:

    @misc{thing-scenegraph,
      title = "@thi.ng/scenegraph",
      author = "Karsten Schmidt",
      note = "https://thi.ng/scenegraph",
      year = 2016
    }

    License

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

    Install

    npm i @thi.ng/scenegraph

    DownloadsWeekly Downloads

    13

    Version

    0.5.14

    License

    Apache-2.0

    Unpacked Size

    36 kB

    Total Files

    16

    Last publish

    Collaborators

    • thi.ng