This project is part of the @thi.ng/umbrella monorepo.
Highly configurable, fuzzy line & polygon creation with presets and composable fill & stroke styles. Canvas & SVG support. This is a support package for @thi.ng/geom.
ALPHA - bleeding edge / work-in-progress
- @thi.ng/hiccup-canvas - Hiccup shape tree renderer for vanilla Canvas 2D contexts
- @thi.ng/hiccup-svg - SVG element functions for @thi.ng/hiccup & @thi.ng/hdom
yarn add @thi.ng/geom-fuzz
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/geom-fuzz?module" crossorigin></script>
// UMD
<script src="https://unpkg.com/@thi.ng/geom-fuzz/lib/index.umd.js" crossorigin></script>
Package sizes (gzipped, pre-treeshake): ESM: 1.01 KB / CJS: 1.10 KB / UMD: 1.19 KB
- @thi.ng/api
- @thi.ng/associative
- @thi.ng/color
- @thi.ng/geom
- @thi.ng/geom-api
- @thi.ng/geom-clip-line
- @thi.ng/geom-resample
- @thi.ng/grid-iterators
- @thi.ng/transducers
- @thi.ng/vectors
Several demos in this repo's /examples directory are using this package.
A selection:
Screenshot | Description | Live demo | Source |
---|---|---|---|
geom-fuzz basic shape & fill examples | Demo | Source |
TODO
Karsten Schmidt
© 2020 Karsten Schmidt // Apache Software License 2.0