@thi.ng/geom-splines 2.3.62 → 2.3.66
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/package.json +152 -152
- package/CHANGELOG.md +0 -57
package/package.json
CHANGED
|
@@ -1,153 +1,153 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
2
|
+
"name": "@thi.ng/geom-splines",
|
|
3
|
+
"version": "2.3.66",
|
|
4
|
+
"description": "nD cubic & quadratic curve analysis, conversion, interpolation, splitting",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./index.js",
|
|
7
|
+
"typings": "./index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://thi.ng/geom-splines",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "liberapay",
|
|
25
|
+
"url": "https://liberapay.com/thi.ng"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
29
|
+
"license": "Apache-2.0",
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "yarn build:esbuild && yarn build:decl",
|
|
32
|
+
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
33
|
+
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
|
+
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
|
+
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
37
|
+
"pub": "npm publish --access public",
|
|
38
|
+
"test": "bun test",
|
|
39
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@thi.ng/api": "^8.12.6",
|
|
43
|
+
"@thi.ng/checks": "^3.7.22",
|
|
44
|
+
"@thi.ng/geom-arc": "^2.1.199",
|
|
45
|
+
"@thi.ng/geom-resample": "^3.0.66",
|
|
46
|
+
"@thi.ng/math": "^5.13.3",
|
|
47
|
+
"@thi.ng/vectors": "^8.6.10"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"esbuild": "^0.25.11",
|
|
51
|
+
"typedoc": "^0.28.14",
|
|
52
|
+
"typescript": "^5.9.3"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"2d",
|
|
56
|
+
"3d",
|
|
57
|
+
"arc",
|
|
58
|
+
"bbox",
|
|
59
|
+
"bezier",
|
|
60
|
+
"conversion",
|
|
61
|
+
"cubic",
|
|
62
|
+
"curve",
|
|
63
|
+
"ellipse",
|
|
64
|
+
"geometry",
|
|
65
|
+
"interpolation",
|
|
66
|
+
"nd",
|
|
67
|
+
"proximity",
|
|
68
|
+
"quadratic",
|
|
69
|
+
"sample",
|
|
70
|
+
"shape",
|
|
71
|
+
"spline",
|
|
72
|
+
"split",
|
|
73
|
+
"typescript"
|
|
74
|
+
],
|
|
75
|
+
"publishConfig": {
|
|
76
|
+
"access": "public"
|
|
77
|
+
},
|
|
78
|
+
"engines": {
|
|
79
|
+
"node": ">=18"
|
|
80
|
+
},
|
|
81
|
+
"files": [
|
|
82
|
+
"./*.js",
|
|
83
|
+
"./*.d.ts",
|
|
84
|
+
"internal"
|
|
85
|
+
],
|
|
86
|
+
"exports": {
|
|
87
|
+
".": {
|
|
88
|
+
"default": "./index.js"
|
|
89
|
+
},
|
|
90
|
+
"./cubic-arc": {
|
|
91
|
+
"default": "./cubic-arc.js"
|
|
92
|
+
},
|
|
93
|
+
"./cubic-bounds": {
|
|
94
|
+
"default": "./cubic-bounds.js"
|
|
95
|
+
},
|
|
96
|
+
"./cubic-closest-point": {
|
|
97
|
+
"default": "./cubic-closest-point.js"
|
|
98
|
+
},
|
|
99
|
+
"./cubic-from-breakpoints": {
|
|
100
|
+
"default": "./cubic-from-breakpoints.js"
|
|
101
|
+
},
|
|
102
|
+
"./cubic-from-controlpoints": {
|
|
103
|
+
"default": "./cubic-from-controlpoints.js"
|
|
104
|
+
},
|
|
105
|
+
"./cubic-hobby": {
|
|
106
|
+
"default": "./cubic-hobby.js"
|
|
107
|
+
},
|
|
108
|
+
"./cubic-line": {
|
|
109
|
+
"default": "./cubic-line.js"
|
|
110
|
+
},
|
|
111
|
+
"./cubic-quadratic": {
|
|
112
|
+
"default": "./cubic-quadratic.js"
|
|
113
|
+
},
|
|
114
|
+
"./cubic-sample": {
|
|
115
|
+
"default": "./cubic-sample.js"
|
|
116
|
+
},
|
|
117
|
+
"./cubic-split": {
|
|
118
|
+
"default": "./cubic-split.js"
|
|
119
|
+
},
|
|
120
|
+
"./cubic-tangent": {
|
|
121
|
+
"default": "./cubic-tangent.js"
|
|
122
|
+
},
|
|
123
|
+
"./point-at": {
|
|
124
|
+
"default": "./point-at.js"
|
|
125
|
+
},
|
|
126
|
+
"./quadratic-bounds": {
|
|
127
|
+
"default": "./quadratic-bounds.js"
|
|
128
|
+
},
|
|
129
|
+
"./quadratic-closest-point": {
|
|
130
|
+
"default": "./quadratic-closest-point.js"
|
|
131
|
+
},
|
|
132
|
+
"./quadratic-line": {
|
|
133
|
+
"default": "./quadratic-line.js"
|
|
134
|
+
},
|
|
135
|
+
"./quadratic-sample": {
|
|
136
|
+
"default": "./quadratic-sample.js"
|
|
137
|
+
},
|
|
138
|
+
"./quadratic-split": {
|
|
139
|
+
"default": "./quadratic-split.js"
|
|
140
|
+
},
|
|
141
|
+
"./quadratic-tangent": {
|
|
142
|
+
"default": "./quadratic-tangent.js"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"thi.ng": {
|
|
146
|
+
"parent": "@thi.ng/geom",
|
|
147
|
+
"related": [
|
|
148
|
+
"geom-subdiv-curve"
|
|
149
|
+
],
|
|
150
|
+
"tag": "bezier"
|
|
151
|
+
},
|
|
152
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
153
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-09-01T16:38:35Z
|
|
4
|
-
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
-
|
|
6
|
-
All notable changes to this project will be documented in this file.
|
|
7
|
-
Only versions published since **2022-01-01** are listed here.
|
|
8
|
-
Please consult the Git history for older version information.
|
|
9
|
-
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
10
|
-
|
|
11
|
-
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
|
-
and/or version bumps of transitive dependencies.
|
|
13
|
-
|
|
14
|
-
### [2.3.41](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-splines@2.3.41) (2025-04-16)
|
|
15
|
-
|
|
16
|
-
#### ♻️ Refactoring
|
|
17
|
-
|
|
18
|
-
- minor internal optimizations (vector ops) ([08c58f6](https://github.com/thi-ng/umbrella/commit/08c58f6))
|
|
19
|
-
|
|
20
|
-
## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-splines@2.3.0) (2024-06-21)
|
|
21
|
-
|
|
22
|
-
#### 🚀 Features
|
|
23
|
-
|
|
24
|
-
- add cubicHobby() curve fitting ([1cefc37](https://github.com/thi-ng/umbrella/commit/1cefc37))
|
|
25
|
-
|
|
26
|
-
#### ⏱ Performance improvements
|
|
27
|
-
|
|
28
|
-
- update cubicHobby2() ([33bb393](https://github.com/thi-ng/umbrella/commit/33bb393))
|
|
29
|
-
|
|
30
|
-
#### ♻️ Refactoring
|
|
31
|
-
|
|
32
|
-
- remove geom-api dep, update imports ([eab7bb9](https://github.com/thi-ng/umbrella/commit/eab7bb9))
|
|
33
|
-
- enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
|
|
34
|
-
|
|
35
|
-
### [2.2.61](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-splines@2.2.61) (2023-11-09)
|
|
36
|
-
|
|
37
|
-
#### ♻️ Refactoring
|
|
38
|
-
|
|
39
|
-
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
40
|
-
|
|
41
|
-
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-splines@2.2.0) (2022-09-21)
|
|
42
|
-
|
|
43
|
-
#### 🚀 Features
|
|
44
|
-
|
|
45
|
-
- add quadraticFromCubic() conversion ([0060a36](https://github.com/thi-ng/umbrella/commit/0060a36))
|
|
46
|
-
|
|
47
|
-
### [2.1.22](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-splines@2.1.22) (2022-08-06)
|
|
48
|
-
|
|
49
|
-
#### ⏱ Performance improvements
|
|
50
|
-
|
|
51
|
-
- update vector fns ([3fcfc51](https://github.com/thi-ng/umbrella/commit/3fcfc51))
|
|
52
|
-
|
|
53
|
-
### [2.1.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-splines@2.1.8) (2022-03-11)
|
|
54
|
-
|
|
55
|
-
#### ♻️ Refactoring
|
|
56
|
-
|
|
57
|
-
- minor refactor internal helper ([82c0cea](https://github.com/thi-ng/umbrella/commit/82c0cea))
|