whiskers.git / web / cat / src / README.md
1# cat/src
2
3| File | What |
4| --- | --- |
5| `lib.rs` | The exports. |
6| `mascot.rs` | `Mascot`: the closed set, its names and the checked parse. |
7| `mood.rs` | The six moods and their names, and the map to the core's. |
8| `stage.rs` | The demo stage's colour (black), WCAG contrast, and the tests that hold every scene to it: the effects round the cat stand out from it, and nothing is dark on the bare stage. |
9| `scene.rs` | A mascot in a mood as a whole picture (the exhaustive match over `Mascot`). |
10| `art_bunny.rs` | Bunny, drawn for this site. |
11| `art_ginger.rs` | Ginger, the default mascot, ported from the Android app's drawing. |
12| `svg.rs` | Scenes as SVG (live or frame), and the JavaScript expressions that bind the pupils to the pointer. |
13| `css.rs` | The stylesheet of keyframes. |