@weasel-js/path-tools 0.0.0-stage → 1.11.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 orochi235
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,71 @@
1
- # Temporary Holding Version
1
+ # @weasel-js/path-tools
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Path-editing tools for a weasel canvas, each family a preset an app turns on
4
+ beside core's own.
5
+
6
+ Part of [weasel](https://github.com/orochi235/weasel), a domain-agnostic 2D
7
+ scene-graph canvas kit for React. See the
8
+ [API reference](https://orochi235.github.io/weasel/#pkg/path-tools).
9
+
10
+ ```sh
11
+ npm install @weasel-js/path-tools
12
+ ```
13
+
14
+ Core keeps basic path editing: anchors and handles, bending a segment, Join,
15
+ Average, Cut at crossings, Simplify, and Offset. This package adds the rest,
16
+ on core's public surface:
17
+
18
+ ```tsx
19
+ import { SceneCanvas } from '@weasel-js/core';
20
+ import { pathTools } from '@weasel-js/path-tools';
21
+
22
+ <SceneCanvas scene={scene} features={['draw', pathTools]} />;
23
+ ```
24
+
25
+ `pathTools` turns every family on but soft selection and handle snapping, which
26
+ change what every anchor or handle drag does. Each is also a preset of its own,
27
+ and an app that imports only some never loads the others:
28
+
29
+ | Preset | What it adds |
30
+ |---|---|
31
+ | `simplifyBrushPreset` | The Simplify brush, a path-edit tool that refits the curve it passes over |
32
+ | `handleLocksPreset` | The `handleLock.angle` and `handleLock.length` toggles |
33
+ | `createSoftSelectionPreset` | Soft selection: dragging anchors also moves the anchors near them along the path, by a falloff over a radius in screen pixels that the wheel scrubs mid-drag; the reach is drawn as a band. Not in `pathTools` |
34
+ | `handleSnapPreset`, `createHandleSnapPreset` | Handle snapping: a dragged handle's angle snaps to steps and to the line through its anchor's other handle, through a snap session whose angles `handleSnapSource` offers. Not in `pathTools` |
35
+ | `bridgePreset` | Bridge: join open ends with a curve along each end's heading, on paths or on two anchors |
36
+ | `spiroPreset` | Spiro curves: path edit edits a spiro node's points and solves the curve again through them, `setSpiroKind` sets the kind of the selected points, and `releaseSpiro` converts a spiro curve to an ordinary path; `useSpiroTool` (Shift+P) draws them |
37
+ | `lengthenPreset` | Lengthen, a path-edit tool whose drag on an open end grows the path along its end tangent or curvature, or trims it back |
38
+ | `trimPreset`, `extendPreset`, `smudgePreset` | The actions `useTrimTool`, `useExtendTool`, and `useSmudgeBrushTool` bind |
39
+ | `harmonizePreset` | Harmonize curvature |
40
+ | `anchorSelectionPreset` | Grow and shrink the anchor selection along the path, or select every Nth anchor, the corners, the smooth anchors, or the rest |
41
+ | `resamplePreset` | Resample: anchors spread evenly by arc length, previewed live |
42
+ | `addExtremesPreset` | Add extremes: an anchor at each curve's leftmost, rightmost, top, and bottom |
43
+ | `curvatureCombPreset` | The curvature comb over the open path, under chrome id `path-edit.comb` |
44
+ | `balancePreset` | Balance handles and Equalize, from grips under chrome id `path-edit.balance` |
45
+ | `constraintsPreset` | Path constraints: the actions, their marks, and every edit finished so they hold |
46
+ | `pathStructurePreset` | Make start point and Reverse path direction, and arrows showing which way the open path runs, under chrome id `path-edit.direction` |
47
+ | `segmentTypePreset` | Turn segments straight or curved, from the selection (Shift+C) or under a Shift+double-click |
48
+ | `cornerShapePreset` | Corner shape: a widget in each corner anchor whose drag sets its radius (`editCorner`), and `setCorners` and `cycleCornerShape` on the selected corners; `CORNER_CONTROLS` and `useCornerControls` are a panel over them |
49
+ | `pathEffectsPreset` | Blend, Bend along, and Repeat along, and the actions that edit and expand them |
50
+ | `warpPreset` | Expand and configure a held warp; `useDistortTool`, `useEnvelopeTool`, and `usePuppetTool` bring their own drags |
51
+
52
+ The comb, balance lines, constraint marks, and direction arrows are off until
53
+ chrome-caps shows them; the corner widgets show until it hides
54
+ `path-edit.corners`. `createCurvatureCombPreset`, `createBalancePreset`,
55
+ `createConstraintsPreset`, `createPathStructurePreset`, and
56
+ `createCornerShapePreset` take their look. They reach path edit through core's
57
+ `PathEditExtension`: marks drawn on the open path, parts of it to press, marks
58
+ a click selects and Delete removes, a share of an anchor or handle drag, what
59
+ an edit keeps true, and, for spiro curves, how a path drawn from another form
60
+ is edited. `createSoftSelectionPreset` takes a function returning its options,
61
+ read as each drag starts, and `createHandleSnapPreset` options or a function
62
+ read on every move; null from either function turns the feature off.
63
+
64
+ The tools are hooks, mounted with `<SceneCanvas tools>` as core's are; each
65
+ binds an action its family's preset registers, so turn on both. Two carry their
66
+ own actions and need no preset:
67
+
68
+ | Tool | What it does |
69
+ |---|---|
70
+ | `useGirthTool` (Shift+W) | Shapes a stroke's `vertexWidths` by dragging its edges |
71
+ | `useShapeBuilderTool` (Shift+M) | With two or more paths selected, a drag unites the faces their outlines cut each other into, and an Alt-drag deletes them; it reads core's `booleansAdapter` dep, which `<SceneCanvas>` publishes over its path leaves. `planShapeBuilder` is the engine under it |
@@ -0,0 +1,6 @@
1
+ import { IconTable } from '@weasel-js/icons';
2
+
3
+ /** Every glyph this package ships, under the `path-tools` namespace. */
4
+ declare const icons: IconTable;
5
+
6
+ export { icons };
@@ -0,0 +1,129 @@
1
+ // src/icons.table.json
2
+ var icons_table_default = {
3
+ namespace: "path-tools",
4
+ owner: "@weasel-js/path-tools",
5
+ icons: {
6
+ smudgeBrush: {
7
+ body: '<path d="M2 15.5 H5 C9 15.5 9.5 7 14 7"/><circle cx="14" cy="7" r="3.75" stroke-width="1"/><path d="M14 7 C15.5 9.5 16.5 15.5 18 15.5"/>',
8
+ group: "Tools",
9
+ tags: []
10
+ },
11
+ distort: {
12
+ body: '<path d="M3.5 4.5 L16 3 L17 16.5 L4.5 14.5 Z"/><rect x="2" y="3" width="3" height="3" fill="currentColor" stroke="none"/><rect x="14.5" y="1.5" width="3" height="3" fill="currentColor" stroke="none"/><rect x="15.5" y="15" width="3" height="3" fill="currentColor" stroke="none"/><rect x="3" y="13" width="3" height="3" fill="currentColor" stroke="none"/>',
13
+ group: "Tools",
14
+ tags: []
15
+ },
16
+ envelope: {
17
+ body: '<path d="M3.5 5.5 Q10 0.5 16.5 5.5 V16.5 Q10 12.5 3.5 16.5 Z"/><path d="M10 3 V14.5 M3.5 11 Q10 7 16.5 11" stroke-width="1"/><circle cx="3.5" cy="5.5" r="1.5" fill="currentColor" stroke="none"/><circle cx="16.5" cy="5.5" r="1.5" fill="currentColor" stroke="none"/><circle cx="16.5" cy="16.5" r="1.5" fill="currentColor" stroke="none"/><circle cx="3.5" cy="16.5" r="1.5" fill="currentColor" stroke="none"/>',
18
+ group: "Tools",
19
+ tags: []
20
+ },
21
+ puppetWarp: {
22
+ body: '<path d="M2.5 11 C7 11 8 3 15 3 L17.5 7.5 C11 7.5 10 16 3.5 16 Z"/><circle cx="5" cy="13.5" r="1.5" fill="currentColor" stroke="none"/><circle cx="15.6" cy="5.3" r="1.5" fill="currentColor" stroke="none"/>',
23
+ group: "Tools",
24
+ tags: []
25
+ },
26
+ blend: {
27
+ body: '<circle cx="4.5" cy="10" r="2.6"/><rect x="7.9" y="7" width="4.4" height="6" rx="1.6" stroke-width="1"/><rect x="13.4" y="5.5" width="4.4" height="9" rx="0.5"/>',
28
+ group: "Tools",
29
+ tags: []
30
+ },
31
+ bendAlong: {
32
+ body: '<path d="M3 14 Q10 0 17 14 L14.5 15 Q10 5 5.5 15 Z"/><path d="M10 7 V10 M6.5 8.75 L8.39 10.64 M13.5 8.75 L11.61 10.64" stroke-width="1" stroke-linecap="butt"/>',
33
+ group: "Tools",
34
+ tags: []
35
+ },
36
+ repeatAlong: {
37
+ body: '<path d="M2.9 14.2 L3.6 12.9 M6.4 10.1 L8.2 8.8 M11.8 8.8 L13.6 10.1 M16.4 12.9 L17.1 14.2" stroke-width="1"/><circle cx="4.75" cy="11.43" r="1.9" stroke-width="1.25"/><circle cx="10" cy="8" r="1.9" stroke-width="1.25"/><circle cx="15.25" cy="11.43" r="1.9" stroke-width="1.25"/>',
38
+ group: "Tools",
39
+ tags: []
40
+ },
41
+ expand: {
42
+ body: '<circle cx="10" cy="10" r="6" stroke-width="1.25" stroke-dasharray="2 1.7"/><rect x="8.5" y="2.5" width="3" height="3" fill="currentColor" stroke="none"/><rect x="14.5" y="8.5" width="3" height="3" fill="currentColor" stroke="none"/><rect x="8.5" y="14.5" width="3" height="3" fill="currentColor" stroke="none"/><rect x="2.5" y="8.5" width="3" height="3" fill="currentColor" stroke="none"/>',
43
+ group: "Tools",
44
+ tags: []
45
+ },
46
+ balanceHandles: {
47
+ body: '<path d="M3.5 16 C5 6 15 6 16.5 16"/><path d="M3.5 16 L5 6 M16.5 16 L15 6 M5 6 H8.25 M11.75 6 H15" stroke-width="1"/><circle cx="5" cy="6" r="1.4" fill="currentColor" stroke="none"/><circle cx="15" cy="6" r="1.4" fill="currentColor" stroke="none"/><circle cx="10" cy="6" r="1.75" stroke-width="1.25"/><path d="M8.8 12 L10 13.2 L11.2 12 M10 9.6 V13" stroke-width="1"/>',
48
+ group: "Tools",
49
+ tags: []
50
+ },
51
+ equalizeHandles: {
52
+ body: '<path d="M3.5 16 C5 6 15 6 16.5 16"/><path d="M3.5 16 L5 6 M16.5 16 L15 6 M5 6 H8.25 M11.75 6 H15" stroke-width="1"/><circle cx="5" cy="6" r="1.4" fill="currentColor" stroke="none"/><circle cx="15" cy="6" r="1.4" fill="currentColor" stroke="none"/><circle cx="10" cy="6" r="1.75" stroke-width="1.25"/><path d="M8.5 10.8 H11.5 M8.5 12.8 H11.5" stroke-width="1"/>',
53
+ group: "Tools",
54
+ tags: []
55
+ },
56
+ lengthen: {
57
+ body: '<path d="M2.5 17 C6.5 17 8.5 15.5 11 13"/><path d="M13 11 L16.5 7.5" stroke-dasharray="1 3"/><rect x="9.5" y="11.5" width="3" height="3" fill="currentColor" stroke="none"/>',
58
+ group: "Tools",
59
+ tags: []
60
+ },
61
+ trim: {
62
+ body: '<path d="M6.875 3 V17 M13.125 3 V17" stroke-width="1.25"/><path d="M2.5 10.625 H6.875 M13.125 10.625 H17.5"/><path d="M8.6 10.625 H11.4" stroke-width="1" stroke-dasharray="1.2 1.2"/>',
63
+ group: "Tools",
64
+ tags: []
65
+ },
66
+ extend: {
67
+ body: '<path d="M16.875 3 V17" stroke-width="1.25"/><path d="M2.5 10.625 H8"/><rect x="6.5" y="9.125" width="3" height="3" fill="currentColor" stroke="none"/><path d="M10.5 10.625 H15" stroke-width="1" stroke-dasharray="1.4 1.3"/>',
68
+ group: "Tools",
69
+ tags: []
70
+ },
71
+ girth: {
72
+ body: '<path d="M2.5 10 C6 4.6 14 4.6 17.5 10 C14 15.4 6 15.4 2.5 10 Z"/><path d="M10 6.6 V13.4" stroke-width="1"/><circle cx="10" cy="6.6" r="1.4" fill="currentColor" stroke="none"/><circle cx="10" cy="13.4" r="1.4" fill="currentColor" stroke="none"/>',
73
+ group: "Tools",
74
+ tags: []
75
+ },
76
+ spiro: {
77
+ body: '<g stroke-linecap="butt" stroke-linejoin="miter"><path d="M 3.5 15 C 6.5 15 7 10 10 10 C 13 10 13.5 5 16.5 5" stroke-linecap="round"/><circle cx="3.5" cy="15" r="1.6" fill="currentColor" stroke="none"/><circle cx="10" cy="10" r="1.6" fill="currentColor" stroke="none"/><circle cx="16.5" cy="5" r="1.6" fill="currentColor" stroke="none"/></g>',
78
+ group: "Tools",
79
+ tags: []
80
+ },
81
+ reversePath: {
82
+ body: '<path d="M4.5 6.875 H15.5 M15.5 13.125 H4.5"/><path d="M6.5 5.175 L4.5 6.875 L6.5 8.575 M13.5 11.425 L15.5 13.125 L13.5 14.825"/>',
83
+ group: "Commands",
84
+ tags: []
85
+ },
86
+ setPathStart: {
87
+ body: '<circle cx="10" cy="11.5" r="5.5" stroke-width="1.25"/><rect x="8.5" y="4.5" width="3" height="3" fill="currentColor" stroke="none"/><path d="M13 2.6 L16 4.1 L13 5.6 Z" fill="currentColor" stroke="none"/>',
88
+ group: "Commands",
89
+ tags: []
90
+ },
91
+ cornerRadius: {
92
+ body: '<path d="M4.375 17 V11.375 A7 7 0 0 1 11.375 4.375 H17"/><path d="M4.375 8 V4.375 H8" stroke-width="1" stroke-dasharray="1.3 1.3"/>',
93
+ group: "Commands",
94
+ tags: []
95
+ },
96
+ cornerShape: {
97
+ body: '<path d="M4 17 V10.5 L10.5 4 H17"/><path d="M4 10.5 A6.5 6.5 0 0 0 10.5 4" stroke-width="1" stroke-dasharray="1.3 1.3"/>',
98
+ group: "Commands",
99
+ tags: []
100
+ },
101
+ convertSegment: {
102
+ body: '<path d="M4 14 H16"/><path d="M4 14 C4 6 16 6 16 14"/><rect x="2.5" y="12.5" width="3" height="3" fill="currentColor" stroke="none"/><rect x="14.5" y="12.5" width="3" height="3" fill="currentColor" stroke="none"/>',
103
+ group: "Commands",
104
+ tags: []
105
+ },
106
+ straightenSegment: {
107
+ body: '<path d="M4 14 H16"/><path d="M4 14 C4 6 16 6 16 14" stroke-width="1" stroke-dasharray="1.4 1.4"/><rect x="2.5" y="12.5" width="3" height="3" fill="currentColor" stroke="none"/><rect x="14.5" y="12.5" width="3" height="3" fill="currentColor" stroke="none"/>',
108
+ group: "Commands",
109
+ tags: []
110
+ },
111
+ curveSegment: {
112
+ body: '<path d="M4 14 H16" stroke-width="1" stroke-dasharray="1.4 1.4"/><path d="M4 14 C4 6 16 6 16 14"/><rect x="2.5" y="12.5" width="3" height="3" fill="currentColor" stroke="none"/><rect x="14.5" y="12.5" width="3" height="3" fill="currentColor" stroke="none"/>',
113
+ group: "Commands",
114
+ tags: []
115
+ },
116
+ extremeAnchors: {
117
+ body: '<path d="M3 16 C3 4.5 17 4.5 17 16"/><path d="M3.5 7.4 H16.5" stroke-width="1"/><rect x="1.5" y="14.5" width="3" height="3" fill="currentColor" stroke="none"/><rect x="15.5" y="14.5" width="3" height="3" fill="currentColor" stroke="none"/><rect x="8.5" y="5.9" width="3" height="3" fill="currentColor" stroke="none"/>',
118
+ group: "Commands",
119
+ tags: []
120
+ }
121
+ }
122
+ };
123
+
124
+ // src/icons.table.ts
125
+ var icons = icons_table_default;
126
+
127
+ export { icons };
128
+ //# sourceMappingURL=icons.table.js.map
129
+ //# sourceMappingURL=icons.table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/icons.table.json","../src/icons.table.ts"],"names":[],"mappings":"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","file":"icons.table.js","sourcesContent":["{\n \"namespace\": \"path-tools\",\n \"owner\": \"@weasel-js/path-tools\",\n \"icons\": {\n \"smudgeBrush\": {\n \"body\": \"<path d=\\\"M2 15.5 H5 C9 15.5 9.5 7 14 7\\\"/><circle cx=\\\"14\\\" cy=\\\"7\\\" r=\\\"3.75\\\" stroke-width=\\\"1\\\"/><path d=\\\"M14 7 C15.5 9.5 16.5 15.5 18 15.5\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"distort\": {\n \"body\": \"<path d=\\\"M3.5 4.5 L16 3 L17 16.5 L4.5 14.5 Z\\\"/><rect x=\\\"2\\\" y=\\\"3\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"14.5\\\" y=\\\"1.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"15.5\\\" y=\\\"15\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"3\\\" y=\\\"13\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"envelope\": {\n \"body\": \"<path d=\\\"M3.5 5.5 Q10 0.5 16.5 5.5 V16.5 Q10 12.5 3.5 16.5 Z\\\"/><path d=\\\"M10 3 V14.5 M3.5 11 Q10 7 16.5 11\\\" stroke-width=\\\"1\\\"/><circle cx=\\\"3.5\\\" cy=\\\"5.5\\\" r=\\\"1.5\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"16.5\\\" cy=\\\"5.5\\\" r=\\\"1.5\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"16.5\\\" cy=\\\"16.5\\\" r=\\\"1.5\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"3.5\\\" cy=\\\"16.5\\\" r=\\\"1.5\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"puppetWarp\": {\n \"body\": \"<path d=\\\"M2.5 11 C7 11 8 3 15 3 L17.5 7.5 C11 7.5 10 16 3.5 16 Z\\\"/><circle cx=\\\"5\\\" cy=\\\"13.5\\\" r=\\\"1.5\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"15.6\\\" cy=\\\"5.3\\\" r=\\\"1.5\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"blend\": {\n \"body\": \"<circle cx=\\\"4.5\\\" cy=\\\"10\\\" r=\\\"2.6\\\"/><rect x=\\\"7.9\\\" y=\\\"7\\\" width=\\\"4.4\\\" height=\\\"6\\\" rx=\\\"1.6\\\" stroke-width=\\\"1\\\"/><rect x=\\\"13.4\\\" y=\\\"5.5\\\" width=\\\"4.4\\\" height=\\\"9\\\" rx=\\\"0.5\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"bendAlong\": {\n \"body\": \"<path d=\\\"M3 14 Q10 0 17 14 L14.5 15 Q10 5 5.5 15 Z\\\"/><path d=\\\"M10 7 V10 M6.5 8.75 L8.39 10.64 M13.5 8.75 L11.61 10.64\\\" stroke-width=\\\"1\\\" stroke-linecap=\\\"butt\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"repeatAlong\": {\n \"body\": \"<path d=\\\"M2.9 14.2 L3.6 12.9 M6.4 10.1 L8.2 8.8 M11.8 8.8 L13.6 10.1 M16.4 12.9 L17.1 14.2\\\" stroke-width=\\\"1\\\"/><circle cx=\\\"4.75\\\" cy=\\\"11.43\\\" r=\\\"1.9\\\" stroke-width=\\\"1.25\\\"/><circle cx=\\\"10\\\" cy=\\\"8\\\" r=\\\"1.9\\\" stroke-width=\\\"1.25\\\"/><circle cx=\\\"15.25\\\" cy=\\\"11.43\\\" r=\\\"1.9\\\" stroke-width=\\\"1.25\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"expand\": {\n \"body\": \"<circle cx=\\\"10\\\" cy=\\\"10\\\" r=\\\"6\\\" stroke-width=\\\"1.25\\\" stroke-dasharray=\\\"2 1.7\\\"/><rect x=\\\"8.5\\\" y=\\\"2.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"14.5\\\" y=\\\"8.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"8.5\\\" y=\\\"14.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"2.5\\\" y=\\\"8.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"balanceHandles\": {\n \"body\": \"<path d=\\\"M3.5 16 C5 6 15 6 16.5 16\\\"/><path d=\\\"M3.5 16 L5 6 M16.5 16 L15 6 M5 6 H8.25 M11.75 6 H15\\\" stroke-width=\\\"1\\\"/><circle cx=\\\"5\\\" cy=\\\"6\\\" r=\\\"1.4\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"15\\\" cy=\\\"6\\\" r=\\\"1.4\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"10\\\" cy=\\\"6\\\" r=\\\"1.75\\\" stroke-width=\\\"1.25\\\"/><path d=\\\"M8.8 12 L10 13.2 L11.2 12 M10 9.6 V13\\\" stroke-width=\\\"1\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"equalizeHandles\": {\n \"body\": \"<path d=\\\"M3.5 16 C5 6 15 6 16.5 16\\\"/><path d=\\\"M3.5 16 L5 6 M16.5 16 L15 6 M5 6 H8.25 M11.75 6 H15\\\" stroke-width=\\\"1\\\"/><circle cx=\\\"5\\\" cy=\\\"6\\\" r=\\\"1.4\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"15\\\" cy=\\\"6\\\" r=\\\"1.4\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"10\\\" cy=\\\"6\\\" r=\\\"1.75\\\" stroke-width=\\\"1.25\\\"/><path d=\\\"M8.5 10.8 H11.5 M8.5 12.8 H11.5\\\" stroke-width=\\\"1\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"lengthen\": {\n \"body\": \"<path d=\\\"M2.5 17 C6.5 17 8.5 15.5 11 13\\\"/><path d=\\\"M13 11 L16.5 7.5\\\" stroke-dasharray=\\\"1 3\\\"/><rect x=\\\"9.5\\\" y=\\\"11.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"trim\": {\n \"body\": \"<path d=\\\"M6.875 3 V17 M13.125 3 V17\\\" stroke-width=\\\"1.25\\\"/><path d=\\\"M2.5 10.625 H6.875 M13.125 10.625 H17.5\\\"/><path d=\\\"M8.6 10.625 H11.4\\\" stroke-width=\\\"1\\\" stroke-dasharray=\\\"1.2 1.2\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"extend\": {\n \"body\": \"<path d=\\\"M16.875 3 V17\\\" stroke-width=\\\"1.25\\\"/><path d=\\\"M2.5 10.625 H8\\\"/><rect x=\\\"6.5\\\" y=\\\"9.125\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><path d=\\\"M10.5 10.625 H15\\\" stroke-width=\\\"1\\\" stroke-dasharray=\\\"1.4 1.3\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"girth\": {\n \"body\": \"<path d=\\\"M2.5 10 C6 4.6 14 4.6 17.5 10 C14 15.4 6 15.4 2.5 10 Z\\\"/><path d=\\\"M10 6.6 V13.4\\\" stroke-width=\\\"1\\\"/><circle cx=\\\"10\\\" cy=\\\"6.6\\\" r=\\\"1.4\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"10\\\" cy=\\\"13.4\\\" r=\\\"1.4\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"spiro\": {\n \"body\": \"<g stroke-linecap=\\\"butt\\\" stroke-linejoin=\\\"miter\\\"><path d=\\\"M 3.5 15 C 6.5 15 7 10 10 10 C 13 10 13.5 5 16.5 5\\\" stroke-linecap=\\\"round\\\"/><circle cx=\\\"3.5\\\" cy=\\\"15\\\" r=\\\"1.6\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"10\\\" cy=\\\"10\\\" r=\\\"1.6\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><circle cx=\\\"16.5\\\" cy=\\\"5\\\" r=\\\"1.6\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/></g>\",\n \"group\": \"Tools\",\n \"tags\": []\n },\n \"reversePath\": {\n \"body\": \"<path d=\\\"M4.5 6.875 H15.5 M15.5 13.125 H4.5\\\"/><path d=\\\"M6.5 5.175 L4.5 6.875 L6.5 8.575 M13.5 11.425 L15.5 13.125 L13.5 14.825\\\"/>\",\n \"group\": \"Commands\",\n \"tags\": []\n },\n \"setPathStart\": {\n \"body\": \"<circle cx=\\\"10\\\" cy=\\\"11.5\\\" r=\\\"5.5\\\" stroke-width=\\\"1.25\\\"/><rect x=\\\"8.5\\\" y=\\\"4.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><path d=\\\"M13 2.6 L16 4.1 L13 5.6 Z\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Commands\",\n \"tags\": []\n },\n \"cornerRadius\": {\n \"body\": \"<path d=\\\"M4.375 17 V11.375 A7 7 0 0 1 11.375 4.375 H17\\\"/><path d=\\\"M4.375 8 V4.375 H8\\\" stroke-width=\\\"1\\\" stroke-dasharray=\\\"1.3 1.3\\\"/>\",\n \"group\": \"Commands\",\n \"tags\": []\n },\n \"cornerShape\": {\n \"body\": \"<path d=\\\"M4 17 V10.5 L10.5 4 H17\\\"/><path d=\\\"M4 10.5 A6.5 6.5 0 0 0 10.5 4\\\" stroke-width=\\\"1\\\" stroke-dasharray=\\\"1.3 1.3\\\"/>\",\n \"group\": \"Commands\",\n \"tags\": []\n },\n \"convertSegment\": {\n \"body\": \"<path d=\\\"M4 14 H16\\\"/><path d=\\\"M4 14 C4 6 16 6 16 14\\\"/><rect x=\\\"2.5\\\" y=\\\"12.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"14.5\\\" y=\\\"12.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Commands\",\n \"tags\": []\n },\n \"straightenSegment\": {\n \"body\": \"<path d=\\\"M4 14 H16\\\"/><path d=\\\"M4 14 C4 6 16 6 16 14\\\" stroke-width=\\\"1\\\" stroke-dasharray=\\\"1.4 1.4\\\"/><rect x=\\\"2.5\\\" y=\\\"12.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"14.5\\\" y=\\\"12.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Commands\",\n \"tags\": []\n },\n \"curveSegment\": {\n \"body\": \"<path d=\\\"M4 14 H16\\\" stroke-width=\\\"1\\\" stroke-dasharray=\\\"1.4 1.4\\\"/><path d=\\\"M4 14 C4 6 16 6 16 14\\\"/><rect x=\\\"2.5\\\" y=\\\"12.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"14.5\\\" y=\\\"12.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Commands\",\n \"tags\": []\n },\n \"extremeAnchors\": {\n \"body\": \"<path d=\\\"M3 16 C3 4.5 17 4.5 17 16\\\"/><path d=\\\"M3.5 7.4 H16.5\\\" stroke-width=\\\"1\\\"/><rect x=\\\"1.5\\\" y=\\\"14.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"15.5\\\" y=\\\"14.5\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/><rect x=\\\"8.5\\\" y=\\\"5.9\\\" width=\\\"3\\\" height=\\\"3\\\" fill=\\\"currentColor\\\" stroke=\\\"none\\\"/>\",\n \"group\": \"Commands\",\n \"tags\": []\n }\n }\n}\n","// GENERATED by packages/icons/scripts/gen-icons.mjs — do not edit by hand.\n\nimport type { IconTable } from '@weasel-js/icons';\nimport data from './icons.table.json';\n\n/** Every glyph this package ships, under the `path-tools` namespace. */\nexport const icons: IconTable = data;\n"]}
@@ -0,0 +1,121 @@
1
+ {
2
+ "namespace": "path-tools",
3
+ "owner": "@weasel-js/path-tools",
4
+ "icons": {
5
+ "smudgeBrush": {
6
+ "body": "<path d=\"M2 15.5 H5 C9 15.5 9.5 7 14 7\"/><circle cx=\"14\" cy=\"7\" r=\"3.75\" stroke-width=\"1\"/><path d=\"M14 7 C15.5 9.5 16.5 15.5 18 15.5\"/>",
7
+ "group": "Tools",
8
+ "tags": []
9
+ },
10
+ "distort": {
11
+ "body": "<path d=\"M3.5 4.5 L16 3 L17 16.5 L4.5 14.5 Z\"/><rect x=\"2\" y=\"3\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"14.5\" y=\"1.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"15.5\" y=\"15\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"3\" y=\"13\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/>",
12
+ "group": "Tools",
13
+ "tags": []
14
+ },
15
+ "envelope": {
16
+ "body": "<path d=\"M3.5 5.5 Q10 0.5 16.5 5.5 V16.5 Q10 12.5 3.5 16.5 Z\"/><path d=\"M10 3 V14.5 M3.5 11 Q10 7 16.5 11\" stroke-width=\"1\"/><circle cx=\"3.5\" cy=\"5.5\" r=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"16.5\" cy=\"5.5\" r=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"16.5\" cy=\"16.5\" r=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"3.5\" cy=\"16.5\" r=\"1.5\" fill=\"currentColor\" stroke=\"none\"/>",
17
+ "group": "Tools",
18
+ "tags": []
19
+ },
20
+ "puppetWarp": {
21
+ "body": "<path d=\"M2.5 11 C7 11 8 3 15 3 L17.5 7.5 C11 7.5 10 16 3.5 16 Z\"/><circle cx=\"5\" cy=\"13.5\" r=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"15.6\" cy=\"5.3\" r=\"1.5\" fill=\"currentColor\" stroke=\"none\"/>",
22
+ "group": "Tools",
23
+ "tags": []
24
+ },
25
+ "blend": {
26
+ "body": "<circle cx=\"4.5\" cy=\"10\" r=\"2.6\"/><rect x=\"7.9\" y=\"7\" width=\"4.4\" height=\"6\" rx=\"1.6\" stroke-width=\"1\"/><rect x=\"13.4\" y=\"5.5\" width=\"4.4\" height=\"9\" rx=\"0.5\"/>",
27
+ "group": "Tools",
28
+ "tags": []
29
+ },
30
+ "bendAlong": {
31
+ "body": "<path d=\"M3 14 Q10 0 17 14 L14.5 15 Q10 5 5.5 15 Z\"/><path d=\"M10 7 V10 M6.5 8.75 L8.39 10.64 M13.5 8.75 L11.61 10.64\" stroke-width=\"1\" stroke-linecap=\"butt\"/>",
32
+ "group": "Tools",
33
+ "tags": []
34
+ },
35
+ "repeatAlong": {
36
+ "body": "<path d=\"M2.9 14.2 L3.6 12.9 M6.4 10.1 L8.2 8.8 M11.8 8.8 L13.6 10.1 M16.4 12.9 L17.1 14.2\" stroke-width=\"1\"/><circle cx=\"4.75\" cy=\"11.43\" r=\"1.9\" stroke-width=\"1.25\"/><circle cx=\"10\" cy=\"8\" r=\"1.9\" stroke-width=\"1.25\"/><circle cx=\"15.25\" cy=\"11.43\" r=\"1.9\" stroke-width=\"1.25\"/>",
37
+ "group": "Tools",
38
+ "tags": []
39
+ },
40
+ "expand": {
41
+ "body": "<circle cx=\"10\" cy=\"10\" r=\"6\" stroke-width=\"1.25\" stroke-dasharray=\"2 1.7\"/><rect x=\"8.5\" y=\"2.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"14.5\" y=\"8.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"8.5\" y=\"14.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"2.5\" y=\"8.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/>",
42
+ "group": "Tools",
43
+ "tags": []
44
+ },
45
+ "balanceHandles": {
46
+ "body": "<path d=\"M3.5 16 C5 6 15 6 16.5 16\"/><path d=\"M3.5 16 L5 6 M16.5 16 L15 6 M5 6 H8.25 M11.75 6 H15\" stroke-width=\"1\"/><circle cx=\"5\" cy=\"6\" r=\"1.4\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"15\" cy=\"6\" r=\"1.4\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"10\" cy=\"6\" r=\"1.75\" stroke-width=\"1.25\"/><path d=\"M8.8 12 L10 13.2 L11.2 12 M10 9.6 V13\" stroke-width=\"1\"/>",
47
+ "group": "Tools",
48
+ "tags": []
49
+ },
50
+ "equalizeHandles": {
51
+ "body": "<path d=\"M3.5 16 C5 6 15 6 16.5 16\"/><path d=\"M3.5 16 L5 6 M16.5 16 L15 6 M5 6 H8.25 M11.75 6 H15\" stroke-width=\"1\"/><circle cx=\"5\" cy=\"6\" r=\"1.4\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"15\" cy=\"6\" r=\"1.4\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"10\" cy=\"6\" r=\"1.75\" stroke-width=\"1.25\"/><path d=\"M8.5 10.8 H11.5 M8.5 12.8 H11.5\" stroke-width=\"1\"/>",
52
+ "group": "Tools",
53
+ "tags": []
54
+ },
55
+ "lengthen": {
56
+ "body": "<path d=\"M2.5 17 C6.5 17 8.5 15.5 11 13\"/><path d=\"M13 11 L16.5 7.5\" stroke-dasharray=\"1 3\"/><rect x=\"9.5\" y=\"11.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/>",
57
+ "group": "Tools",
58
+ "tags": []
59
+ },
60
+ "trim": {
61
+ "body": "<path d=\"M6.875 3 V17 M13.125 3 V17\" stroke-width=\"1.25\"/><path d=\"M2.5 10.625 H6.875 M13.125 10.625 H17.5\"/><path d=\"M8.6 10.625 H11.4\" stroke-width=\"1\" stroke-dasharray=\"1.2 1.2\"/>",
62
+ "group": "Tools",
63
+ "tags": []
64
+ },
65
+ "extend": {
66
+ "body": "<path d=\"M16.875 3 V17\" stroke-width=\"1.25\"/><path d=\"M2.5 10.625 H8\"/><rect x=\"6.5\" y=\"9.125\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M10.5 10.625 H15\" stroke-width=\"1\" stroke-dasharray=\"1.4 1.3\"/>",
67
+ "group": "Tools",
68
+ "tags": []
69
+ },
70
+ "girth": {
71
+ "body": "<path d=\"M2.5 10 C6 4.6 14 4.6 17.5 10 C14 15.4 6 15.4 2.5 10 Z\"/><path d=\"M10 6.6 V13.4\" stroke-width=\"1\"/><circle cx=\"10\" cy=\"6.6\" r=\"1.4\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"10\" cy=\"13.4\" r=\"1.4\" fill=\"currentColor\" stroke=\"none\"/>",
72
+ "group": "Tools",
73
+ "tags": []
74
+ },
75
+ "spiro": {
76
+ "body": "<g stroke-linecap=\"butt\" stroke-linejoin=\"miter\"><path d=\"M 3.5 15 C 6.5 15 7 10 10 10 C 13 10 13.5 5 16.5 5\" stroke-linecap=\"round\"/><circle cx=\"3.5\" cy=\"15\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"10\" cy=\"10\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/><circle cx=\"16.5\" cy=\"5\" r=\"1.6\" fill=\"currentColor\" stroke=\"none\"/></g>",
77
+ "group": "Tools",
78
+ "tags": []
79
+ },
80
+ "reversePath": {
81
+ "body": "<path d=\"M4.5 6.875 H15.5 M15.5 13.125 H4.5\"/><path d=\"M6.5 5.175 L4.5 6.875 L6.5 8.575 M13.5 11.425 L15.5 13.125 L13.5 14.825\"/>",
82
+ "group": "Commands",
83
+ "tags": []
84
+ },
85
+ "setPathStart": {
86
+ "body": "<circle cx=\"10\" cy=\"11.5\" r=\"5.5\" stroke-width=\"1.25\"/><rect x=\"8.5\" y=\"4.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M13 2.6 L16 4.1 L13 5.6 Z\" fill=\"currentColor\" stroke=\"none\"/>",
87
+ "group": "Commands",
88
+ "tags": []
89
+ },
90
+ "cornerRadius": {
91
+ "body": "<path d=\"M4.375 17 V11.375 A7 7 0 0 1 11.375 4.375 H17\"/><path d=\"M4.375 8 V4.375 H8\" stroke-width=\"1\" stroke-dasharray=\"1.3 1.3\"/>",
92
+ "group": "Commands",
93
+ "tags": []
94
+ },
95
+ "cornerShape": {
96
+ "body": "<path d=\"M4 17 V10.5 L10.5 4 H17\"/><path d=\"M4 10.5 A6.5 6.5 0 0 0 10.5 4\" stroke-width=\"1\" stroke-dasharray=\"1.3 1.3\"/>",
97
+ "group": "Commands",
98
+ "tags": []
99
+ },
100
+ "convertSegment": {
101
+ "body": "<path d=\"M4 14 H16\"/><path d=\"M4 14 C4 6 16 6 16 14\"/><rect x=\"2.5\" y=\"12.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"14.5\" y=\"12.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/>",
102
+ "group": "Commands",
103
+ "tags": []
104
+ },
105
+ "straightenSegment": {
106
+ "body": "<path d=\"M4 14 H16\"/><path d=\"M4 14 C4 6 16 6 16 14\" stroke-width=\"1\" stroke-dasharray=\"1.4 1.4\"/><rect x=\"2.5\" y=\"12.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"14.5\" y=\"12.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/>",
107
+ "group": "Commands",
108
+ "tags": []
109
+ },
110
+ "curveSegment": {
111
+ "body": "<path d=\"M4 14 H16\" stroke-width=\"1\" stroke-dasharray=\"1.4 1.4\"/><path d=\"M4 14 C4 6 16 6 16 14\"/><rect x=\"2.5\" y=\"12.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"14.5\" y=\"12.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/>",
112
+ "group": "Commands",
113
+ "tags": []
114
+ },
115
+ "extremeAnchors": {
116
+ "body": "<path d=\"M3 16 C3 4.5 17 4.5 17 16\"/><path d=\"M3.5 7.4 H16.5\" stroke-width=\"1\"/><rect x=\"1.5\" y=\"14.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"15.5\" y=\"14.5\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/><rect x=\"8.5\" y=\"5.9\" width=\"3\" height=\"3\" fill=\"currentColor\" stroke=\"none\"/>",
117
+ "group": "Commands",
118
+ "tags": []
119
+ }
120
+ }
121
+ }