@thi.ng/geom-fuzz 3.0.87 → 3.0.89

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.
Files changed (4) hide show
  1. package/README.md +1 -1
  2. package/dots.js +1 -1
  3. package/hatch.js +2 -2
  4. package/package.json +11 -11
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
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
  > [!NOTE]
10
- > This is one of 210 standalone projects, maintained as part
10
+ > This is one of 211 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
package/dots.js CHANGED
@@ -26,7 +26,7 @@ const defDots = (opts = {}) => {
26
26
  const rows = ~~(h / opts.space);
27
27
  const maxg = [cols - 1, rows - 1];
28
28
  const acc = [];
29
- for (let p of range2d(cols, rows)) {
29
+ for (const p of range2d(cols, rows)) {
30
30
  if (p[1] & 1) p[0] += 0.5;
31
31
  unmapPoint(box, div2(null, p, maxg), p);
32
32
  jitter(p, p, opts.jitter);
package/hatch.js CHANGED
@@ -39,12 +39,12 @@ const defHatch = (opts = {}) => {
39
39
  rows,
40
40
  tx: opts.tx || (opts.flip ? { x: flipX, y: flipY, xy: flipXY }[opts.flip] : ident)
41
41
  });
42
- for (let [a, b] of partition(2, grid)) {
42
+ for (const [a, b] of partition(2, grid)) {
43
43
  unmapPoint(box, div2(null, a, maxg), a);
44
44
  unmapPoint(box, div2(null, b, maxg), b);
45
45
  const segments = clipLinePoly(a, b, shape.points);
46
46
  if (segments) {
47
- for (let s of segments) {
47
+ for (const s of segments) {
48
48
  acc.children.push(line(s[0], s[1], false));
49
49
  }
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-fuzz",
3
- "version": "3.0.87",
3
+ "version": "3.0.89",
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",
@@ -39,15 +39,15 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.12.8",
43
- "@thi.ng/color": "^5.8.3",
44
- "@thi.ng/geom": "^8.3.7",
45
- "@thi.ng/geom-clip-line": "^2.3.159",
46
- "@thi.ng/geom-resample": "^3.0.69",
47
- "@thi.ng/grid-iterators": "^4.0.142",
48
- "@thi.ng/object-utils": "^1.3.0",
49
- "@thi.ng/transducers": "^9.6.17",
50
- "@thi.ng/vectors": "^8.6.13"
42
+ "@thi.ng/api": "^8.12.10",
43
+ "@thi.ng/color": "^5.8.5",
44
+ "@thi.ng/geom": "^8.3.9",
45
+ "@thi.ng/geom-clip-line": "^2.3.161",
46
+ "@thi.ng/geom-resample": "^3.0.71",
47
+ "@thi.ng/grid-iterators": "^4.0.144",
48
+ "@thi.ng/object-utils": "^1.3.2",
49
+ "@thi.ng/transducers": "^9.6.19",
50
+ "@thi.ng/vectors": "^8.6.15"
51
51
  },
52
52
  "devDependencies": {
53
53
  "esbuild": "^0.27.0",
@@ -123,5 +123,5 @@
123
123
  "tag": "fuzzy",
124
124
  "year": 2020
125
125
  },
126
- "gitHead": "be6e7657b1e5c54d7d648d1b52888a7297e95a17\n"
126
+ "gitHead": "824bf9047b5a10f777c5c5b4aeecf0c750a22c75\n"
127
127
  }