@thi.ng/geom 8.0.1 → 8.0.3

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 (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +18 -20
  3. package/package.json +32 -32
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-06-29T09:28:36Z
3
+ - **Last updated**: 2024-07-06T12:02:19Z
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
@@ -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 189 standalone projects, maintained as part
10
+ > This is one of 188 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
  >
@@ -333,14 +333,12 @@ but the package provides presets for common options/implementations:
333
333
 
334
334
  To be used with [`subdivideCurve()`](https://docs.thi.ng/umbrella/geom/functions/subdivCurve.html):
335
335
 
336
- - [SUBDIV_CHAIKIN_CLOSED](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_CHAIKIN_CLOSED.html)
337
- - [SUBDIV_CHAIKIN_OPEN](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_CHAIKIN_OPEN.html)
338
- - [SUBDIV_CUBIC_CLOSED](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_CUBIC_CLOSED.html)
339
- - [SUBDIV_DISPLACE](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_DISPLACE.html)
340
- - [SUBDIV_MID_CLOSED](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_MID_CLOSED.html)
341
- - [SUBDIV_MID_OPEN](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_MID_OPEN.html)
342
- - [SUBDIV_THIRDS_CLOSED](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_THIRDS_CLOSED.html)
343
- - [SUBDIV_THIRDS_OPEN](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_THIRDS_OPEN.html)
336
+ - [SUBDIV_CHAIKIN](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_CHAIKIN.html)
337
+ - [SUBDIV_CUBIC](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_CUBIC.html)
338
+ - [SUBDIV_DISPLACE](https://docs.thi.ng/umbrella/geom/functions/SUBDIV_DISPLACE.html)
339
+ - [SUBDIV_DLG](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_DLG.html)
340
+ - [SUBDIV_MID](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_MID.html)
341
+ - [SUBDIV_THIRDS](https://docs.thi.ng/umbrella/geom/variables/SUBDIV_THIRDS.html)
344
342
 
345
343
  #### Polygon tessellation algorithms
346
344
 
@@ -350,21 +348,21 @@ See [thi.ng/geom-tessellate
350
348
  readme](https://github.com/thi-ng/umbrella/blob/develop/packages/geom-tessellate/README.md#tessellators)
351
349
  for diagrams/illustrations of each algorithm!
352
350
 
353
- - [TESSELLATE_EARCUT](https://docs.thi.ng/umbrella/geom/variables/TESSELLATE_EARCUT.html)
354
- - [TESSELLATE_EARCUT_COMPLEX](https://docs.thi.ng/umbrella/geom/variables/TESSELLATE_EARCUT_COMPLEX.html)
355
- - [TESSELLATE_EDGE_SPLIT](https://docs.thi.ng/umbrella/geom/variables/TESSELLATE_EDGE_SPLIT.html)
356
- - [TESSELLATE_INSET](https://docs.thi.ng/umbrella/geom/variables/TESSELLATE_INSET.html)
357
- - [TESSELLATE_QUAD_FAN](https://docs.thi.ng/umbrella/geom/variables/TESSELLATE_QUAD_FAN.html)
358
- - [TESSELLATE_RIM_TRIS](https://docs.thi.ng/umbrella/geom/variables/TESSELLATE_RIM_TRIS.html)
359
- - [TESSELLATE_TRI_FAN](https://docs.thi.ng/umbrella/geom/variables/TESSELLATE_TRI_FAN.html)
360
- - [TESSELLATE_TRI_FAN_BOUNDARY](https://docs.thi.ng/umbrella/geom/variables/TESSELLATE_TRI_FAN_BOUNDARY.html)
361
- - [TESSELLATE_TRI_FAN_SPLIT](https://docs.thi.ng/umbrella/geom/variables/TESSELLATE_TRI_FAN_SPLIT.html)
351
+ - [TESSELLATE_EARCUT](https://docs.thi.ng/umbrella/geom/functions/TESSELLATE_EARCUT.html)
352
+ - [TESSELLATE_EARCUT_COMPLEX](https://docs.thi.ng/umbrella/geom/functions/TESSELLATE_EARCUT_COMPLEX.html)
353
+ - [TESSELLATE_EDGE_SPLIT](https://docs.thi.ng/umbrella/geom/functions/TESSELLATE_EDGE_SPLIT.html)
354
+ - [TESSELLATE_INSET](https://docs.thi.ng/umbrella/geom/functions/TESSELLATE_INSET.html)
355
+ - [TESSELLATE_QUAD_FAN](https://docs.thi.ng/umbrella/geom/functions/TESSELLATE_QUAD_FAN.html)
356
+ - [TESSELLATE_RIM_TRIS](https://docs.thi.ng/umbrella/geom/functions/TESSELLATE_RIM_TRIS.html)
357
+ - [TESSELLATE_TRI_FAN](https://docs.thi.ng/umbrella/geom/functions/TESSELLATE_TRI_FAN.html)
358
+ - [TESSELLATE_TRI_FAN_BOUNDARY](https://docs.thi.ng/umbrella/geom/functions/TESSELLATE_TRI_FAN_BOUNDARY.html)
359
+ - [TESSELLATE_TRI_FAN_SPLIT](https://docs.thi.ng/umbrella/geom/functions/TESSELLATE_TRI_FAN_SPLIT.html)
362
360
 
363
361
  Tessellation behaviors:
364
362
 
365
- - [`basicTessellation()`](https://docs.thi.ng/umbrella/geom/functions/basicTessellation.html):
363
+ - [basicTessellation()](https://docs.thi.ng/umbrella/geom/functions/basicTessellation.html):
366
364
  default impl
367
- - [`meshTessellation()`](https://docs.thi.ng/umbrella/geom/functions/meshTessellation.html):
365
+ - [meshTessellation()](https://docs.thi.ng/umbrella/geom/functions/meshTessellation.html):
368
366
  uses kD-tree to deduplicate result points
369
367
 
370
368
  Tessellation post-processing:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
4
4
  "description": "Functional, polymorphic API for 2D geometry types & SVG generation",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,39 +37,39 @@
37
37
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@thi.ng/adjacency": "^2.5.53",
41
- "@thi.ng/api": "^8.11.4",
42
- "@thi.ng/arrays": "^2.9.8",
43
- "@thi.ng/associative": "^6.3.62",
44
- "@thi.ng/checks": "^3.6.6",
45
- "@thi.ng/defmulti": "^3.0.41",
46
- "@thi.ng/equiv": "^2.1.60",
47
- "@thi.ng/errors": "^2.5.9",
48
- "@thi.ng/geom-arc": "^2.1.134",
49
- "@thi.ng/geom-clip-line": "^2.3.91",
50
- "@thi.ng/geom-clip-poly": "^2.1.133",
51
- "@thi.ng/geom-closest-point": "^2.1.129",
52
- "@thi.ng/geom-hull": "^2.1.129",
53
- "@thi.ng/geom-isec": "^4.0.1",
54
- "@thi.ng/geom-poly-utils": "^3.0.1",
55
- "@thi.ng/geom-resample": "^3.0.1",
56
- "@thi.ng/geom-splines": "^2.3.1",
57
- "@thi.ng/geom-subdiv-curve": "^3.0.1",
58
- "@thi.ng/geom-tessellate": "^3.0.1",
59
- "@thi.ng/hiccup": "^5.2.3",
60
- "@thi.ng/hiccup-svg": "^5.3.1",
61
- "@thi.ng/math": "^5.11.1",
62
- "@thi.ng/matrices": "^2.4.1",
63
- "@thi.ng/random": "^3.8.2",
64
- "@thi.ng/strings": "^3.7.35",
65
- "@thi.ng/transducers": "^9.0.7",
66
- "@thi.ng/vectors": "^7.11.1"
40
+ "@thi.ng/adjacency": "^2.5.55",
41
+ "@thi.ng/api": "^8.11.5",
42
+ "@thi.ng/arrays": "^2.9.10",
43
+ "@thi.ng/associative": "^6.3.64",
44
+ "@thi.ng/checks": "^3.6.7",
45
+ "@thi.ng/defmulti": "^3.0.43",
46
+ "@thi.ng/equiv": "^2.1.61",
47
+ "@thi.ng/errors": "^2.5.11",
48
+ "@thi.ng/geom-arc": "^2.1.136",
49
+ "@thi.ng/geom-clip-line": "^2.3.93",
50
+ "@thi.ng/geom-clip-poly": "^2.1.135",
51
+ "@thi.ng/geom-closest-point": "^2.1.131",
52
+ "@thi.ng/geom-hull": "^2.1.131",
53
+ "@thi.ng/geom-isec": "^4.0.3",
54
+ "@thi.ng/geom-poly-utils": "^3.0.3",
55
+ "@thi.ng/geom-resample": "^3.0.3",
56
+ "@thi.ng/geom-splines": "^2.3.3",
57
+ "@thi.ng/geom-subdiv-curve": "^3.0.3",
58
+ "@thi.ng/geom-tessellate": "^3.0.3",
59
+ "@thi.ng/hiccup": "^5.2.5",
60
+ "@thi.ng/hiccup-svg": "^5.3.3",
61
+ "@thi.ng/math": "^5.11.3",
62
+ "@thi.ng/matrices": "^2.4.3",
63
+ "@thi.ng/random": "^3.8.4",
64
+ "@thi.ng/strings": "^3.7.37",
65
+ "@thi.ng/transducers": "^9.0.9",
66
+ "@thi.ng/vectors": "^7.11.3"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@microsoft/api-extractor": "^7.47.0",
70
- "esbuild": "^0.21.5",
71
- "typedoc": "^0.25.13",
72
- "typescript": "^5.5.2"
70
+ "esbuild": "^0.23.0",
71
+ "typedoc": "^0.26.3",
72
+ "typescript": "^5.5.3"
73
73
  },
74
74
  "keywords": [
75
75
  "2d",
@@ -527,5 +527,5 @@
527
527
  ],
528
528
  "year": 2013
529
529
  },
530
- "gitHead": "7b950c112fba0b2e7c450765b15624c3382f1354\n"
530
+ "gitHead": "ba4f2cd15eeb0cae30efe222524da4fed2a57267\n"
531
531
  }