@thi.ng/geom 5.2.12 → 5.2.13

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**: 2023-10-23T07:37:37Z
3
+ - **Last updated**: 2023-10-27T16:56:24Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [5.2.13](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom@5.2.13) (2023-10-27)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update vector imports ([5884c2b](https://github.com/thi-ng/umbrella/commit/5884c2b))
17
+
12
18
  ## [5.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom@5.2.0) (2023-08-29)
13
19
 
14
20
  #### 🚀 Features
package/README.md CHANGED
@@ -200,7 +200,7 @@ For Node.js REPL:
200
200
  const geom = await import("@thi.ng/geom");
201
201
  ```
202
202
 
203
- Package sizes (brotli'd, pre-treeshake): ESM: 12.78 KB
203
+ Package sizes (brotli'd, pre-treeshake): ESM: 12.76 KB
204
204
 
205
205
  ## Dependencies
206
206
 
@@ -242,6 +242,7 @@ A selection:
242
242
 
243
243
  | Screenshot | Description | Live demo | Source |
244
244
  |:-----------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:------------------------------------------------------------|:-----------------------------------------------------------------------------------------|
245
+ | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/boid-basics.png" width="240"/> | Basic 2D boid simulation and spatial indexing neighbor lookups | [Demo](https://demo.thi.ng/umbrella/boid-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/boid-basics) |
245
246
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/canvas-recorder.png" width="240"/> | Self-modifying, animated typographic grid with emergent complex patterns | [Demo](https://demo.thi.ng/umbrella/canvas-recorder/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/canvas-recorder) |
246
247
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/fiber-basics.png" width="240"/> | Fiber-based cooperative multitasking basics | [Demo](https://demo.thi.ng/umbrella/fiber-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/fiber-basics) |
247
248
  | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/geom-convex-hull.png" width="240"/> | Convex hull & shape clipping of 2D polygons | [Demo](https://demo.thi.ng/umbrella/geom-convex-hull/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/geom-convex-hull) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom",
3
- "version": "5.2.12",
3
+ "version": "5.2.13",
4
4
  "description": "Functional, polymorphic API for 2D geometry types & SVG generation",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,32 +36,32 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@thi.ng/api": "^8.9.6",
39
- "@thi.ng/arrays": "^2.6.5",
40
- "@thi.ng/associative": "^6.3.14",
39
+ "@thi.ng/arrays": "^2.7.0",
40
+ "@thi.ng/associative": "^6.3.15",
41
41
  "@thi.ng/checks": "^3.4.6",
42
42
  "@thi.ng/defmulti": "^3.0.2",
43
43
  "@thi.ng/equiv": "^2.1.31",
44
44
  "@thi.ng/errors": "^2.4.0",
45
- "@thi.ng/geom-api": "^3.4.40",
46
- "@thi.ng/geom-arc": "^2.1.83",
47
- "@thi.ng/geom-clip-line": "^2.3.40",
48
- "@thi.ng/geom-clip-poly": "^2.1.82",
49
- "@thi.ng/geom-closest-point": "^2.1.78",
50
- "@thi.ng/geom-hull": "^2.1.78",
51
- "@thi.ng/geom-isec": "^2.1.82",
52
- "@thi.ng/geom-poly-utils": "^2.3.66",
53
- "@thi.ng/geom-resample": "^2.3.4",
54
- "@thi.ng/geom-splines": "^2.2.57",
55
- "@thi.ng/geom-subdiv-curve": "^2.1.82",
56
- "@thi.ng/geom-tessellate": "^2.1.82",
45
+ "@thi.ng/geom-api": "^3.4.41",
46
+ "@thi.ng/geom-arc": "^2.1.84",
47
+ "@thi.ng/geom-clip-line": "^2.3.41",
48
+ "@thi.ng/geom-clip-poly": "^2.1.83",
49
+ "@thi.ng/geom-closest-point": "^2.1.79",
50
+ "@thi.ng/geom-hull": "^2.1.79",
51
+ "@thi.ng/geom-isec": "^2.1.83",
52
+ "@thi.ng/geom-poly-utils": "^2.3.67",
53
+ "@thi.ng/geom-resample": "^2.3.5",
54
+ "@thi.ng/geom-splines": "^2.2.58",
55
+ "@thi.ng/geom-subdiv-curve": "^2.1.83",
56
+ "@thi.ng/geom-tessellate": "^2.1.83",
57
57
  "@thi.ng/hiccup": "^5.0.3",
58
- "@thi.ng/hiccup-svg": "^5.0.28",
59
- "@thi.ng/math": "^5.6.3",
60
- "@thi.ng/matrices": "^2.2.2",
58
+ "@thi.ng/hiccup-svg": "^5.0.29",
59
+ "@thi.ng/math": "^5.7.0",
60
+ "@thi.ng/matrices": "^2.2.3",
61
61
  "@thi.ng/random": "^3.6.10",
62
62
  "@thi.ng/strings": "^3.6.2",
63
- "@thi.ng/transducers": "^8.8.5",
64
- "@thi.ng/vectors": "^7.7.22"
63
+ "@thi.ng/transducers": "^8.8.6",
64
+ "@thi.ng/vectors": "^7.8.0"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@microsoft/api-extractor": "^7.38.0",
@@ -398,5 +398,5 @@
398
398
  ],
399
399
  "year": 2013
400
400
  },
401
- "gitHead": "fc6e14052ed24bf9196896980ceb9f398b6ea6c1\n"
401
+ "gitHead": "502e8fa937677ff7bc4fbd0906d8c8b4b0b471e5\n"
402
402
  }
package/scatter.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { SYSTEM } from "@thi.ng/random/system";
2
- import { randMinMax } from "@thi.ng/vectors/random";
2
+ import { randMinMax } from "@thi.ng/vectors/rand-minmax";
3
3
  import { bounds } from "./bounds.js";
4
4
  import { pointInside } from "./point-inside.js";
5
5
  /**