pub fn mode_scene(
sim: &Sim,
exaggeration: f64,
seconds: f64,
picked: Option<&ShownMode>,
) -> Option<Scene>Expand description
The machine at rest at its planned pose plus its mode (Machine::mode_shape) swinging at MODE_SHOWN_HZ,
seconds after it started, with the mode’s true frequency as a label by the tool. exaggeration scales the
whole shape through its amplitude, and the scene draws it at true scale (Scene::exaggeration 1): the scene
draws the carriage’s part of the shape at true scale and only the lean larger, which would distort the shape.
None where the machine tells no mode. With picked (a mode of the mode list) that mode at its own pose, its
shape complex: the state swings as rest + a (re sin + im cos), every part with its own phase.