Puppet Stage: a browser puppet that lip-syncs to local text-to-speech and takes stage directions, live or from a screenplay.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-face.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-face.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-face.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

Dan Quellhorst Converse: characters know they have bodies 52ca998 4 months, 1 week ago History
puppet.svg · 5.0 KB · 101 lines
1<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200">
2 <g id="puppet" style="transform-box:fill-box;transform-origin:50% 100%">
3
4 <g id="tail" style="transform-box:fill-box;transform-origin:95% 90%">
5 <path d="M92,112 Q60,95 50,65 Q46,58 55,60 Q70,80 88,105 Q95,110 92,112 Z" fill="#d98e4f" stroke="#1a1a1a" stroke-width="3"/>
6 <ellipse cx="51" cy="64" rx="8" ry="6" fill="#b06a35"/>
7 </g>
8
9 <g id="legs">
10 <g id="leg-back-left" style="transform-box:fill-box;transform-origin:50% 4%">
11 <rect x="95" y="135" width="16" height="38" rx="8" fill="#d98e4f" stroke="#1a1a1a" stroke-width="3"/>
12 <ellipse cx="103" cy="177" rx="15" ry="7" fill="#1a1a1a"/>
13 </g>
14 <g id="leg-back-right" style="transform-box:fill-box;transform-origin:50% 4%">
15 <rect x="119" y="139" width="16" height="40" rx="8" fill="#d98e4f" stroke="#1a1a1a" stroke-width="3"/>
16 <ellipse cx="127" cy="183" rx="15" ry="7" fill="#1a1a1a"/>
17 </g>
18 <g id="leg-front-left" style="transform-box:fill-box;transform-origin:50% 4%">
19 <rect x="175" y="138" width="16" height="40" rx="8" fill="#d98e4f" stroke="#1a1a1a" stroke-width="3"/>
20 <ellipse cx="183" cy="181" rx="15" ry="7" fill="#1a1a1a"/>
21 </g>
22 <g id="leg-front-right" style="transform-box:fill-box;transform-origin:50% 4%">
23 <rect x="198" y="141" width="16" height="42" rx="8" fill="#d98e4f" stroke="#1a1a1a" stroke-width="3"/>
24 <ellipse cx="206" cy="185" rx="15" ry="7" fill="#1a1a1a"/>
25 </g>
26 </g>
27
28 <g id="body">
29 <path d="M85,120 Q90,90 140,88 Q190,86 213,105 Q222,120 213,138 Q190,152 140,150 Q90,148 85,120 Z"
30 fill="#d98e4f" stroke="#1a1a1a" stroke-width="4"/>
31 <ellipse cx="150" cy="133" rx="52" ry="14" fill="#f6dfae" opacity="0.9"/>
32 <ellipse cx="172" cy="96" rx="18" ry="10" fill="#b06a35"/>
33 </g>
34
35 <g id="head" style="transform-box:fill-box;transform-origin:30% 80%">
36 <g id="ear-far" style="transform-box:fill-box;transform-origin:50% 0%">
37 <path d="M180,50 Q155,55 150,90 Q148,108 165,112 Q178,100 182,70 Z" fill="#b06a35" stroke="#1a1a1a" stroke-width="3"/>
38 </g>
39
40 <circle cx="210" cy="78" r="38" fill="#d98e4f" stroke="#1a1a1a" stroke-width="4"/>
41
42 <g id="ear-near" style="transform-box:fill-box;transform-origin:50% 0%">
43 <path d="M232,46 Q252,55 248,92 Q246,110 228,110 Q222,95 226,68 Z" fill="#b06a35" stroke="#1a1a1a" stroke-width="3"/>
44 </g>
45
46 <ellipse cx="257" cy="100" rx="30" ry="22" fill="#f6dfae" stroke="#1a1a1a" stroke-width="3"/>
47 <ellipse cx="283" cy="94" rx="9" ry="7" fill="#1a1a1a"/>
48
49 <!-- Pie-cut eyes: white sclera behind a black wedge-cut pupil, classic rubber-hose look -->
50 <g id="eyes" style="transform-box:fill-box;transform-origin:50% 50%">
51 <g id="eye-left">
52 <ellipse cx="193" cy="66" rx="11" ry="13" fill="#ffffff" stroke="#1a1a1a" stroke-width="3"/>
53 </g>
54 <g id="eye-right">
55 <ellipse cx="219" cy="66" rx="11" ry="13" fill="#ffffff" stroke="#1a1a1a" stroke-width="3"/>
56 </g>
57 <g id="pupils">
58 <circle cx="193" cy="67" r="6" fill="#1a1a1a"/>
59 <circle cx="219" cy="67" r="6" fill="#1a1a1a"/>
60 <circle cx="195.2" cy="64.4" r="1.8" fill="#ffffff"/>
61 <circle cx="221.2" cy="64.4" r="1.8" fill="#ffffff"/>
62 </g>
63 </g>
64
65 <!-- Nine mouth shapes drawn as muzzle/jaw poses: exactly one visible at a time -->
66 <g id="mouths">
67 <g id="mouth-X" style="transform-box:fill-box;transform-origin:50% 50%">
68 <path d="M251,112 Q263,116 275,112" stroke="#1a1a1a" stroke-width="3" fill="none" stroke-linecap="round"/>
69 </g>
70 <g id="mouth-A">
71 <path d="M251,113 L275,113" stroke="#1a1a1a" stroke-width="3.5" fill="none" stroke-linecap="round"/>
72 </g>
73 <g id="mouth-B">
74 <path d="M252,109 Q263,106 274,109 Q274,116 263,117 Q252,116 252,109 Z" fill="#1a1a1a"/>
75 <rect x="255" y="109" width="16" height="4" rx="2" fill="#ffffff"/>
76 </g>
77 <g id="mouth-C">
78 <ellipse cx="263" cy="112" rx="10" ry="6.5" fill="#1a1a1a"/>
79 </g>
80 <g id="mouth-D">
81 <ellipse cx="263" cy="113" rx="13" ry="10" fill="#1a1a1a"/>
82 <ellipse cx="263" cy="118" rx="7" ry="4" fill="#e0777a"/>
83 </g>
84 <g id="mouth-E">
85 <circle cx="263" cy="112" r="6" fill="#1a1a1a"/>
86 </g>
87 <g id="mouth-F">
88 <ellipse cx="263" cy="112" rx="4" ry="6" fill="#1a1a1a" stroke="#d98e4f" stroke-width="2.5"/>
89 </g>
90 <g id="mouth-G">
91 <rect x="254" y="109" width="18" height="5" rx="2" fill="#ffffff" stroke="#1a1a1a" stroke-width="1.5"/>
92 <path d="M252,116 Q263,119 274,116" stroke="#1a1a1a" stroke-width="3" fill="none" stroke-linecap="round"/>
93 </g>
94 <g id="mouth-H">
95 <ellipse cx="263" cy="112" rx="9" ry="7.5" fill="#1a1a1a"/>
96 <ellipse cx="263" cy="107.5" rx="5" ry="3" fill="#e0777a"/>
97 </g>
98 </g>
99 </g>
100 </g>
101</svg>