@thi.ng/geom-hull 2.1.209 → 2.1.211
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/README.md +14 -13
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/geom-hull)
|
|
6
6
|

|
|
@@ -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://
|
|
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
|
|
15
|
-
>
|
|
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
|
- [Status](#status)
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
|
|
26
27
|
## About
|
|
27
28
|
|
|
28
|
-
Fast 2D convex hull (Graham Scan). This is a support package for [@thi.ng/geom](https://
|
|
29
|
+
Fast 2D convex hull (Graham Scan). This is a support package for [@thi.ng/geom](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom).
|
|
29
30
|
|
|
30
31
|
Current implementation is partially based on Clojure version of
|
|
31
32
|
[thi.ng/geom](http://thi.ng/geom).
|
|
@@ -34,7 +35,7 @@ Current implementation is partially based on Clojure version of
|
|
|
34
35
|
|
|
35
36
|
**STABLE** - used in production
|
|
36
37
|
|
|
37
|
-
[Search or submit any issues for this package](https://
|
|
38
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bgeom-hull%5D)
|
|
38
39
|
|
|
39
40
|
## Installation
|
|
40
41
|
|
|
@@ -66,18 +67,18 @@ Package sizes (brotli'd, pre-treeshake): ESM: 417 bytes
|
|
|
66
67
|
|
|
67
68
|
## Dependencies
|
|
68
69
|
|
|
69
|
-
- [@thi.ng/math](https://
|
|
70
|
-
- [@thi.ng/vectors](https://
|
|
70
|
+
- [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
|
|
71
|
+
- [@thi.ng/vectors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vectors)
|
|
71
72
|
|
|
72
73
|
## Usage examples
|
|
73
74
|
|
|
74
75
|
One project in this repo's
|
|
75
|
-
[/examples](https://
|
|
76
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
76
77
|
directory is using this package:
|
|
77
78
|
|
|
78
|
-
| Screenshot | Description | Live demo | Source
|
|
79
|
-
|
|
80
|
-
| <img src="https://
|
|
79
|
+
| Screenshot | Description | Live demo | Source |
|
|
80
|
+
|:------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------|:-------------------------------------------------------|:--------------------------------------------------------------------------------------------|
|
|
81
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/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://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/geom-convex-hull) |
|
|
81
82
|
|
|
82
83
|
## API
|
|
83
84
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-hull",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.211",
|
|
4
4
|
"description": "Fast 2D convex hull (Graham Scan)",
|
|
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://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/geom-hull"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/geom-hull",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/math": "^5.15.
|
|
44
|
-
"@thi.ng/vectors": "^8.6.
|
|
43
|
+
"@thi.ng/math": "^5.15.7",
|
|
44
|
+
"@thi.ng/vectors": "^8.6.27"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"esbuild": "^0.27.2",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"parent": "@thi.ng/geom",
|
|
81
81
|
"year": 2013
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "929fb6590178a41cbb77cbb87e07c59c61381607\n"
|
|
84
84
|
}
|