weasel-icons 0.14.2 → 0.14.4
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 +8 -0
- package/dist/icons/cauldron/cauldron-rig.d.ts +27 -24
- package/dist/icons/cauldron/cauldron-rig.js +33 -30
- package/dist/icons/jack-o-lantern/jack-o-lantern-rig.d.ts +10 -38
- package/dist/icons/jack-o-lantern/jack-o-lantern-rig.js +17 -57
- package/dist/icons/witch-hat/witch-hat-rig.d.ts +70 -48
- package/dist/icons/witch-hat/witch-hat-rig.js +96 -48
- package/dist/source.json +1 -1
- package/package.json +1 -1
|
@@ -3,13 +3,26 @@
|
|
|
3
3
|
// resting: Crooked hat sits level on its brim
|
|
4
4
|
// tipping: Hat tips once and holds at a jaunty angle
|
|
5
5
|
// casting: The crooked point curls and flicks one spell outward, then rests
|
|
6
|
+
// The lower crown, band, brim and buckle stay attached; only the free point flexes for casting.
|
|
7
|
+
// Buckle uses an accent frame and an unoutlined neutral aperture. Casting releases one filled spark then rests.
|
|
6
8
|
export const witchHatStates = ['resting', 'tipping', 'casting'];
|
|
7
9
|
export const witchHatArt = {
|
|
8
10
|
name: 'witch-hat',
|
|
9
11
|
parts: [
|
|
10
12
|
{
|
|
11
13
|
name: 'crown',
|
|
12
|
-
paths: [
|
|
14
|
+
paths: [
|
|
15
|
+
'M7.1 17L9.2 9C9.85 5.9 10.7 3.45 14.9 3C14.6 4.9 12.5 5.6 12.9 7.4L17.5 17Q12 18.7 7.1 17Z',
|
|
16
|
+
],
|
|
17
|
+
pathStates: [
|
|
18
|
+
[
|
|
19
|
+
'M7.1 17L9.2 9C9.85 5.9 10.7 3.45 14.9 3C14.6 4.9 12.5 5.6 12.9 7.4L17.5 17Q12 18.7 7.1 17Z',
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
'M7.1 17L9.2 9C9.85 5.9 10.7 3.45 14.9 3C14.6 4.9 12.5 5.6 12.9 7.4L17.5 17Q12 18.7 7.1 17Z',
|
|
23
|
+
],
|
|
24
|
+
['M7.1 17L9.2 9C9.85 5.9 12.2 2.8 17 4.3C16.3 6 13.5 5.9 12.9 7.4L17.5 17Q12 18.7 7.1 17Z'],
|
|
25
|
+
],
|
|
13
26
|
poses: [
|
|
14
27
|
{},
|
|
15
28
|
{
|
|
@@ -17,8 +30,11 @@ export const witchHatArt = {
|
|
|
17
30
|
},
|
|
18
31
|
{},
|
|
19
32
|
],
|
|
20
|
-
surface: true,
|
|
21
33
|
pivot: [12, 19],
|
|
34
|
+
surface: true,
|
|
35
|
+
pathOffsets: [
|
|
36
|
+
[0, 0, 0, 0, 0, -0.3, 0.6, -0.2, 1.1, -0.25, 0.8, 0, 0.4, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
37
|
+
],
|
|
22
38
|
gestures: [
|
|
23
39
|
null,
|
|
24
40
|
{
|
|
@@ -55,15 +71,15 @@ export const witchHatArt = {
|
|
|
55
71
|
},
|
|
56
72
|
{
|
|
57
73
|
at: 0.22,
|
|
58
|
-
flex: -0.
|
|
74
|
+
flex: -0.4,
|
|
59
75
|
},
|
|
60
76
|
{
|
|
61
77
|
at: 0.42,
|
|
62
|
-
flex:
|
|
78
|
+
flex: 0.65,
|
|
63
79
|
},
|
|
64
80
|
{
|
|
65
81
|
at: 0.65,
|
|
66
|
-
flex: -0.
|
|
82
|
+
flex: -0.1,
|
|
67
83
|
},
|
|
68
84
|
{
|
|
69
85
|
at: 1,
|
|
@@ -71,26 +87,17 @@ export const witchHatArt = {
|
|
|
71
87
|
],
|
|
72
88
|
},
|
|
73
89
|
],
|
|
74
|
-
pathOffsets: [[0, 0, 0, 0, 0, -0.4, 1.5, 0, 0.4, 0, 0, 0, 0, 0, 0, 0]],
|
|
75
|
-
pathStates: [
|
|
76
|
-
['M7.1 17L10 6Q10.4 3.8 14.4 3L12.9 7L17.5 17Q12 18.7 7.1 17Z'],
|
|
77
|
-
['M7.1 17L10 6Q10.4 3.8 14.4 3L12.9 7L17.5 17Q12 18.7 7.1 17Z'],
|
|
78
|
-
['M7.1 17L10 7Q12 2.8 17 4.5L13.5 8L17.5 17Q12 18.7 7.1 17Z'],
|
|
79
|
-
],
|
|
80
90
|
},
|
|
81
91
|
{
|
|
82
92
|
name: 'band',
|
|
83
|
-
paths: ['
|
|
93
|
+
paths: ['M7.94 13.8Q12 15.05 15.966667 13.8'],
|
|
84
94
|
poses: [
|
|
85
95
|
{},
|
|
86
96
|
{
|
|
87
97
|
angle: -8,
|
|
88
98
|
},
|
|
89
|
-
{
|
|
90
|
-
flex: 0.4,
|
|
91
|
-
},
|
|
99
|
+
{},
|
|
92
100
|
],
|
|
93
|
-
detail: true,
|
|
94
101
|
pivot: [12, 19],
|
|
95
102
|
gestures: [
|
|
96
103
|
null,
|
|
@@ -119,6 +126,7 @@ export const witchHatArt = {
|
|
|
119
126
|
},
|
|
120
127
|
null,
|
|
121
128
|
],
|
|
129
|
+
detail: true,
|
|
122
130
|
},
|
|
123
131
|
{
|
|
124
132
|
name: 'brim',
|
|
@@ -128,9 +136,7 @@ export const witchHatArt = {
|
|
|
128
136
|
{
|
|
129
137
|
angle: -8,
|
|
130
138
|
},
|
|
131
|
-
{
|
|
132
|
-
flex: 0.4,
|
|
133
|
-
},
|
|
139
|
+
{},
|
|
134
140
|
],
|
|
135
141
|
surface: true,
|
|
136
142
|
pivot: [12, 19],
|
|
@@ -164,18 +170,57 @@ export const witchHatArt = {
|
|
|
164
170
|
},
|
|
165
171
|
{
|
|
166
172
|
name: 'buckle',
|
|
167
|
-
paths: [
|
|
173
|
+
paths: [
|
|
174
|
+
'M10.45 14.65H13.55Q14 14.65 14 15.1V17Q14 17.45 13.55 17.45H10.45Q10 17.45 10 17V15.1Q10 14.65 10.45 14.65Z',
|
|
175
|
+
],
|
|
168
176
|
poses: [
|
|
169
177
|
{},
|
|
170
178
|
{
|
|
171
179
|
angle: -8,
|
|
172
180
|
},
|
|
181
|
+
{},
|
|
182
|
+
],
|
|
183
|
+
pivot: [12, 19],
|
|
184
|
+
gestures: [
|
|
185
|
+
null,
|
|
173
186
|
{
|
|
174
|
-
|
|
187
|
+
duration: 0.8,
|
|
188
|
+
repeatAfter: 2,
|
|
189
|
+
loop: false,
|
|
190
|
+
interpolation: 'continuous',
|
|
191
|
+
frames: [
|
|
192
|
+
{
|
|
193
|
+
at: 0,
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
at: 0.38,
|
|
197
|
+
angle: -11,
|
|
198
|
+
y: -0.5,
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
at: 0.7,
|
|
202
|
+
angle: 2,
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
at: 1,
|
|
206
|
+
},
|
|
207
|
+
],
|
|
175
208
|
},
|
|
209
|
+
null,
|
|
176
210
|
],
|
|
177
|
-
|
|
211
|
+
fillOnly: 'ink',
|
|
178
212
|
accent: true,
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
name: 'buckle-window',
|
|
216
|
+
paths: ['M10.85 15.5H13.15V16.6H10.85Z'],
|
|
217
|
+
poses: [
|
|
218
|
+
{},
|
|
219
|
+
{
|
|
220
|
+
angle: -8,
|
|
221
|
+
},
|
|
222
|
+
{},
|
|
223
|
+
],
|
|
179
224
|
pivot: [12, 19],
|
|
180
225
|
gestures: [
|
|
181
226
|
null,
|
|
@@ -204,10 +249,11 @@ export const witchHatArt = {
|
|
|
204
249
|
},
|
|
205
250
|
null,
|
|
206
251
|
],
|
|
252
|
+
fillOnly: 'surface',
|
|
207
253
|
},
|
|
208
254
|
{
|
|
209
255
|
name: 'cast-spell',
|
|
210
|
-
paths: ['M20.
|
|
256
|
+
paths: ['M20.3 3.5L20.75 4.75L22 5.2L20.75 5.65L20.3 6.9L19.85 5.65L18.6 5.2L19.85 4.75Z'],
|
|
211
257
|
poses: [
|
|
212
258
|
{
|
|
213
259
|
opacity: 0,
|
|
@@ -219,9 +265,9 @@ export const witchHatArt = {
|
|
|
219
265
|
opacity: 0,
|
|
220
266
|
},
|
|
221
267
|
],
|
|
222
|
-
|
|
268
|
+
fillOnly: 'ink',
|
|
223
269
|
accent: true,
|
|
224
|
-
pivot: [20.
|
|
270
|
+
pivot: [20.3, 5.2],
|
|
225
271
|
gestures: [
|
|
226
272
|
null,
|
|
227
273
|
null,
|
|
@@ -233,42 +279,44 @@ export const witchHatArt = {
|
|
|
233
279
|
frames: [
|
|
234
280
|
{
|
|
235
281
|
at: 0,
|
|
236
|
-
x: -
|
|
237
|
-
y: -
|
|
238
|
-
scaleX: -0.
|
|
239
|
-
scaleY: -0.
|
|
282
|
+
x: -2.7,
|
|
283
|
+
y: -0.9,
|
|
284
|
+
scaleX: -0.82,
|
|
285
|
+
scaleY: -0.82,
|
|
240
286
|
},
|
|
241
287
|
{
|
|
242
|
-
at: 0.
|
|
243
|
-
x: -
|
|
244
|
-
y: -
|
|
245
|
-
scaleX: -0.
|
|
246
|
-
scaleY: -0.
|
|
288
|
+
at: 0.4,
|
|
289
|
+
x: -2.7,
|
|
290
|
+
y: -0.9,
|
|
291
|
+
scaleX: -0.82,
|
|
292
|
+
scaleY: -0.82,
|
|
247
293
|
},
|
|
248
294
|
{
|
|
249
|
-
at: 0.
|
|
250
|
-
x: -
|
|
251
|
-
y: -
|
|
252
|
-
scaleX: -0.
|
|
253
|
-
scaleY: -0.
|
|
295
|
+
at: 0.46,
|
|
296
|
+
x: -2.5,
|
|
297
|
+
y: -0.8,
|
|
298
|
+
scaleX: -0.7,
|
|
299
|
+
scaleY: -0.7,
|
|
254
300
|
opacity: 1,
|
|
255
301
|
},
|
|
256
302
|
{
|
|
257
|
-
at: 0.
|
|
258
|
-
|
|
259
|
-
|
|
303
|
+
at: 0.65,
|
|
304
|
+
x: -0.8,
|
|
305
|
+
y: -0.25,
|
|
306
|
+
scaleX: -0.15,
|
|
307
|
+
scaleY: -0.15,
|
|
260
308
|
opacity: 1,
|
|
261
309
|
},
|
|
262
310
|
{
|
|
263
|
-
at: 0.
|
|
264
|
-
scaleX: 0.
|
|
265
|
-
scaleY: 0.
|
|
266
|
-
opacity: 0.
|
|
311
|
+
at: 0.84,
|
|
312
|
+
scaleX: 0.1,
|
|
313
|
+
scaleY: 0.1,
|
|
314
|
+
opacity: 0.3,
|
|
267
315
|
},
|
|
268
316
|
{
|
|
269
317
|
at: 1,
|
|
270
|
-
scaleX: 0.
|
|
271
|
-
scaleY: 0.
|
|
318
|
+
scaleX: 0.1,
|
|
319
|
+
scaleY: 0.1,
|
|
272
320
|
},
|
|
273
321
|
],
|
|
274
322
|
},
|