whiskers.git / web / cat / src / CLAUDE.md
1@README.md
2
3## Notes for agents
4
5- `Motion::all()` lists every variant for the stylesheet; a test fails if a scene uses one missing
6  from the CSS. Add a variant to `all()`, `name`, `period`, `at` and (if it should rest elsewhere
7  than the identity) `rest`.
8- A group's `origin` is in grid units and is the pivot for both the SVG attribute and the CSS
9  `transform-origin`; keep them in step by only setting it on the node.
10- The eyes' gaze factors live in `scene.rs` (`GAZE_REACH`, `GAZE_STEP`) and the pointer expression
11  is built from them; never type those numbers elsewhere.