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 · 4.0 KB · 88 lines
1<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 220 280">
2 <g id="puppet" style="transform-box:fill-box;transform-origin:50% 100%">
3
4 <g id="legs">
5 <rect id="leg-left" x="84" y="228" width="15" height="36" rx="7" fill="#4a5568"/>
6 <rect id="leg-right" x="122" y="228" width="15" height="36" rx="7" fill="#4a5568"/>
7 <ellipse cx="90" cy="266" rx="15" ry="7" fill="#2d3748"/>
8 <ellipse cx="130" cy="266" rx="15" ry="7" fill="#2d3748"/>
9 </g>
10
11 <g id="arm-left" style="transform-box:fill-box;transform-origin:70% 10%">
12 <path d="M68,168 Q48,190 52,212" stroke="#ed8936" stroke-width="14" fill="none" stroke-linecap="round"/>
13 <circle cx="52" cy="214" r="9" fill="#f6ad55"/>
14 </g>
15 <g id="arm-right" style="transform-box:fill-box;transform-origin:30% 10%">
16 <path d="M152,168 Q172,190 168,212" stroke="#ed8936" stroke-width="14" fill="none" stroke-linecap="round"/>
17 <circle cx="168" cy="214" r="9" fill="#f6ad55"/>
18 </g>
19
20 <g id="body">
21 <path d="M70,150 Q110,134 150,150 L157,226 Q110,246 63,226 Z" fill="#ed8936"/>
22 <ellipse cx="110" cy="204" rx="27" ry="21" fill="#fbd38d"/>
23 </g>
24
25 <g id="head" style="transform-box:fill-box;transform-origin:50% 90%">
26 <circle cx="110" cy="88" r="64" fill="#f6ad55" stroke="#dd6b20" stroke-width="3"/>
27 <path d="M96,26 Q104,10 118,18 Q110,22 112,30" fill="#dd6b20"/>
28
29 <circle id="cheek-left" cx="70" cy="102" r="9" fill="#fc8181" opacity="0.45"/>
30 <circle id="cheek-right" cx="150" cy="102" r="9" fill="#fc8181" opacity="0.45"/>
31
32 <g id="brows">
33 <path id="brow-left" style="transform-box:fill-box;transform-origin:50% 50%"
34 d="M74,58 Q86,50 98,57" stroke="#7b341e" stroke-width="5" fill="none" stroke-linecap="round"/>
35 <path id="brow-right" style="transform-box:fill-box;transform-origin:50% 50%"
36 d="M122,57 Q134,50 146,58" stroke="#7b341e" stroke-width="5" fill="none" stroke-linecap="round"/>
37 </g>
38
39 <g id="eyes" style="transform-box:fill-box;transform-origin:50% 50%">
40 <g id="eye-left">
41 <circle cx="86" cy="80" r="12" fill="#fff" stroke="#7b341e" stroke-width="2"/>
42 </g>
43 <g id="eye-right">
44 <circle cx="134" cy="80" r="12" fill="#fff" stroke="#7b341e" stroke-width="2"/>
45 </g>
46 <g id="pupils">
47 <circle cx="88" cy="81" r="5.5" fill="#2d3748"/>
48 <circle cx="136" cy="81" r="5.5" fill="#2d3748"/>
49 </g>
50 </g>
51
52 <!-- Rhubarb mouth shapes: exactly one visible at a time -->
53 <g id="mouths">
54 <g id="mouth-X">
55 <path d="M96,122 Q110,129 124,122" stroke="#7b341e" stroke-width="4.5" fill="none" stroke-linecap="round"/>
56 </g>
57 <g id="mouth-A">
58 <path d="M95,124 L125,124" stroke="#7b341e" stroke-width="5" fill="none" stroke-linecap="round"/>
59 </g>
60 <g id="mouth-B">
61 <path d="M95,119 Q110,115 125,119 Q125,131 110,132 Q95,131 95,119 Z" fill="#5f2412"/>
62 <rect x="99" y="119" width="22" height="5" rx="2" fill="#fff"/>
63 </g>
64 <g id="mouth-C">
65 <ellipse cx="110" cy="124" rx="13" ry="8.5" fill="#5f2412"/>
66 </g>
67 <g id="mouth-D">
68 <ellipse cx="110" cy="125" rx="17" ry="13" fill="#5f2412"/>
69 <ellipse cx="110" cy="133" rx="9" ry="5" fill="#fc8181"/>
70 </g>
71 <g id="mouth-E">
72 <circle cx="110" cy="124" r="8" fill="#5f2412"/>
73 </g>
74 <g id="mouth-F">
75 <ellipse cx="110" cy="124" rx="5.5" ry="7.5" fill="#5f2412" stroke="#c05621" stroke-width="3"/>
76 </g>
77 <g id="mouth-G">
78 <rect x="99" y="119" width="22" height="6.5" rx="2.5" fill="#fff" stroke="#7b341e" stroke-width="1.5"/>
79 <path d="M96,129 Q110,133 124,129" stroke="#7b341e" stroke-width="4" fill="none" stroke-linecap="round"/>
80 </g>
81 <g id="mouth-H">
82 <ellipse cx="110" cy="124" rx="12" ry="9.5" fill="#5f2412"/>
83 <ellipse cx="110" cy="118.5" rx="6.5" ry="3.5" fill="#fc8181"/>
84 </g>
85 </g>
86 </g>
87 </g>
88</svg>