@thi.ng/geom-tessellate 3.0.91 → 3.0.92

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 (2) hide show
  1. package/README.md +40 -39
  2. package/package.json +12 -12
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
- <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/geom-tessellate](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/banners/thing-geom-tessellate.svg?03f4de89)
2
+ <!-- Please see: https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
+ # ![@thi.ng/geom-tessellate](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/banners/thing-geom-tessellate.svg?03f4de89)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/geom-tessellate.svg)](https://www.npmjs.com/package/@thi.ng/geom-tessellate)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/geom-tessellate.svg)
@@ -8,11 +8,12 @@
8
8
 
9
9
  > [!NOTE]
10
10
  > This is one of 214 standalone projects, maintained as part
11
- > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
11
+ > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
12
  > and anti-framework.
13
13
  >
14
- > 🚀 Please help me to work full-time on these projects by [sponsoring me on
15
- > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring
15
+ > me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
16
+ > Thank you! ❤️
16
17
 
17
18
  - [About](#about)
18
19
  - [Tessellators](#tessellators)
@@ -36,7 +37,7 @@
36
37
 
37
38
  ## About
38
39
 
39
- 2D/3D convex polygon tessellators. This is a support package for [@thi.ng/geom](https://github.com/thi-ng/umbrella/tree/develop/packages/geom).
40
+ 2D/3D convex polygon tessellators. This is a support package for [@thi.ng/geom](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom).
40
41
 
41
42
  ### Tessellators
42
43
 
@@ -48,13 +49,13 @@ triangle, square, hexagon and octagon.
48
49
 
49
50
  #### Ear cut
50
51
 
51
- ![diagram of tessellated polygons](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom-tessellate/ear-cut.png)
52
+ ![diagram of tessellated polygons](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/geom-tessellate/ear-cut.png)
52
53
 
53
- - [earCut](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-tessellate/src/earcut.ts)
54
+ - [earCut](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-tessellate/src/earcut.ts)
54
55
 
55
56
  ##### Complex polygons
56
57
 
57
- - [earCutComplex](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-tessellate/src/earcut-complex.ts)
58
+ - [earCutComplex](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-tessellate/src/earcut-complex.ts)
58
59
 
59
60
  Higher order tessellator for concave polygons and/or polygons with holes...
60
61
 
@@ -62,48 +63,48 @@ TODO add comments, credits & example
62
63
 
63
64
  #### Edge split
64
65
 
65
- ![diagram of tessellated polygons](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom-tessellate/edge-split.png)
66
+ ![diagram of tessellated polygons](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/geom-tessellate/edge-split.png)
66
67
 
67
- - [edgeSplit](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-tessellate/src/edge-split.ts)
68
+ - [edgeSplit](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-tessellate/src/edge-split.ts)
68
69
 
69
70
  #### Inset
70
71
 
71
- ![diagram of tessellated polygons](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom-tessellate/inset.png)
72
+ ![diagram of tessellated polygons](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/geom-tessellate/inset.png)
72
73
 
73
- - [inset](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-tessellate/src/inset.ts)
74
+ - [inset](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-tessellate/src/inset.ts)
74
75
 
75
76
  Higher order tessellator with configurable inset distance (normalized) toward
76
77
  centroid and option to keep center polygon (empty by default).
77
78
 
78
79
  #### Quad fan
79
80
 
80
- ![diagram of tessellated polygons](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom-tessellate/quad-fan.png)
81
+ ![diagram of tessellated polygons](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/geom-tessellate/quad-fan.png)
81
82
 
82
- - [quadFan](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-tessellate/src/quad-fan.ts)
83
+ - [quadFan](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-tessellate/src/quad-fan.ts)
83
84
 
84
85
  #### Rim triangles
85
86
 
86
- ![diagram of tessellated polygons](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom-tessellate/rim-tris.png)
87
+ ![diagram of tessellated polygons](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/geom-tessellate/rim-tris.png)
87
88
 
88
- - [rimTris](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-tessellate/src/rim-tris.ts)
89
+ - [rimTris](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-tessellate/src/rim-tris.ts)
89
90
 
90
91
  #### Tri fan (with boundary point)
91
92
 
92
- ![diagram of tessellated polygons](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom-tessellate/tri-fan-boundary.png)
93
+ ![diagram of tessellated polygons](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/geom-tessellate/tri-fan-boundary.png)
93
94
 
94
- - [triFanBoundary](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-tessellate/src/tri-fan-boundary.ts)
95
+ - [triFanBoundary](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-tessellate/src/tri-fan-boundary.ts)
95
96
 
96
97
  #### Tri fan (with centroid)
97
98
 
98
- ![diagram of tessellated polygons](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom-tessellate/tri-fan.png)
99
+ ![diagram of tessellated polygons](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/geom-tessellate/tri-fan.png)
99
100
 
100
- - [triFan](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-tessellate/src/tri-fan.ts)
101
+ - [triFan](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-tessellate/src/tri-fan.ts)
101
102
 
102
103
  #### Tri fan (with edge splitting)
103
104
 
104
- ![diagram of tessellated polygons](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom-tessellate/tri-fan-split.png)
105
+ ![diagram of tessellated polygons](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/geom-tessellate/tri-fan-split.png)
105
106
 
106
- - [triFanSplit](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-tessellate/src/tri-fan-split.ts)
107
+ - [triFanSplit](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-tessellate/src/tri-fan-split.ts)
107
108
 
108
109
  ### The `ITessellation` interface & implementation
109
110
 
@@ -125,7 +126,7 @@ Currently, there're two implementations available:
125
126
 
126
127
  **STABLE** - used in production
127
128
 
128
- [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bgeom-tessellate%5D+in%3Atitle)
129
+ [Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bgeom-tessellate%5D)
129
130
 
130
131
  ## Installation
131
132
 
@@ -157,29 +158,29 @@ Package sizes (brotli'd, pre-treeshake): ESM: 3.32 KB
157
158
 
158
159
  ## Dependencies
159
160
 
160
- - [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
161
- - [@thi.ng/checks](https://github.com/thi-ng/umbrella/tree/develop/packages/checks)
162
- - [@thi.ng/geom-accel](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-accel)
163
- - [@thi.ng/geom-isec](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-isec)
164
- - [@thi.ng/geom-poly-utils](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-poly-utils)
165
- - [@thi.ng/math](https://github.com/thi-ng/umbrella/tree/develop/packages/math)
166
- - [@thi.ng/morton](https://github.com/thi-ng/umbrella/tree/develop/packages/morton)
167
- - [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers)
168
- - [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors)
161
+ - [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
162
+ - [@thi.ng/checks](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/checks)
163
+ - [@thi.ng/geom-accel](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-accel)
164
+ - [@thi.ng/geom-isec](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-isec)
165
+ - [@thi.ng/geom-poly-utils](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-poly-utils)
166
+ - [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
167
+ - [@thi.ng/morton](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/morton)
168
+ - [@thi.ng/transducers](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/transducers)
169
+ - [@thi.ng/vectors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vectors)
169
170
 
170
171
  Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
171
172
 
172
173
  ## Usage examples
173
174
 
174
175
  Three projects in this repo's
175
- [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
176
+ [/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
176
177
  directory are using this package:
177
178
 
178
- | Screenshot | Description | Live demo | Source |
179
- |:----------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------|:-----------------------------------------------------|:----------------------------------------------------------------------------------|
180
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/geom-hexgrid.png" width="240"/> | Hex grid generation & tessellations | [Demo](https://demo.thi.ng/umbrella/geom-hexgrid/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/geom-hexgrid) |
181
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/geom/tessel.png" width="240"/> | Animated, recursive polygon tessellations | [Demo](https://demo.thi.ng/umbrella/geom-tessel/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/geom-tessel) |
182
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/pointfree-geom.jpg" width="240"/> | Live coding playground for 2D geometry generation using @thi.ng/pointfree-lang | [Demo](https://demo.thi.ng/umbrella/pointfree-geom/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/pointfree-geom) |
179
+ | Screenshot | Description | Live demo | Source |
180
+ |:----------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------|:-----------------------------------------------------|:------------------------------------------------------------------------------------------|
181
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/geom-hexgrid.png" width="240"/> | Hex grid generation & tessellations | [Demo](https://demo.thi.ng/umbrella/geom-hexgrid/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/geom-hexgrid) |
182
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/geom/tessel.png" width="240"/> | Animated, recursive polygon tessellations | [Demo](https://demo.thi.ng/umbrella/geom-tessel/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/geom-tessel) |
183
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/pointfree-geom.jpg" width="240"/> | Live coding playground for 2D geometry generation using @thi.ng/pointfree-lang | [Demo](https://demo.thi.ng/umbrella/pointfree-geom/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/pointfree-geom) |
183
184
 
184
185
  ## API
185
186
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-tessellate",
3
- "version": "3.0.91",
3
+ "version": "3.0.92",
4
4
  "description": "2D/3D convex polygon tessellators",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,7 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/thi-ng/umbrella.git",
11
+ "url": "git+https://codeberg.org/thi.ng/umbrella.git",
12
12
  "directory": "packages/geom-tessellate"
13
13
  },
14
14
  "homepage": "https://thi.ng/geom-tessellate",
@@ -41,15 +41,15 @@
41
41
  "tool:viz": "bun tools/visualize.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@thi.ng/api": "^8.12.17",
45
- "@thi.ng/checks": "^3.8.7",
46
- "@thi.ng/geom-accel": "^4.1.84",
47
- "@thi.ng/geom-isec": "^4.0.81",
48
- "@thi.ng/geom-poly-utils": "^3.1.18",
49
- "@thi.ng/math": "^5.15.6",
50
- "@thi.ng/morton": "^3.1.140",
51
- "@thi.ng/transducers": "^9.6.30",
52
- "@thi.ng/vectors": "^8.6.25"
44
+ "@thi.ng/api": "^8.12.18",
45
+ "@thi.ng/checks": "^3.8.8",
46
+ "@thi.ng/geom-accel": "^4.1.85",
47
+ "@thi.ng/geom-isec": "^4.0.82",
48
+ "@thi.ng/geom-poly-utils": "^3.1.19",
49
+ "@thi.ng/math": "^5.15.7",
50
+ "@thi.ng/morton": "^3.1.141",
51
+ "@thi.ng/transducers": "^9.6.31",
52
+ "@thi.ng/vectors": "^8.6.26"
53
53
  },
54
54
  "devDependencies": {
55
55
  "esbuild": "^0.27.2",
@@ -124,5 +124,5 @@
124
124
  "tag": "tessellation",
125
125
  "year": 2013
126
126
  },
127
- "gitHead": "d46ec975b426bb2ceb137cab734395c97436d59b\n"
127
+ "gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
128
128
  }