Package Exports
- @thi.ng/geom-fuzz
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@thi.ng/geom-fuzz) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
This project is part of the @thi.ng/umbrella monorepo.
About
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.
Status
ALPHA - bleeding edge / work-in-progress
Related packages
- @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
Installation
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
Dependencies
- @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
Usage examples
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 |
API
TODO
Authors
Karsten Schmidt
License
© 2020 Karsten Schmidt // Apache Software License 2.0