@thi.ng/geom-subdiv-curve 3.0.69 → 3.0.73
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 +96 -96
- package/CHANGELOG.md +0 -54
package/package.json
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
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
|
-
}
|
|
2
|
+
"name": "@thi.ng/geom-subdiv-curve",
|
|
3
|
+
"version": "3.0.73",
|
|
4
|
+
"description": "Freely customizable, iterative nD subdivision curves for open / closed geometries",
|
|
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-subdiv-curve",
|
|
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
|
+
"tool:viz": "bun tools/visualize.ts"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@thi.ng/transducers": "^9.6.14",
|
|
44
|
+
"@thi.ng/vectors": "^8.6.10"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"esbuild": "^0.25.11",
|
|
48
|
+
"typedoc": "^0.28.14",
|
|
49
|
+
"typescript": "^5.9.3"
|
|
50
|
+
},
|
|
51
|
+
"keywords": [
|
|
52
|
+
"2d",
|
|
53
|
+
"3d",
|
|
54
|
+
"bezier",
|
|
55
|
+
"chaikin",
|
|
56
|
+
"cubic",
|
|
57
|
+
"curve",
|
|
58
|
+
"iterative",
|
|
59
|
+
"polyline",
|
|
60
|
+
"recursion",
|
|
61
|
+
"spline",
|
|
62
|
+
"subdivision",
|
|
63
|
+
"typescript"
|
|
64
|
+
],
|
|
65
|
+
"publishConfig": {
|
|
66
|
+
"access": "public"
|
|
67
|
+
},
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=18"
|
|
70
|
+
},
|
|
71
|
+
"files": [
|
|
72
|
+
"./*.js",
|
|
73
|
+
"./*.d.ts"
|
|
74
|
+
],
|
|
75
|
+
"exports": {
|
|
76
|
+
".": {
|
|
77
|
+
"default": "./index.js"
|
|
78
|
+
},
|
|
79
|
+
"./api": {
|
|
80
|
+
"default": "./api.js"
|
|
81
|
+
},
|
|
82
|
+
"./kernels": {
|
|
83
|
+
"default": "./kernels.js"
|
|
84
|
+
},
|
|
85
|
+
"./subdivide": {
|
|
86
|
+
"default": "./subdivide.js"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"thi.ng": {
|
|
90
|
+
"parent": "@thi.ng/geom",
|
|
91
|
+
"related": [
|
|
92
|
+
"geom-splines"
|
|
93
|
+
],
|
|
94
|
+
"tag": "subdivision"
|
|
95
|
+
},
|
|
96
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
97
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,54 +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
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-subdiv-curve@3.0.0) (2024-06-21)
|
|
15
|
-
|
|
16
|
-
#### 🛑 Breaking changes
|
|
17
|
-
|
|
18
|
-
- migrate types from [@thi.ng/geom-api](https://github.com/thi-ng/umbrella/tree/main/packages/geom-api) ([c7564f2](https://github.com/thi-ng/umbrella/commit/c7564f2))
|
|
19
|
-
- BREAKING CHANGE: migrate/internalize types from [@thi.ng/geom-api](https://github.com/thi-ng/umbrella/tree/main/packages/geom-api)
|
|
20
|
-
- add/migrate SubdivKernel
|
|
21
|
-
- update imports
|
|
22
|
-
- update deps
|
|
23
|
-
- update subdiv kernels ([cd69dd4](https://github.com/thi-ng/umbrella/commit/cd69dd4))
|
|
24
|
-
- BREAKING CHANGE: update SubdivKernel interface & impls
|
|
25
|
-
- update `SubdivKernel` fns to support both open/closed versions
|
|
26
|
-
- merge/rename open/closed kernels & remove obsolete
|
|
27
|
-
- SUBDIV_MID
|
|
28
|
-
- SUBDIV_THIRDS
|
|
29
|
-
- SUBDIV_CHAIKIN
|
|
30
|
-
- SUBDIV_CUBIC
|
|
31
|
-
- add SUBDIV_DLG kernel
|
|
32
|
-
- update subdivide() signature ([25576ca](https://github.com/thi-ng/umbrella/commit/25576ca))
|
|
33
|
-
- BREAKING CHANGE: update subdivide() signature
|
|
34
|
-
- only accept kernels as array
|
|
35
|
-
- add `closed` arg/flag
|
|
36
|
-
|
|
37
|
-
#### 🚀 Features
|
|
38
|
-
|
|
39
|
-
- add SUBDIV_DISPLACE higher-order kernel ([7655e50](https://github.com/thi-ng/umbrella/commit/7655e50))
|
|
40
|
-
- add support for passing multiple kernels to subdivide() ([03c5e54](https://github.com/thi-ng/umbrella/commit/03c5e54))
|
|
41
|
-
- update args to support multiple kernels as array
|
|
42
|
-
- update SUBDIV_DISPLACE ([a75f37c](https://github.com/thi-ng/umbrella/commit/a75f37c))
|
|
43
|
-
- update displace config to allow specifying normalized split positions
|
|
44
|
-
- add/update docs & example
|
|
45
|
-
|
|
46
|
-
#### ♻️ Refactoring
|
|
47
|
-
|
|
48
|
-
- update SUBDIV_DISPLACE, internal refactoring ([3e84ba8](https://github.com/thi-ng/umbrella/commit/3e84ba8))
|
|
49
|
-
|
|
50
|
-
### [2.1.86](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-subdiv-curve@2.1.86) (2023-11-09)
|
|
51
|
-
|
|
52
|
-
#### ♻️ Refactoring
|
|
53
|
-
|
|
54
|
-
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|