@thi.ng/geom-subdiv-curve 3.0.30 → 3.0.32
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/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/kernels.d.ts +2 -2
- package/package.json +6 -7
- package/subdivide.d.ts +2 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 201 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/kernels.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare const SUBDIV_CUBIC: SubdivKernel;
|
|
|
46
46
|
*
|
|
47
47
|
* @remarks
|
|
48
48
|
* Reference:
|
|
49
|
-
*
|
|
49
|
+
* https://web.archive.org/web/20060816003547/https://algorithmicbotany.org/papers/subgpu.sig2003.pdf
|
|
50
50
|
*/
|
|
51
51
|
export declare const SUBDIV_DLG: SubdivKernel;
|
|
52
52
|
/**
|
|
@@ -59,7 +59,7 @@ export declare const SUBDIV_DLG: SubdivKernel;
|
|
|
59
59
|
*
|
|
60
60
|
* @remarks
|
|
61
61
|
* The original edge end points are always remaining in place. The normalized
|
|
62
|
-
* split positions `t` must be in the open (0,1) interval.
|
|
62
|
+
* split positions `t` must be in the open `(0,1)` interval.
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* ```ts tangle:../export/subdiv-displace.ts
|
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.32",
|
|
4
4
|
"description": "Freely customizable, iterative nD subdivision curves for open / closed geometries",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
34
|
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
35
|
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
-
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
37
36
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
38
37
|
"pub": "yarn npm publish --access public",
|
|
39
38
|
"test": "bun test",
|
|
@@ -41,12 +40,12 @@
|
|
|
41
40
|
"tool:viz": "bun tools/visualize.ts"
|
|
42
41
|
},
|
|
43
42
|
"dependencies": {
|
|
44
|
-
"@thi.ng/transducers": "^9.2.
|
|
45
|
-
"@thi.ng/vectors": "^7.12.
|
|
43
|
+
"@thi.ng/transducers": "^9.2.18",
|
|
44
|
+
"@thi.ng/vectors": "^7.12.20"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
|
-
"esbuild": "^0.
|
|
49
|
-
"typedoc": "^0.27.
|
|
47
|
+
"esbuild": "^0.25.0",
|
|
48
|
+
"typedoc": "^0.27.7",
|
|
50
49
|
"typescript": "^5.7.3"
|
|
51
50
|
},
|
|
52
51
|
"keywords": [
|
|
@@ -93,5 +92,5 @@
|
|
|
93
92
|
"geom-splines"
|
|
94
93
|
]
|
|
95
94
|
},
|
|
96
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
97
96
|
}
|
package/subdivide.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ import type { SubdivKernel } from "./api.js";
|
|
|
7
7
|
* points define a closed or open geometry (i.e. polygon vs. polyline).
|
|
8
8
|
*
|
|
9
9
|
* @remarks
|
|
10
|
-
*
|
|
10
|
+
* References:
|
|
11
|
+
*
|
|
11
12
|
* - https://web.archive.org/web/20060816003547/https://algorithmicbotany.org/papers/subgpu.sig2003.pdf
|
|
12
13
|
* - https://www.csl.mtu.edu/cs3621/common/Subdivision.pdf
|
|
13
14
|
*
|