Package Exports
- @thi.ng/geom-fuzz
- @thi.ng/geom-fuzz/api
- @thi.ng/geom-fuzz/comp
- @thi.ng/geom-fuzz/dots
- @thi.ng/geom-fuzz/hatch
- @thi.ng/geom-fuzz/line
- @thi.ng/geom-fuzz/points
- @thi.ng/geom-fuzz/polygon
- @thi.ng/geom-fuzz/presets
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
STABLE - used in production
Search or submit any issues for this package
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 import:
<script type="module" src="https://cdn.skypack.dev/@thi.ng/geom-fuzz"></script>
For Node.js REPL:
# with flag only for < v16
node --experimental-repl-await
> const geomFuzz = await import("@thi.ng/geom-fuzz");
Package sizes (gzipped, pre-treeshake): ESM: 1.23 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
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
}
License
© 2020 - 2022 Karsten Schmidt // Apache Software License 2.0