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.
STABLE - used in production
Search or submit any issues for this package
- @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 import:
<script type="module" src="https://cdn.skypack.dev/@thi.ng/geom-fuzz"></script>
For NodeJS (v14.6+):
node --experimental-specifier-resolution=node --experimental-repl-await
> const geomFuzz = await import("@thi.ng/geom-fuzz");
Package sizes (gzipped, pre-treeshake): ESM: 1.12 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
If this project contributes to an academic publication, please cite it as:
@misc{thing-geom-fuzz,
title = "@thi.ng/geom-fuzz",
author = "Karsten Schmidt",
note = "https://thi.ng/geom-fuzz",
year = 2020
}
© 2020 - 2021 Karsten Schmidt // Apache Software License 2.0