weasel-icons 0.14.0 → 0.14.2
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/can/can-rig.d.ts +32 -17
- package/dist/icons/can/can-rig.js +29 -30
- package/dist/icons/candy-corn/candy-corn-rig.d.ts +39 -12
- package/dist/icons/candy-corn/candy-corn-rig.js +71 -19
- package/dist/icons/fountain/fountain-rig.d.ts +28 -2
- package/dist/icons/fountain/fountain-rig.js +37 -10
- package/dist/icons/frankenstein/frankenstein-rig.d.ts +17 -5
- package/dist/icons/frankenstein/frankenstein-rig.js +22 -6
- package/dist/icons/grill-fork/grill-fork-rig.d.ts +8 -6
- package/dist/icons/grill-fork/grill-fork-rig.js +12 -7
- package/dist/icons/mummy/mummy-rig.d.ts +24 -24
- package/dist/icons/mummy/mummy-rig.js +49 -55
- package/dist/icons/rat/rat-rig.d.ts +16 -13
- package/dist/icons/rat/rat-rig.js +47 -39
- package/dist/icons/tombstone/tombstone-rig.d.ts +33 -18
- package/dist/icons/tombstone/tombstone-rig.js +40 -37
- package/dist/icons/vampire/vampire-rig.d.ts +20 -13
- package/dist/icons/vampire/vampire-rig.js +43 -43
- package/dist/shared/articulated-icon.js +9 -5
- package/dist/shared/articulation.d.ts +2 -0
- package/dist/source.json +1 -1
- package/package.json +1 -1
- package/skill-data/customize/references/motion.md +4 -0
- package/skill-data/customize/references/review.md +1 -0
|
@@ -4,7 +4,7 @@ export declare const grillForkArt: {
|
|
|
4
4
|
readonly name: "grill-fork";
|
|
5
5
|
readonly parts: readonly [{
|
|
6
6
|
readonly name: "food";
|
|
7
|
-
readonly paths: readonly ["M2.
|
|
7
|
+
readonly paths: readonly ["M2.1 4.6 L4.6 2.1 Q5.1 1.6 5.6 2.1 L6.9 3.4 Q7.4 3.9 6.9 4.4 L4.4 6.9 Q3.9 7.4 3.4 6.9 L2.1 5.6 Q1.6 5.1 2.1 4.6 Z"];
|
|
8
8
|
readonly poses: readonly [{
|
|
9
9
|
readonly opacity: 0;
|
|
10
10
|
}, {
|
|
@@ -12,12 +12,14 @@ export declare const grillForkArt: {
|
|
|
12
12
|
readonly y: -0.6;
|
|
13
13
|
readonly opacity: 0;
|
|
14
14
|
}, {
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
15
|
+
readonly y: -0.65;
|
|
16
|
+
readonly angle: 9;
|
|
17
17
|
readonly opacity: 1;
|
|
18
18
|
}];
|
|
19
19
|
readonly detail: true;
|
|
20
20
|
readonly accent: true;
|
|
21
|
+
readonly surface: true;
|
|
22
|
+
readonly pivot: readonly [18.4, 18.4];
|
|
21
23
|
}, {
|
|
22
24
|
readonly name: "body";
|
|
23
25
|
readonly paths: readonly ["M5 5l11.5 11.5", "M19.347 16.575l1.08 1.079a1.96 1.96 0 0 1 -2.773 2.772l-1.08 -1.079a1.96 1.96 0 0 1 2.773 -2.772", "M3 7l3.05 3.15a2.9 2.9 0 0 0 4.1 -4.1l-3.15 -3.05"];
|
|
@@ -25,9 +27,9 @@ export declare const grillForkArt: {
|
|
|
25
27
|
readonly x: -0.6;
|
|
26
28
|
readonly y: -0.6;
|
|
27
29
|
}, {
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
+
readonly y: -0.65;
|
|
31
|
+
readonly angle: 9;
|
|
30
32
|
}];
|
|
31
|
-
readonly pivot: readonly [
|
|
33
|
+
readonly pivot: readonly [18.4, 18.4];
|
|
32
34
|
}];
|
|
33
35
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Geometry reference: https://raw.githubusercontent.com/tabler/tabler-icons/ed177a085b652fe04ec4f37ced867c94621e7840/icons/outline/grill-fork.svg
|
|
2
2
|
// Adaptation and state motion authored for Weasel; see THIRD_PARTY_NOTICES.md.
|
|
3
|
-
//
|
|
3
|
+
// Preserve the reference tines, shaft and grip. The rounded bite is skewered by
|
|
4
|
+
// the middle tine; bite and utensil share the grip pivot throughout the lift.
|
|
4
5
|
// ready: Tines held clear
|
|
5
6
|
// piercing: Tines advance along shaft axis
|
|
6
7
|
// lifted: Tines and food lift together
|
|
@@ -10,7 +11,9 @@ export const grillForkArt = {
|
|
|
10
11
|
parts: [
|
|
11
12
|
{
|
|
12
13
|
name: 'food',
|
|
13
|
-
paths: [
|
|
14
|
+
paths: [
|
|
15
|
+
'M2.1 4.6 L4.6 2.1 Q5.1 1.6 5.6 2.1 L6.9 3.4 Q7.4 3.9 6.9 4.4 L4.4 6.9 Q3.9 7.4 3.4 6.9 L2.1 5.6 Q1.6 5.1 2.1 4.6 Z',
|
|
16
|
+
],
|
|
14
17
|
poses: [
|
|
15
18
|
{
|
|
16
19
|
opacity: 0,
|
|
@@ -21,13 +24,15 @@ export const grillForkArt = {
|
|
|
21
24
|
opacity: 0,
|
|
22
25
|
},
|
|
23
26
|
{
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
y: -0.65,
|
|
28
|
+
angle: 9,
|
|
26
29
|
opacity: 1,
|
|
27
30
|
},
|
|
28
31
|
],
|
|
29
32
|
detail: true,
|
|
30
33
|
accent: true,
|
|
34
|
+
surface: true,
|
|
35
|
+
pivot: [18.4, 18.4],
|
|
31
36
|
},
|
|
32
37
|
{
|
|
33
38
|
name: 'body',
|
|
@@ -43,11 +48,11 @@ export const grillForkArt = {
|
|
|
43
48
|
y: -0.6,
|
|
44
49
|
},
|
|
45
50
|
{
|
|
46
|
-
|
|
47
|
-
|
|
51
|
+
y: -0.65,
|
|
52
|
+
angle: 9,
|
|
48
53
|
},
|
|
49
54
|
],
|
|
50
|
-
pivot: [
|
|
55
|
+
pivot: [18.4, 18.4],
|
|
51
56
|
},
|
|
52
57
|
],
|
|
53
58
|
};
|
|
@@ -3,38 +3,17 @@ export type MummyState = (typeof mummyStates)[number];
|
|
|
3
3
|
export declare const mummyArt: {
|
|
4
4
|
readonly name: "mummy";
|
|
5
5
|
readonly parts: readonly [{
|
|
6
|
-
readonly name: "head";
|
|
7
|
-
readonly paths: readonly ["M12 3C7 3 4.8 6.4 5 12C5.2 17.8 8 21 12 21C16 21 18.8 17.8 19 12C19.2 6.4 17 3 12 3Z"];
|
|
8
|
-
readonly poses: readonly [{}, {}, {}];
|
|
9
|
-
readonly surface: true;
|
|
10
|
-
}, {
|
|
11
|
-
readonly name: "wraps";
|
|
12
|
-
readonly paths: readonly ["M6.7 6.3L18.5 9", "M9 3.6L5.3 9.7", "M5.1 13.5L18.5 16.1", "M6.6 17.4L15.6 20.1"];
|
|
13
|
-
readonly poses: readonly [{}, {}, {}];
|
|
14
|
-
readonly detail: true;
|
|
15
|
-
}, {
|
|
16
|
-
readonly name: "eye-opening";
|
|
17
|
-
readonly paths: readonly ["M6.6 9.8Q12 8.8 17.4 10L16.9 13Q12 11.8 7 12.5Z"];
|
|
18
|
-
readonly poses: readonly [{}, {}, {}];
|
|
19
|
-
readonly detail: true;
|
|
20
|
-
readonly pathStates: readonly [readonly ["M6.6 9.8Q12 8.8 17.4 10L16.9 13Q12 11.8 7 12.5Z"], readonly ["M6.6 9.3Q12 8.1 17.4 9.7L16.9 13Q12 13.6 7 13Z"], readonly ["M6.6 9.3Q12 8.1 17.4 9.7L16.9 13Q12 13.6 7 13Z"]];
|
|
21
|
-
}, {
|
|
22
|
-
readonly name: "eyes";
|
|
23
|
-
readonly paths: readonly ["M8.7 10.4Q9.7 10.25 10.7 10.4Q9.7 10.55 8.7 10.4Z", "M13 10.4Q14 10.25 15 10.4Q14 10.55 13 10.4Z"];
|
|
24
|
-
readonly poses: readonly [{}, {}, {}];
|
|
25
|
-
readonly detail: true;
|
|
26
|
-
readonly pathStates: readonly [readonly ["M8.7 10.4Q9.7 10.25 10.7 10.4Q9.7 10.55 8.7 10.4Z", "M13 10.4Q14 10.25 15 10.4Q14 10.55 13 10.4Z"], readonly ["M8.7 10.4Q9.7 9.65 10.7 10.4Q9.7 11.15 8.7 10.4Z", "M13 10.4Q14 9.65 15 10.4Q14 11.15 13 10.4Z"], readonly ["M8.7 10.4Q9.7 9.65 10.7 10.4Q9.7 11.15 8.7 10.4Z", "M13 10.4Q14 9.65 15 10.4Q14 11.15 13 10.4Z"]];
|
|
27
|
-
}, {
|
|
28
6
|
readonly name: "loose-wrap";
|
|
29
|
-
readonly paths: readonly ["M17.
|
|
7
|
+
readonly paths: readonly ["M17.9 15.1Q20.2 14.7 22.4 16.1L21.4 18.6Q20.7 16.9 17.9 17.4Z"];
|
|
30
8
|
readonly poses: readonly [{
|
|
31
9
|
readonly opacity: 0;
|
|
32
10
|
}, {
|
|
33
11
|
readonly opacity: 0;
|
|
34
12
|
}, {}];
|
|
35
13
|
readonly detail: true;
|
|
14
|
+
readonly surface: true;
|
|
36
15
|
readonly accent: true;
|
|
37
|
-
readonly pathOffsets: readonly [readonly [0, 0, 0, -
|
|
16
|
+
readonly pathOffsets: readonly [readonly [0, 0, 0, -0.6, 0, -1.5, 0, -1.5, 0, -0.6, 0, 0]];
|
|
38
17
|
readonly gestures: readonly [null, null, {
|
|
39
18
|
readonly duration: 1.8;
|
|
40
19
|
readonly repeatAfter: 1.8;
|
|
@@ -52,5 +31,26 @@ export declare const mummyArt: {
|
|
|
52
31
|
readonly at: 1;
|
|
53
32
|
}];
|
|
54
33
|
}];
|
|
34
|
+
}, {
|
|
35
|
+
readonly name: "head";
|
|
36
|
+
readonly paths: readonly ["M12 3C7 3 4.8 6.4 5 12C5.2 17.8 8 21 12 21C16 21 18.8 17.8 19 12C19.2 6.4 17 3 12 3Z"];
|
|
37
|
+
readonly poses: readonly [{}, {}, {}];
|
|
38
|
+
readonly surface: true;
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "wraps";
|
|
41
|
+
readonly paths: readonly ["M6.277262 5.8Q12 5.8 18.318653 7", "M5.697018 16.1Q12 18.8 17.135028 18.4"];
|
|
42
|
+
readonly poses: readonly [{}, {}, {}];
|
|
43
|
+
readonly detail: true;
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "eye-opening";
|
|
46
|
+
readonly paths: readonly ["M5.36268 8Q12 8.9 18.63732 8", "M5.141818 13.7Q12 12.7 18.858182 13.7"];
|
|
47
|
+
readonly poses: readonly [{}, {}, {}];
|
|
48
|
+
readonly detail: true;
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "eyes";
|
|
51
|
+
readonly paths: readonly ["M8.1 10.7Q9.3 10 10.5 10.7Q9.3 11.399999999999999 8.1 10.7Z", "M13.5 10.7Q14.7 10 15.9 10.7Q14.7 11.399999999999999 13.5 10.7Z"];
|
|
52
|
+
readonly pathStates: readonly [readonly ["M8.1 10.7Q9.3 10 10.5 10.7Q9.3 11.399999999999999 8.1 10.7Z", "M13.5 10.7Q14.7 10 15.9 10.7Q14.7 11.399999999999999 13.5 10.7Z"], readonly ["M8.1 10.7Q9.3 8.899999999999999 10.5 10.7Q9.3 12.5 8.1 10.7Z", "M13.5 10.7Q14.7 8.899999999999999 15.9 10.7Q14.7 12.5 13.5 10.7Z"], readonly ["M8.1 10.7Q9.3 8.899999999999999 10.5 10.7Q9.3 12.5 8.1 10.7Z", "M13.5 10.7Q14.7 8.899999999999999 15.9 10.7Q14.7 12.5 13.5 10.7Z"]];
|
|
53
|
+
readonly poses: readonly [{}, {}, {}];
|
|
54
|
+
readonly fillOnly: "ink";
|
|
55
55
|
}];
|
|
56
56
|
};
|
|
@@ -1,63 +1,13 @@
|
|
|
1
|
-
// Original Weasel
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// peeking: The eye opening widens and two eyes look out
|
|
5
|
-
// unravelling: A loose bandage end unfurls and flutters from its attached edge
|
|
1
|
+
// Original Weasel geometry and state choreography, refined from the existing glyph.
|
|
2
|
+
// The head stays fixed. Four attached bandage seams frame a clear neutral eye band.
|
|
3
|
+
// Eyes use solid main ink without doubled outlines; the loose wrap unfolds from behind the right cheek.
|
|
6
4
|
export const mummyStates = ['wrapped', 'peeking', 'unravelling'];
|
|
7
5
|
export const mummyArt = {
|
|
8
6
|
name: 'mummy',
|
|
9
7
|
parts: [
|
|
10
|
-
{
|
|
11
|
-
name: 'head',
|
|
12
|
-
paths: [
|
|
13
|
-
'M12 3C7 3 4.8 6.4 5 12C5.2 17.8 8 21 12 21C16 21 18.8 17.8 19 12C19.2 6.4 17 3 12 3Z',
|
|
14
|
-
],
|
|
15
|
-
poses: [{}, {}, {}],
|
|
16
|
-
surface: true,
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
name: 'wraps',
|
|
20
|
-
paths: ['M6.7 6.3L18.5 9', 'M9 3.6L5.3 9.7', 'M5.1 13.5L18.5 16.1', 'M6.6 17.4L15.6 20.1'],
|
|
21
|
-
poses: [{}, {}, {}],
|
|
22
|
-
detail: true,
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
name: 'eye-opening',
|
|
26
|
-
paths: ['M6.6 9.8Q12 8.8 17.4 10L16.9 13Q12 11.8 7 12.5Z'],
|
|
27
|
-
poses: [{}, {}, {}],
|
|
28
|
-
detail: true,
|
|
29
|
-
pathStates: [
|
|
30
|
-
['M6.6 9.8Q12 8.8 17.4 10L16.9 13Q12 11.8 7 12.5Z'],
|
|
31
|
-
['M6.6 9.3Q12 8.1 17.4 9.7L16.9 13Q12 13.6 7 13Z'],
|
|
32
|
-
['M6.6 9.3Q12 8.1 17.4 9.7L16.9 13Q12 13.6 7 13Z'],
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
name: 'eyes',
|
|
37
|
-
paths: [
|
|
38
|
-
'M8.7 10.4Q9.7 10.25 10.7 10.4Q9.7 10.55 8.7 10.4Z',
|
|
39
|
-
'M13 10.4Q14 10.25 15 10.4Q14 10.55 13 10.4Z',
|
|
40
|
-
],
|
|
41
|
-
poses: [{}, {}, {}],
|
|
42
|
-
detail: true,
|
|
43
|
-
pathStates: [
|
|
44
|
-
[
|
|
45
|
-
'M8.7 10.4Q9.7 10.25 10.7 10.4Q9.7 10.55 8.7 10.4Z',
|
|
46
|
-
'M13 10.4Q14 10.25 15 10.4Q14 10.55 13 10.4Z',
|
|
47
|
-
],
|
|
48
|
-
[
|
|
49
|
-
'M8.7 10.4Q9.7 9.65 10.7 10.4Q9.7 11.15 8.7 10.4Z',
|
|
50
|
-
'M13 10.4Q14 9.65 15 10.4Q14 11.15 13 10.4Z',
|
|
51
|
-
],
|
|
52
|
-
[
|
|
53
|
-
'M8.7 10.4Q9.7 9.65 10.7 10.4Q9.7 11.15 8.7 10.4Z',
|
|
54
|
-
'M13 10.4Q14 9.65 15 10.4Q14 11.15 13 10.4Z',
|
|
55
|
-
],
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
8
|
{
|
|
59
9
|
name: 'loose-wrap',
|
|
60
|
-
paths: ['M17.
|
|
10
|
+
paths: ['M17.9 15.1Q20.2 14.7 22.4 16.1L21.4 18.6Q20.7 16.9 17.9 17.4Z'],
|
|
61
11
|
poses: [
|
|
62
12
|
{
|
|
63
13
|
opacity: 0,
|
|
@@ -68,8 +18,9 @@ export const mummyArt = {
|
|
|
68
18
|
{},
|
|
69
19
|
],
|
|
70
20
|
detail: true,
|
|
21
|
+
surface: true,
|
|
71
22
|
accent: true,
|
|
72
|
-
pathOffsets: [[0, 0, 0, -
|
|
23
|
+
pathOffsets: [[0, 0, 0, -0.6, 0, -1.5, 0, -1.5, 0, -0.6, 0, 0]],
|
|
73
24
|
gestures: [
|
|
74
25
|
null,
|
|
75
26
|
null,
|
|
@@ -97,5 +48,48 @@ export const mummyArt = {
|
|
|
97
48
|
},
|
|
98
49
|
],
|
|
99
50
|
},
|
|
51
|
+
{
|
|
52
|
+
name: 'head',
|
|
53
|
+
paths: [
|
|
54
|
+
'M12 3C7 3 4.8 6.4 5 12C5.2 17.8 8 21 12 21C16 21 18.8 17.8 19 12C19.2 6.4 17 3 12 3Z',
|
|
55
|
+
],
|
|
56
|
+
poses: [{}, {}, {}],
|
|
57
|
+
surface: true,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'wraps',
|
|
61
|
+
paths: ['M6.277262 5.8Q12 5.8 18.318653 7', 'M5.697018 16.1Q12 18.8 17.135028 18.4'],
|
|
62
|
+
poses: [{}, {}, {}],
|
|
63
|
+
detail: true,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'eye-opening',
|
|
67
|
+
paths: ['M5.36268 8Q12 8.9 18.63732 8', 'M5.141818 13.7Q12 12.7 18.858182 13.7'],
|
|
68
|
+
poses: [{}, {}, {}],
|
|
69
|
+
detail: true,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'eyes',
|
|
73
|
+
paths: [
|
|
74
|
+
'M8.1 10.7Q9.3 10 10.5 10.7Q9.3 11.399999999999999 8.1 10.7Z',
|
|
75
|
+
'M13.5 10.7Q14.7 10 15.9 10.7Q14.7 11.399999999999999 13.5 10.7Z',
|
|
76
|
+
],
|
|
77
|
+
pathStates: [
|
|
78
|
+
[
|
|
79
|
+
'M8.1 10.7Q9.3 10 10.5 10.7Q9.3 11.399999999999999 8.1 10.7Z',
|
|
80
|
+
'M13.5 10.7Q14.7 10 15.9 10.7Q14.7 11.399999999999999 13.5 10.7Z',
|
|
81
|
+
],
|
|
82
|
+
[
|
|
83
|
+
'M8.1 10.7Q9.3 8.899999999999999 10.5 10.7Q9.3 12.5 8.1 10.7Z',
|
|
84
|
+
'M13.5 10.7Q14.7 8.899999999999999 15.9 10.7Q14.7 12.5 13.5 10.7Z',
|
|
85
|
+
],
|
|
86
|
+
[
|
|
87
|
+
'M8.1 10.7Q9.3 8.899999999999999 10.5 10.7Q9.3 12.5 8.1 10.7Z',
|
|
88
|
+
'M13.5 10.7Q14.7 8.899999999999999 15.9 10.7Q14.7 12.5 13.5 10.7Z',
|
|
89
|
+
],
|
|
90
|
+
],
|
|
91
|
+
poses: [{}, {}, {}],
|
|
92
|
+
fillOnly: 'ink',
|
|
93
|
+
},
|
|
100
94
|
],
|
|
101
95
|
};
|
|
@@ -4,32 +4,35 @@ export declare const ratArt: {
|
|
|
4
4
|
readonly name: "rat";
|
|
5
5
|
readonly parts: readonly [{
|
|
6
6
|
readonly name: "structure";
|
|
7
|
-
readonly paths: readonly ["M 13 22 H 4 a 2 2 0 0 1 0 -4 h 12", "M 13.236 18 a 3 3 0 0 0 -2.2 -5"
|
|
7
|
+
readonly paths: readonly ["M 13 22 H 4 a 2 2 0 0 1 0 -4 h 12", "M 13.236 18 a 3 3 0 0 0 -2.2 -5"];
|
|
8
8
|
readonly poses: readonly [{}, {}, {}];
|
|
9
9
|
}, {
|
|
10
|
-
readonly name: "
|
|
11
|
-
readonly paths: readonly ["M 21.
|
|
10
|
+
readonly name: "head";
|
|
11
|
+
readonly paths: readonly ["M 16.82 3.94 C 17.66859 3.041639 18.981232 2.75555 20.126696 3.219307 C 21.272159 3.683065 22.016048 4.801772 22.000638 6.037458 C 21.985228 7.273144 21.213672 8.372952 20.057 8.808 L 21.872 11.395 C 22.085823 11.879686 22.028128 12.441216 21.720214 12.872296 C 21.4123 13.303375 20.899835 13.540069 20.372 13.495 L 17.5 13.042 C 16.622008 12.893503 15.72342 13.142716 15.047332 13.72222 C 14.371243 14.301725 13.987531 15.151626 14 16.042", "M 17 4.988 C 16.994443 3.645777 16.097999 2.470578 14.804984 2.11043 C 13.511969 1.750282 12.137074 2.292837 11.438441 3.43892 C 10.739808 4.585003 10.887468 6.055683 11.8 7.04 C 9.813625 6.811479 7.824339 7.443309 6.333872 8.776131 C 4.843404 10.108953 3.994039 12.015532 4 14.015 C 4.008262 16.218279 5.796706 18.000015 8 18", "M 16 9 L 16.01 9"];
|
|
12
|
+
readonly pathStates: readonly [readonly ["M 16.82 3.94 C 17.66859 3.041639 18.981232 2.75555 20.126696 3.219307 C 21.272159 3.683065 22.016048 4.801772 22.000638 6.037458 C 21.985228 7.273144 21.213672 8.372952 20.057 8.808 L 21.872 11.395 C 22.085823 11.879686 22.028128 12.441216 21.720214 12.872296 C 21.4123 13.303375 20.899835 13.540069 20.372 13.495 L 17.5 13.042 C 16.622008 12.893503 15.72342 13.142716 15.047332 13.72222 C 14.371243 14.301725 13.987531 15.151626 14 16.042", "M 17 4.988 C 16.994443 3.645777 16.097999 2.470578 14.804984 2.11043 C 13.511969 1.750282 12.137074 2.292837 11.438441 3.43892 C 10.739808 4.585003 10.887468 6.055683 11.8 7.04 C 9.813625 6.811479 7.824339 7.443309 6.333872 8.776131 C 4.843404 10.108953 3.994039 12.015532 4 14.015 C 4.008262 16.218279 5.796706 18.000015 8 18", "M 16 9 L 16.01 9"], readonly ["M 17.12 4.14 C 17.96859 3.241639 19.281232 2.95555 20.426696 3.419307 C 21.572159 3.883065 22.316048 5.001772 22.300638 6.237458 C 22.285228 7.473144 21.513672 8.572952 20.357 9.008 L 22.172 11.595 C 22.385823 12.079686 22.328128 12.641216 22.020214 13.072296 C 21.7123 13.503375 21.199835 13.740069 20.672 13.695 L 17.8 13.242 C 16.922008 13.093503 16.013349 13.336002 15.27931 13.876872 C 14.545271 14.417743 14.076568 15.210985 14 16.042", "M 17.3 5.188 C 17.294443 3.845777 16.397999 2.670578 15.104984 2.31043 C 13.811969 1.950282 12.437074 2.492837 11.738441 3.63892 C 11.039808 4.785003 11.187468 6.255683 12.1 7.24 C 10.113625 7.011479 8.106993 7.631744 6.559199 8.926349 C 5.011406 10.220954 4.080038 12.072864 4 14.015 C 4.008262 16.218279 5.796706 18.000015 8 18", "M 16.3 9.2 L 16.31 9.2"], readonly ["M 13.942283 3.161018 C 14.452163 2.035327 15.600149 1.33747 16.834191 1.403035 C 18.068232 1.4686 19.135809 2.284171 19.523538 3.457553 C 19.911268 4.630934 19.53981 5.922017 18.587792 6.709938 L 21.146153 8.565089 C 21.506125 8.953754 21.63439 9.503475 21.483597 10.011316 C 21.332805 10.519157 20.925319 10.909798 20.411569 11.03903 L 17.548557 11.545742 C 16.670054 11.691181 15.895577 12.250367 15.35945 13.154024 C 14.736204 13.98484 14.262581 15.012833 14 16.042", "M 14.453672 4.093319 C 14.011433 2.826031 12.781221 2.006713 11.441399 2.087151 C 10.101576 2.167589 8.978226 3.128207 8.690783 4.439302 C 8.40334 5.750397 9.021763 7.092879 10.205041 7.726478 C 8.252488 8.157108 6.649392 9.288897 5.784126 10.557337 C 4.721994 11.66808 4.123093 12.863128 4 14.015 C 4.008262 16.218279 5.796706 18.000015 8 18", "M 14.814333 8.212308 L 14.823788 8.209052"]];
|
|
13
|
+
readonly pathOffsets: readonly [readonly [0.059633, -0.369172, -0.001771, -0.423437, -0.023617, -0.509801, 0.0046, -0.586735, 0.032816, -0.663669, 0.105322, -0.715429, 0.187249, -0.717125, 0.269177, -0.71882, 0.343762, -0.670104, 0.375137, -0.594403, 0.542597, -0.720378, 0.574249, -0.735614, 0.611591, -0.733025, 0.640837, -0.713566, 0.670084, -0.694108, 0.686897, -0.660665, 0.68507, -0.625584, 0.661363, -0.43425, 0.653451, -0.375735, 0.649385, -0.306097, 0.550434, -0.211252, 0.436071, -0.133226, 0.240074, -0.061169, 0, 0], readonly [0.128692, -0.383406, 0.03975, -0.380086, -0.036164, -0.318092, -0.05719, -0.231607, -0.078216, -0.145122, -0.039236, -0.055195, 0.038256, -0.011414, 0.115747, 0.032368, 0.21289, 0.019348, 0.276118, -0.043293, 0.26534, 0.088855, 0.293571, 0.206623, 0.302837, 0.236708, 0.277094, 0.230163, 0.178598, 0.132753, 0, 0, 0, 0, 0, 0, 0, 0], readonly [0.396781, -0.325952, 0.396759, -0.326615]];
|
|
12
14
|
readonly poses: readonly [{}, {}, {}];
|
|
13
|
-
readonly detail: true;
|
|
14
|
-
readonly pathOffsets: readonly [readonly [0, 0, 0, -0.55], readonly [0, 0, 0, 0.55]];
|
|
15
15
|
readonly gestures: readonly [null, {
|
|
16
|
-
readonly duration:
|
|
17
|
-
readonly repeatAfter:
|
|
18
|
-
readonly loop:
|
|
16
|
+
readonly duration: 1.05;
|
|
17
|
+
readonly repeatAfter: 2.2;
|
|
18
|
+
readonly loop: true;
|
|
19
19
|
readonly frames: readonly [{
|
|
20
20
|
readonly at: 0;
|
|
21
21
|
}, {
|
|
22
|
-
readonly at: 0.
|
|
22
|
+
readonly at: 0.16;
|
|
23
23
|
readonly flex: 1;
|
|
24
24
|
}, {
|
|
25
|
-
readonly at: 0.
|
|
25
|
+
readonly at: 0.34;
|
|
26
|
+
readonly flex: 0.05;
|
|
26
27
|
}, {
|
|
27
|
-
readonly at: 0.
|
|
28
|
-
readonly flex:
|
|
28
|
+
readonly at: 0.53;
|
|
29
|
+
readonly flex: 0.85;
|
|
30
|
+
}, {
|
|
31
|
+
readonly at: 0.76;
|
|
32
|
+
readonly flex: 0;
|
|
29
33
|
}, {
|
|
30
34
|
readonly at: 1;
|
|
31
35
|
}];
|
|
32
36
|
}, null];
|
|
33
|
-
readonly pathStates: readonly [readonly ["M 21.5 12 L 23.8 10.8", "M 21.5 12 L 23.8 13.2"], readonly ["M 21.5 12 L 23.8 10.8", "M 21.5 12 L 23.8 13.2"], readonly ["M 21.5 12 L 23.6 9.6", "M 21.5 12 L 23.6 14.4"]];
|
|
34
37
|
}];
|
|
35
38
|
};
|
|
@@ -1,62 +1,70 @@
|
|
|
1
1
|
export const ratStates = ['rest', 'sniff', 'alert'];
|
|
2
|
-
//
|
|
2
|
+
// The head, nose, ears and eye move as one assembly; the neck blends into the
|
|
3
|
+
// fixed shoulders. Sniff makes two short exploratory nods; Alive repeats the bout.
|
|
4
|
+
// Alert lifts the head and holds. Tail and haunch stay planted in every state.
|
|
3
5
|
// Adapted Lucide geometry; see THIRD_PARTY_NOTICES.md.
|
|
6
|
+
const restingHead = [
|
|
7
|
+
'M 16.82 3.94 C 17.66859 3.041639 18.981232 2.75555 20.126696 3.219307 C 21.272159 3.683065 22.016048 4.801772 22.000638 6.037458 C 21.985228 7.273144 21.213672 8.372952 20.057 8.808 L 21.872 11.395 C 22.085823 11.879686 22.028128 12.441216 21.720214 12.872296 C 21.4123 13.303375 20.899835 13.540069 20.372 13.495 L 17.5 13.042 C 16.622008 12.893503 15.72342 13.142716 15.047332 13.72222 C 14.371243 14.301725 13.987531 15.151626 14 16.042',
|
|
8
|
+
'M 17 4.988 C 16.994443 3.645777 16.097999 2.470578 14.804984 2.11043 C 13.511969 1.750282 12.137074 2.292837 11.438441 3.43892 C 10.739808 4.585003 10.887468 6.055683 11.8 7.04 C 9.813625 6.811479 7.824339 7.443309 6.333872 8.776131 C 4.843404 10.108953 3.994039 12.015532 4 14.015 C 4.008262 16.218279 5.796706 18.000015 8 18',
|
|
9
|
+
'M 16 9 L 16.01 9',
|
|
10
|
+
];
|
|
11
|
+
const sniffingHead = [
|
|
12
|
+
'M 17.12 4.14 C 17.96859 3.241639 19.281232 2.95555 20.426696 3.419307 C 21.572159 3.883065 22.316048 5.001772 22.300638 6.237458 C 22.285228 7.473144 21.513672 8.572952 20.357 9.008 L 22.172 11.595 C 22.385823 12.079686 22.328128 12.641216 22.020214 13.072296 C 21.7123 13.503375 21.199835 13.740069 20.672 13.695 L 17.8 13.242 C 16.922008 13.093503 16.013349 13.336002 15.27931 13.876872 C 14.545271 14.417743 14.076568 15.210985 14 16.042',
|
|
13
|
+
'M 17.3 5.188 C 17.294443 3.845777 16.397999 2.670578 15.104984 2.31043 C 13.811969 1.950282 12.437074 2.492837 11.738441 3.63892 C 11.039808 4.785003 11.187468 6.255683 12.1 7.24 C 10.113625 7.011479 8.106993 7.631744 6.559199 8.926349 C 5.011406 10.220954 4.080038 12.072864 4 14.015 C 4.008262 16.218279 5.796706 18.000015 8 18',
|
|
14
|
+
'M 16.3 9.2 L 16.31 9.2',
|
|
15
|
+
];
|
|
16
|
+
const attentiveHead = [
|
|
17
|
+
'M 13.942283 3.161018 C 14.452163 2.035327 15.600149 1.33747 16.834191 1.403035 C 18.068232 1.4686 19.135809 2.284171 19.523538 3.457553 C 19.911268 4.630934 19.53981 5.922017 18.587792 6.709938 L 21.146153 8.565089 C 21.506125 8.953754 21.63439 9.503475 21.483597 10.011316 C 21.332805 10.519157 20.925319 10.909798 20.411569 11.03903 L 17.548557 11.545742 C 16.670054 11.691181 15.895577 12.250367 15.35945 13.154024 C 14.736204 13.98484 14.262581 15.012833 14 16.042',
|
|
18
|
+
'M 14.453672 4.093319 C 14.011433 2.826031 12.781221 2.006713 11.441399 2.087151 C 10.101576 2.167589 8.978226 3.128207 8.690783 4.439302 C 8.40334 5.750397 9.021763 7.092879 10.205041 7.726478 C 8.252488 8.157108 6.649392 9.288897 5.784126 10.557337 C 4.721994 11.66808 4.123093 12.863128 4 14.015 C 4.008262 16.218279 5.796706 18.000015 8 18',
|
|
19
|
+
'M 14.814333 8.212308 L 14.823788 8.209052',
|
|
20
|
+
];
|
|
4
21
|
export const ratArt = {
|
|
5
22
|
name: 'rat',
|
|
6
23
|
parts: [
|
|
7
24
|
{
|
|
8
25
|
name: 'structure',
|
|
9
|
-
paths: [
|
|
10
|
-
'M 13 22 H 4 a 2 2 0 0 1 0 -4 h 12',
|
|
11
|
-
'M 13.236 18 a 3 3 0 0 0 -2.2 -5',
|
|
12
|
-
'M 16 9 h .01',
|
|
13
|
-
'M 16.82 3.94 a 3 3 0 1 1 3.237 4.868 l 1.815 2.587 a 1.5 1.5 0 0 1 -1.5 2.1 l -2.872 -.453 a 3 3 0 0 0 -3.5 3',
|
|
14
|
-
'M 17 4.988 a 3 3 0 1 0 -5.2 2.052 A 7 7 0 0 0 4 14.015 4 4 0 0 0 8 18',
|
|
15
|
-
],
|
|
26
|
+
paths: ['M 13 22 H 4 a 2 2 0 0 1 0 -4 h 12', 'M 13.236 18 a 3 3 0 0 0 -2.2 -5'],
|
|
16
27
|
poses: [{}, {}, {}],
|
|
17
28
|
},
|
|
18
29
|
{
|
|
19
|
-
name: '
|
|
20
|
-
paths:
|
|
21
|
-
|
|
22
|
-
detail: true,
|
|
30
|
+
name: 'head',
|
|
31
|
+
paths: restingHead,
|
|
32
|
+
pathStates: [restingHead, sniffingHead, attentiveHead],
|
|
23
33
|
pathOffsets: [
|
|
24
|
-
[
|
|
25
|
-
|
|
34
|
+
[
|
|
35
|
+
0.059633, -0.369172, -0.001771, -0.423437, -0.023617, -0.509801, 0.0046, -0.586735,
|
|
36
|
+
0.032816, -0.663669, 0.105322, -0.715429, 0.187249, -0.717125, 0.269177, -0.71882,
|
|
37
|
+
0.343762, -0.670104, 0.375137, -0.594403, 0.542597, -0.720378, 0.574249, -0.735614,
|
|
38
|
+
0.611591, -0.733025, 0.640837, -0.713566, 0.670084, -0.694108, 0.686897, -0.660665,
|
|
39
|
+
0.68507, -0.625584, 0.661363, -0.43425, 0.653451, -0.375735, 0.649385, -0.306097,
|
|
40
|
+
0.550434, -0.211252, 0.436071, -0.133226, 0.240074, -0.061169, 0, 0,
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
0.128692, -0.383406, 0.03975, -0.380086, -0.036164, -0.318092, -0.05719, -0.231607,
|
|
44
|
+
-0.078216, -0.145122, -0.039236, -0.055195, 0.038256, -0.011414, 0.115747, 0.032368,
|
|
45
|
+
0.21289, 0.019348, 0.276118, -0.043293, 0.26534, 0.088855, 0.293571, 0.206623, 0.302837,
|
|
46
|
+
0.236708, 0.277094, 0.230163, 0.178598, 0.132753, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
47
|
+
],
|
|
48
|
+
[0.396781, -0.325952, 0.396759, -0.326615],
|
|
26
49
|
],
|
|
50
|
+
poses: [{}, {}, {}],
|
|
27
51
|
gestures: [
|
|
28
52
|
null,
|
|
29
53
|
{
|
|
30
|
-
duration:
|
|
31
|
-
repeatAfter:
|
|
32
|
-
loop:
|
|
54
|
+
duration: 1.05,
|
|
55
|
+
repeatAfter: 2.2,
|
|
56
|
+
loop: true,
|
|
33
57
|
frames: [
|
|
34
|
-
{
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
at: 0.5,
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
at: 0.7,
|
|
46
|
-
flex: 1,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
at: 1,
|
|
50
|
-
},
|
|
58
|
+
{ at: 0 },
|
|
59
|
+
{ at: 0.16, flex: 1 },
|
|
60
|
+
{ at: 0.34, flex: 0.05 },
|
|
61
|
+
{ at: 0.53, flex: 0.85 },
|
|
62
|
+
{ at: 0.76, flex: 0 },
|
|
63
|
+
{ at: 1 },
|
|
51
64
|
],
|
|
52
65
|
},
|
|
53
66
|
null,
|
|
54
67
|
],
|
|
55
|
-
pathStates: [
|
|
56
|
-
['M 21.5 12 L 23.8 10.8', 'M 21.5 12 L 23.8 13.2'],
|
|
57
|
-
['M 21.5 12 L 23.8 10.8', 'M 21.5 12 L 23.8 13.2'],
|
|
58
|
-
['M 21.5 12 L 23.6 9.6', 'M 21.5 12 L 23.6 14.4'],
|
|
59
|
-
],
|
|
60
68
|
},
|
|
61
69
|
],
|
|
62
70
|
};
|
|
@@ -6,18 +6,25 @@ export declare const tombstoneArt: {
|
|
|
6
6
|
readonly name: "far-bat";
|
|
7
7
|
readonly paths: readonly ["M8 2.9Q10.2 3.1 11.4 4.1L11.6 3.3L12 3.7L12.4 3.3L12.6 4.1Q13.8 3.1 16 2.9L15.2 5Q13.5 4.6 12 6Q10.5 4.6 8.8 5Z"];
|
|
8
8
|
readonly poses: readonly [{
|
|
9
|
+
readonly x: 8;
|
|
10
|
+
readonly y: -3.4;
|
|
11
|
+
readonly scaleX: 0.52;
|
|
12
|
+
readonly scaleY: 0.52;
|
|
9
13
|
readonly opacity: 0;
|
|
10
14
|
}, {
|
|
15
|
+
readonly x: 8;
|
|
16
|
+
readonly y: -3.4;
|
|
17
|
+
readonly scaleX: 0.52;
|
|
18
|
+
readonly scaleY: 0.52;
|
|
11
19
|
readonly opacity: 0;
|
|
12
20
|
}, {
|
|
13
21
|
readonly x: 8;
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
22
|
+
readonly y: -3.4;
|
|
23
|
+
readonly scaleX: 0.52;
|
|
24
|
+
readonly scaleY: 0.52;
|
|
16
25
|
}];
|
|
17
|
-
readonly detail: true;
|
|
18
|
-
readonly surface: true;
|
|
19
26
|
readonly pivot: readonly [12, 4.5];
|
|
20
|
-
readonly pathOffsets: readonly [readonly [0,
|
|
27
|
+
readonly pathOffsets: readonly [readonly [0, 0.8, 0, 0.8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.8, 0, 0.8, 0, 0.8, 0, 0.5, 0, 0, 0, 0.5, 0, 0.8]];
|
|
21
28
|
readonly gestures: readonly [null, null, {
|
|
22
29
|
readonly duration: 4.4;
|
|
23
30
|
readonly repeatAfter: 5.1;
|
|
@@ -52,27 +59,25 @@ export declare const tombstoneArt: {
|
|
|
52
59
|
readonly at: 1;
|
|
53
60
|
}];
|
|
54
61
|
}];
|
|
62
|
+
readonly fillOnly: "ink";
|
|
55
63
|
}, {
|
|
56
64
|
readonly name: "stone";
|
|
57
|
-
readonly paths: readonly ["M6
|
|
65
|
+
readonly paths: readonly ["M6 19V9.3C6 4.233333 18 4.233333 18 9.3V19"];
|
|
58
66
|
readonly poses: readonly [{}, {}, {}];
|
|
59
67
|
readonly surface: true;
|
|
60
|
-
readonly pathStates: readonly [readonly ["M6 18V8C6 1.5 18 1.5 18 8V18"], readonly ["M6 18V8C6 1.5 18 1.5 18 8V18"], readonly ["M6 18V12.5C6 7.5 18 7.5 18 12.5V18"]];
|
|
61
68
|
}, {
|
|
62
69
|
readonly name: "plinth";
|
|
63
|
-
readonly paths: readonly ["M4.5
|
|
70
|
+
readonly paths: readonly ["M4.5 19H19.5V21H4.5Z"];
|
|
64
71
|
readonly poses: readonly [{}, {}, {}];
|
|
65
72
|
readonly surface: true;
|
|
66
73
|
}, {
|
|
67
74
|
readonly name: "epitaph";
|
|
68
|
-
readonly paths: readonly ["M8
|
|
69
|
-
readonly poses: readonly [{}, {}, {
|
|
70
|
-
|
|
71
|
-
}];
|
|
72
|
-
readonly detail: true;
|
|
75
|
+
readonly paths: readonly ["M8 12H9.55C11.5 12 11.7 14.35 10.15 14.75L11.25 16H10.05L9.1 14.85H8.9V16H8Z M8.9 12.8V14.05H9.55C10.45 14.05 10.45 12.8 9.55 12.8Z", "M11.9 12H12.8V16H11.9Z", "M13.5 12H15C17.1 12 17.1 15 15 15H14.4V16H13.5Z M14.4 12.8V14.2H15C16 14.2 16 12.8 15 12.8Z"];
|
|
76
|
+
readonly poses: readonly [{}, {}, {}];
|
|
77
|
+
readonly fillOnly: "ink";
|
|
73
78
|
}, {
|
|
74
79
|
readonly name: "crack";
|
|
75
|
-
readonly paths: readonly ["M12
|
|
80
|
+
readonly paths: readonly ["M12 5.5L11.1 7.3L12.6 8.2L11.7 10.2"];
|
|
76
81
|
readonly poses: readonly [{
|
|
77
82
|
readonly opacity: 0;
|
|
78
83
|
readonly draw: 0;
|
|
@@ -81,7 +86,7 @@ export declare const tombstoneArt: {
|
|
|
81
86
|
}];
|
|
82
87
|
readonly accent: true;
|
|
83
88
|
readonly detail: true;
|
|
84
|
-
readonly traceLength:
|
|
89
|
+
readonly traceLength: 5.954917968149532;
|
|
85
90
|
readonly gestures: readonly [null, {
|
|
86
91
|
readonly duration: 0.65;
|
|
87
92
|
readonly repeatAfter: 1;
|
|
@@ -98,16 +103,25 @@ export declare const tombstoneArt: {
|
|
|
98
103
|
readonly name: "near-bat";
|
|
99
104
|
readonly paths: readonly ["M8 2.9Q10.2 3.1 11.4 4.1L11.6 3.3L12 3.7L12.4 3.3L12.6 4.1Q13.8 3.1 16 2.9L15.2 5Q13.5 4.6 12 6Q10.5 4.6 8.8 5Z"];
|
|
100
105
|
readonly poses: readonly [{
|
|
106
|
+
readonly x: -8;
|
|
107
|
+
readonly y: -3;
|
|
108
|
+
readonly scaleX: 0.7;
|
|
109
|
+
readonly scaleY: 0.7;
|
|
101
110
|
readonly opacity: 0;
|
|
102
111
|
}, {
|
|
112
|
+
readonly x: -8;
|
|
113
|
+
readonly y: -3;
|
|
114
|
+
readonly scaleX: 0.7;
|
|
115
|
+
readonly scaleY: 0.7;
|
|
103
116
|
readonly opacity: 0;
|
|
104
117
|
}, {
|
|
105
118
|
readonly x: -8;
|
|
119
|
+
readonly y: -3;
|
|
120
|
+
readonly scaleX: 0.7;
|
|
121
|
+
readonly scaleY: 0.7;
|
|
106
122
|
}];
|
|
107
|
-
readonly detail: true;
|
|
108
|
-
readonly surface: true;
|
|
109
123
|
readonly pivot: readonly [12, 4.5];
|
|
110
|
-
readonly pathOffsets: readonly [readonly [0,
|
|
124
|
+
readonly pathOffsets: readonly [readonly [0, 0.8, 0, 0.8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.8, 0, 0.8, 0, 0.8, 0, 0.5, 0, 0, 0, 0.5, 0, 0.8]];
|
|
111
125
|
readonly gestures: readonly [null, null, {
|
|
112
126
|
readonly duration: 4.4;
|
|
113
127
|
readonly repeatAfter: 5.1;
|
|
@@ -147,5 +161,6 @@ export declare const tombstoneArt: {
|
|
|
147
161
|
readonly at: 1;
|
|
148
162
|
}];
|
|
149
163
|
}];
|
|
164
|
+
readonly fillOnly: "ink";
|
|
150
165
|
}];
|
|
151
166
|
};
|