Options
All
  • Public
  • Public/Protected
  • All
Menu

@thi.ng/scenegraph

scenegraph

npm versionnpm downloads Twitter Follow

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

About

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

Status

ALPHA - bleeding edge / work-in-progress

Installation

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

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

Package sizes (gzipped, pre-treeshake): ESM: 779 bytes / CJS: 822 bytes / UMD: 927 bytes

Dependencies

Usage examples

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

A selection:

ScreenshotDescriptionLive demoSource
2D scenegraph & shape pickingDemoSource
2D scenegraph & image map based geometry manipulationDemoSource

API

Generated API docs

TODO

Authors

Karsten Schmidt

License

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

Generated using TypeDoc