lib.rsannotatedlib.rssource15 lines · 626 B · raw
1//! The cat as data: rectangles on the app's 15 by 16 grid, grouped, with the motion each group
2//! has. Nothing here draws. The grey cat is defined once, in `grey.rs`; the website draws it as
3//! SVG, and the app draws it in Compose from Kotlin that `tools/gen-kotlin` writes from this
4//! data (`kotlin.rs`), so there is one drawing. `flatten` turns a scene into the quads it
5//! covers at an instant, which is what `fixtures/frames.txt` pins the Kotlin evaluator to.
6
7pub mod decor;
8pub mod flatten;
9pub mod grey;
10pub mod kotlin;
11pub mod motion;
12pub mod node;
13pub mod scene;
14
15pub use scene::{Mouth, VIEW, assemble, scene};