Module app
Expand description
The canvas side of the demo: frame pacing and egui painting.
Session pairs the Controller with the presentation state a frame
needs (pace, reduced motion, cached texture and observation). Its
Session::show paints into any egui::Ui, so the full paint path runs
headless in tests; the browser shell only forwards frames to it.
Structs§
- Session
- The controller plus everything a frame needs to present it.
Enums§
- Pace
- How quickly a running study advances. Every pace runs at most one trial per frame.
Functions§
- split
- Splits the canvas into the heatmap and history areas: side by side when the canvas is wide, stacked otherwise.