This project is part of the @thi.ng/umbrella monorepo.
@thi.ng/rdom component wrapper for @thi.ng/hiccup-canvas and declarative canvas drawing.
ALPHA - bleeding edge / work-in-progress
Search or submit any issues for this package
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: 554 bytes / CJS: 626 bytes / UMD: 745 bytes
Several demos in this repo's /examples directory are using this package.
A selection:
Screenshot | Description | Live demo | Source |
---|---|---|---|
![]() | Interactive visualization of closest points on ellipses | Demo | Source |
![]() | rdom & hiccup-canvas interop test | Demo | Source |
TODO
Karsten Schmidt
If this project contributes to an academic publication, please cite it as:
@misc{thing-rdom-canvas,
title = "@thi.ng/rdom-canvas",
author = "Karsten Schmidt",
note = "https://thi.ng/rdom-canvas",
year = 2020
}
© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
Generated using TypeDoc