diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -559,8 +559,13 @@ were added; each call returns a handle. Animations are methods of the handle: `w `fadeIn`, `fadeOut`, `transformInto`, `move(.{ .x, .y, .scale, .rotation, .opacity })`, `scaleTo`, `rotate`, `indicate`; plus `anim.camera(...)` and `value.to(x)`. `play` runs a tuple (or array) of them together; its -options are `.seconds`, `.ease` (any `fn (f32) f32`) and `.lag` (manim's -lag ratio). `wait` moves time on; in a live scene, `pause()` makes what +options are `.seconds`, `.ease` (any `fn (f32) f32`) and `.lag`, manim's +lag ratio (0 by default, all at once): each animation starts `lag` of its +own length after the one before, in the order given, and the play still +lasts `.seconds`, the last ending with it, so each of n lasts +`seconds / (1 + lag * (n - 1))`; a lag of 1 plays them one after +another. An object two animations of one play change is timed by the +first. `wait` moves time on; in a live scene, `pause()` makes what follows wait for a click (see Talks). Positions are scene units: 1280x720 of them show at camera zoom 1, the origin in the middle, y down. The page behind them is the scene file's `pub const background = 0xRRGGBB` (manim's grey without |
