Options
All
  • Public
  • Public/Protected
  • All
Menu

@thi.ng/rdom-canvas

rdom-canvas

npm versionnpm downloads Twitter Follow

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

About

@thi.ng/rdom component wrapper for @thi.ng/hiccup-canvas and declarative canvas drawing.

Status

ALPHA - bleeding edge / work-in-progress

Search or submit any issues for this package

Related packages

Installation

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

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

Package sizes (gzipped, pre-treeshake): ESM: 584 bytes / CJS: 656 bytes / UMD: 783 bytes

Dependencies

Usage examples

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

A selection:

ScreenshotDescriptionLive demoSource
Interactive visualization of closest points on ellipsesDemoSource
rdom & hiccup-canvas interop testDemoSource

API

Generated API docs

TODO

Authors

Karsten Schmidt

License

© 2020 Karsten Schmidt // Apache Software License 2.0

Generated using TypeDoc