cat
The mascots, as data. A mascot in a mood becomes a scene: rectangles on the Android app's 15 by 16 grid, in groups, each group with the motion it has. Nothing here draws or does I/O.
Mascotis the closed set of who can be shown: Ginger (the default, first in the picker), Grey and Bunny.scene(mascot, mood)is what is drawn: shadow, the body breathing, what is round it.- The nodes, the motions and the grey cat's drawing are
whiskers-art's, shared with the app; Ginger and Bunny are drawn here (art_ginger.rs,art_bunny.rs). svgwrites a scene as markup, either live (the page: moving parts carry classes, pupils are bound to the pointer) or as a frame (the preview video: every motion baked in at a time).css::stylesheet()is the keyframes that play the live version, for the motions the page's scenes use, sampled from the same motion functions the frames use, so page and video cannot move differently.
Moods: idle, listening, thinking, speaking, dizzy, sleeping.
| Path | What |
|---|---|
| src/ | The modules. |
| Cargo.toml | Depends on whiskers-art and whiskers-pet. |