@thi.ng/geom-closest-point 2.1.209 → 2.1.210
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 +17 -16
- package/package.json +6 -6
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-closest-point)
|
|
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)
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
|
|
27
28
|
## About
|
|
28
29
|
|
|
29
|
-
2D / 3D closest point / proximity helpers. This is a support package for [@thi.ng/geom](https://
|
|
30
|
+
2D / 3D closest point / proximity helpers. This is a support package for [@thi.ng/geom](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom).
|
|
30
31
|
|
|
31
32
|
Current implementations partially based on
|
|
32
33
|
[toxiclibs](http://toxiclibs.org) (Java) and Clojure version of
|
|
@@ -36,12 +37,12 @@ Current implementations partially based on
|
|
|
36
37
|
|
|
37
38
|
**STABLE** - used in production
|
|
38
39
|
|
|
39
|
-
[Search or submit any issues for this package](https://
|
|
40
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bgeom-closest-point%5D)
|
|
40
41
|
|
|
41
42
|
## Related packages
|
|
42
43
|
|
|
43
|
-
- [@thi.ng/geom-isec](https://
|
|
44
|
-
- [@thi.ng/geom-resample](https://
|
|
44
|
+
- [@thi.ng/geom-isec](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-isec) - 2D/3D shape intersection checks
|
|
45
|
+
- [@thi.ng/geom-resample](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-resample) - Customizable nD polyline interpolation, re-sampling, splitting & nearest point computation
|
|
45
46
|
|
|
46
47
|
## Installation
|
|
47
48
|
|
|
@@ -73,21 +74,21 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.08 KB
|
|
|
73
74
|
|
|
74
75
|
## Dependencies
|
|
75
76
|
|
|
76
|
-
- [@thi.ng/api](https://
|
|
77
|
-
- [@thi.ng/math](https://
|
|
78
|
-
- [@thi.ng/vectors](https://
|
|
77
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
78
|
+
- [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
|
|
79
|
+
- [@thi.ng/vectors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vectors)
|
|
79
80
|
|
|
80
81
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
81
82
|
|
|
82
83
|
## Usage examples
|
|
83
84
|
|
|
84
85
|
One project in this repo's
|
|
85
|
-
[/examples](https://
|
|
86
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
86
87
|
directory is using this package:
|
|
87
88
|
|
|
88
|
-
| Screenshot | Description | Live demo | Source
|
|
89
|
-
|
|
90
|
-
| <img src="https://
|
|
89
|
+
| Screenshot | Description | Live demo | Source |
|
|
90
|
+
|:-------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------|:--------------------------------------------------------|:---------------------------------------------------------------------------------------------|
|
|
91
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/ellipse-proximity.png" width="240"/> | Interactive visualization of closest points on ellipses | [Demo](https://demo.thi.ng/umbrella/ellipse-proximity/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/ellipse-proximity) |
|
|
91
92
|
|
|
92
93
|
## API
|
|
93
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-closest-point",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.210",
|
|
4
4
|
"description": "2D / 3D closest point / proximity helpers",
|
|
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-closest-point"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/geom-closest-point",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/math": "^5.15.
|
|
45
|
-
"@thi.ng/vectors": "^8.6.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/math": "^5.15.7",
|
|
45
|
+
"@thi.ng/vectors": "^8.6.26"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"esbuild": "^0.27.2",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
],
|
|
107
107
|
"year": 2018
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
110
110
|
}
|