The studio guide for mascot_gestures().
The same page is read in the mascot studio.
Try it live.
The mascot studio shows this function with live controls and the generated code. In an R session with the optional packages bslib and knitr installed, run:
mascot::mascot_studio(fn = "mascot_gestures")
It opens on this function's guide; change a control and watch the mascot.
Gestures
frames is the length of the movement that plays, at 30 frames per
second. A gesture whose parts are missing plays its fallback.
| name |
description |
fallback |
frames |
| nod |
A short nod, such as to acknowledge an action. |
NA |
18 |
| wave |
A wave, such as a greeting; characters without arms rock instead. |
rock |
30 |
| rock |
Rock gently. |
NA |
18 |
| shimmer |
A glint runs once round the ring. |
NA |
45 |
| name |
description |
fallback |
frames |
| nod |
A short nod: the body dips twice. |
NA |
18 |
| wave |
A wave of the right hand; the body leans slightly. |
NA |
30 |
| name |
description |
fallback |
frames |
| nod |
A precise head nod. |
rock |
18 |
| wave |
A tool salute wave. |
rock |
30 |
| rock |
Rock gently on the wheel base. |
NA |
18 |
| name |
description |
fallback |
frames |
| nod |
A short nod: the body dips twice. |
NA |
18 |
| wave |
A wave of the right hand; the body leans slightly. |
NA |
30 |
Warnings, errors and common mistakes
mascot_gestures("unknown-character")
Error: could not find function "mascot_gestures"