@thi.ng/geom-fuzz 2.1.41 → 2.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-11-30T22:27:37Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![geom-fuzz](https://media.thi.ng/umbrella/banners-20220914/thing-geom-fuzz.svg?4405356a)
3
+ # ![@thi.ng/geom-fuzz](https://media.thi.ng/umbrella/banners-20220914/thing-geom-fuzz.svg?4405356a)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/geom-fuzz.svg)](https://www.npmjs.com/package/@thi.ng/geom-fuzz)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/geom-fuzz.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -21,7 +21,7 @@ This project is part of the
21
21
 
22
22
  ## About
23
23
 
24
- 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](https://github.com/thi-ng/umbrella/tree/develop/packages/geom).
24
+ Highly configurable, fuzzy line & polygon creation with presets and composable fill & stroke styles. Canvas & SVG support
25
25
 
26
26
  ![example output](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom/geom-fuzz.png)
27
27
 
@@ -34,7 +34,7 @@ Highly configurable, fuzzy line & polygon creation with presets and composable f
34
34
  ## Related packages
35
35
 
36
36
  - [@thi.ng/hiccup-canvas](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-canvas) - Hiccup shape tree renderer for vanilla Canvas 2D contexts
37
- - [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) & [@thi.ng/hdom](https://github.com/thi-ng/umbrella/tree/develop/packages/hdom)
37
+ - [@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup-svg) - SVG element functions for [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/develop/packages/hiccup) & related tooling
38
38
 
39
39
  ## Installation
40
40
 
@@ -52,11 +52,8 @@ ES module import:
52
52
 
53
53
  For Node.js REPL:
54
54
 
55
- ```text
56
- # with flag only for < v16
57
- node --experimental-repl-await
58
-
59
- > const geomFuzz = await import("@thi.ng/geom-fuzz");
55
+ ```js
56
+ const geomFuzz = await import("@thi.ng/geom-fuzz");
60
57
  ```
61
58
 
62
59
  Package sizes (brotli'd, pre-treeshake): ESM: 1.13 KB
@@ -94,7 +91,7 @@ TODO
94
91
 
95
92
  ## Authors
96
93
 
97
- Karsten Schmidt
94
+ - [Karsten Schmidt](https://thi.ng)
98
95
 
99
96
  If this project contributes to an academic publication, please cite it as:
100
97
 
@@ -109,4 +106,4 @@ If this project contributes to an academic publication, please cite it as:
109
106
 
110
107
  ## License
111
108
 
112
- &copy; 2020 - 2022 Karsten Schmidt // Apache Software License 2.0
109
+ &copy; 2020 - 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -2,9 +2,9 @@ import type { Fn } from "@thi.ng/api";
2
2
  import type { IColor } from "@thi.ng/color";
3
3
  import type { Polygon } from "@thi.ng/geom";
4
4
  import type { IHiccupShape } from "@thi.ng/geom-api";
5
- export declare type Color = string | number[] | IColor;
6
- export declare type FillFn = Fn<Polygon, IHiccupShape>;
7
- export declare type HatchDir = "d" | "h" | "v";
5
+ export type Color = string | number[] | IColor;
6
+ export type FillFn = Fn<Polygon, IHiccupShape>;
7
+ export type HatchDir = "d" | "h" | "v";
8
8
  export interface FuzzyPolygonOpts {
9
9
  num: number;
10
10
  jitter: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-fuzz",
3
- "version": "2.1.41",
3
+ "version": "2.1.42",
4
4
  "description": "Highly configurable, fuzzy line & polygon creation with presets and composable fill & stroke styles. Canvas & SVG support",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/thi-ng/umbrella.git"
12
12
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/master/packages/geom-fuzz#readme",
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/geom-fuzz#readme",
14
14
  "funding": [
15
15
  {
16
16
  "type": "github",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "build": "yarn clean && tsc --declaration",
@@ -34,24 +34,24 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.5.1",
38
- "@thi.ng/associative": "^6.2.18",
39
- "@thi.ng/color": "^5.2.12",
40
- "@thi.ng/geom": "^4.0.0",
41
- "@thi.ng/geom-api": "^3.3.20",
42
- "@thi.ng/geom-clip-line": "^2.2.0",
43
- "@thi.ng/geom-resample": "^2.1.38",
44
- "@thi.ng/grid-iterators": "^2.3.24",
45
- "@thi.ng/transducers": "^8.3.25",
46
- "@thi.ng/vectors": "^7.5.26"
37
+ "@thi.ng/api": "^8.6.0",
38
+ "@thi.ng/associative": "^6.2.19",
39
+ "@thi.ng/color": "^5.2.13",
40
+ "@thi.ng/geom": "^4.0.1",
41
+ "@thi.ng/geom-api": "^3.3.21",
42
+ "@thi.ng/geom-clip-line": "^2.2.1",
43
+ "@thi.ng/geom-resample": "^2.1.39",
44
+ "@thi.ng/grid-iterators": "^2.3.25",
45
+ "@thi.ng/transducers": "^8.3.26",
46
+ "@thi.ng/vectors": "^7.5.27"
47
47
  },
48
48
  "devDependencies": {
49
- "@microsoft/api-extractor": "^7.33.5",
50
- "@thi.ng/testament": "^0.3.6",
49
+ "@microsoft/api-extractor": "^7.33.7",
50
+ "@thi.ng/testament": "^0.3.7",
51
51
  "rimraf": "^3.0.2",
52
52
  "tools": "^0.0.1",
53
- "typedoc": "^0.23.20",
54
- "typescript": "^4.8.4"
53
+ "typedoc": "^0.23.22",
54
+ "typescript": "^4.9.4"
55
55
  },
56
56
  "keywords": [
57
57
  "2d",
@@ -120,5 +120,5 @@
120
120
  ],
121
121
  "year": 2020
122
122
  },
123
- "gitHead": "5178ea1d7f4b2de86cf5101bdd73f6567518c0bd\n"
123
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
124
124
  }