@thi.ng/geom-subdiv-curve 3.0.90 → 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.
- package/README.md +21 -20
- 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-subdiv-curve)
|
|
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
|
- [Available subdivision schemes](#available-subdivision-schemes)
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
|
|
33
34
|
## About
|
|
34
35
|
|
|
35
|
-
Freely customizable, iterative nD subdivision curves for open / closed geometries. This is a support package for [@thi.ng/geom](https://
|
|
36
|
+
Freely customizable, iterative nD subdivision curves for open / closed geometries. This is a support package for [@thi.ng/geom](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom).
|
|
36
37
|
|
|
37
38
|
Based in principle on:
|
|
38
39
|
|
|
@@ -48,57 +49,57 @@ The following schemes are available as presets and their effects illustrated.
|
|
|
48
49
|
|
|
49
50
|
[`SUBDIV_CHAIKIN`](https://docs.thi.ng/umbrella/geom-subdiv-curve/variables/SUBDIV_CHAIKIN.html) is supported for open & closed geometries.
|
|
50
51
|
|
|
51
|
-

|
|
52
53
|
|
|
53
|
-

|
|
54
55
|
|
|
55
56
|
#### Cubic subdivision
|
|
56
57
|
|
|
57
58
|
[`SUBDIV_CUBIC`](https://docs.thi.ng/umbrella/geom-subdiv-curve/variables/SUBDIV_CUBIC.html)
|
|
58
59
|
is only supported for closed geometries (at current).
|
|
59
60
|
|
|
60
|
-

|
|
61
62
|
|
|
62
63
|
#### Dyn-Levin-Gregory subdivision
|
|
63
64
|
|
|
64
65
|
[`SUBDIV_DLG`](https://docs.thi.ng/umbrella/geom-subdiv-curve/variables/SUBDIV_DLG.html)
|
|
65
66
|
is only supported for closed geometries (at current).
|
|
66
67
|
|
|
67
|
-

|
|
68
69
|
|
|
69
70
|
#### Displacement subdivision
|
|
70
71
|
|
|
71
72
|
[`SUBDIV_DISPLACE`](https://docs.thi.ng/umbrella/geom-subdiv-curve/variables/SUBDIV_DISPLACE.html) is a higher order, customizable subdivision and supported for open & closed geometries.
|
|
72
73
|
|
|
73
|
-

|
|
74
75
|
|
|
75
|
-

|
|
76
77
|
|
|
77
78
|
#### Split at midpoints
|
|
78
79
|
|
|
79
80
|
[`SUBDIV_MID`](https://docs.thi.ng/umbrella/geom-subdiv-curve/variables/SUBDIV_MID.html) is supported for open & closed geometries.
|
|
80
81
|
|
|
81
|
-

|
|
82
83
|
|
|
83
|
-

|
|
84
85
|
|
|
85
86
|
#### Split at thirds
|
|
86
87
|
|
|
87
88
|
[`SUBDIV_THIRDS`](https://docs.thi.ng/umbrella/geom-subdiv-curve/variables/SUBDIV_THIRDS.html) is supported for open & closed geometries.
|
|
88
89
|
|
|
89
|
-

|
|
90
91
|
|
|
91
|
-

|
|
92
93
|
|
|
93
94
|
## Status
|
|
94
95
|
|
|
95
96
|
**STABLE** - used in production
|
|
96
97
|
|
|
97
|
-
[Search or submit any issues for this package](https://
|
|
98
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bgeom-subdiv-curve%5D)
|
|
98
99
|
|
|
99
100
|
## Related packages
|
|
100
101
|
|
|
101
|
-
- [@thi.ng/geom-splines](https://
|
|
102
|
+
- [@thi.ng/geom-splines](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom-splines) - nD cubic & quadratic curve analysis, conversion, interpolation, splitting
|
|
102
103
|
|
|
103
104
|
## Installation
|
|
104
105
|
|
|
@@ -130,8 +131,8 @@ Package sizes (brotli'd, pre-treeshake): ESM: 802 bytes
|
|
|
130
131
|
|
|
131
132
|
## Dependencies
|
|
132
133
|
|
|
133
|
-
- [@thi.ng/transducers](https://
|
|
134
|
-
- [@thi.ng/vectors](https://
|
|
134
|
+
- [@thi.ng/transducers](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/transducers)
|
|
135
|
+
- [@thi.ng/vectors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vectors)
|
|
135
136
|
|
|
136
137
|
## API
|
|
137
138
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-subdiv-curve",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.92",
|
|
4
4
|
"description": "Freely customizable, iterative nD subdivision curves for open / closed geometries",
|
|
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-subdiv-curve"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/geom-subdiv-curve",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"tool:viz": "bun tools/visualize.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@thi.ng/transducers": "^9.6.
|
|
45
|
-
"@thi.ng/vectors": "^8.6.
|
|
44
|
+
"@thi.ng/transducers": "^9.6.31",
|
|
45
|
+
"@thi.ng/vectors": "^8.6.26"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"esbuild": "^0.27.2",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
],
|
|
95
95
|
"tag": "subdivision"
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
98
98
|
}
|