pattapatta 0.4.2 → 0.5.0
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 +6 -0
- package/README.md +2 -1
- package/dist/halftone/index.d.ts +109 -0
- package/dist/halftone/index.js +246 -0
- package/dist/halftone/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3610 -3411
- package/dist/index.js.map +1 -1
- package/package.json +8 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pattapatta",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Pen-plotter geometry library (PGS-inspired): hatching, packing, boolean paths for SVG",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Pen-plotter geometry library (PGS-inspired): hatching, image halftone, packing, boolean paths for SVG",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"license": "MIT",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"svg",
|
|
20
20
|
"geometry",
|
|
21
21
|
"hatching",
|
|
22
|
+
"halftone",
|
|
22
23
|
"circle-packing",
|
|
23
24
|
"boolean",
|
|
24
25
|
"clipper",
|
|
@@ -55,6 +56,10 @@
|
|
|
55
56
|
"types": "./dist/hatch/index.d.ts",
|
|
56
57
|
"import": "./dist/hatch/index.js"
|
|
57
58
|
},
|
|
59
|
+
"./halftone": {
|
|
60
|
+
"types": "./dist/halftone/index.d.ts",
|
|
61
|
+
"import": "./dist/halftone/index.js"
|
|
62
|
+
},
|
|
58
63
|
"./circlePacking": {
|
|
59
64
|
"types": "./dist/circlePacking/index.d.ts",
|
|
60
65
|
"import": "./dist/circlePacking/index.js"
|
|
@@ -156,6 +161,7 @@
|
|
|
156
161
|
"@changesets/cli": "^3.0.3",
|
|
157
162
|
"@types/d3-delaunay": "^6.0.4",
|
|
158
163
|
"@types/node": "^22.13.10",
|
|
164
|
+
"sharp": "^0.35.4",
|
|
159
165
|
"tsup": "^8.4.0",
|
|
160
166
|
"typescript": "^5.8.2",
|
|
161
167
|
"vitest": "^3.0.9"
|