pub fn scroll_sequence(
delta: Vec2,
mode: InputMode,
seed: u64,
) -> Vec<WheelStep>Expand description
Synthesize a scroll sequence delivering total delta over time.
Returns events in chronological order; the sum of all delta
values equals the requested total (modulo rounding to whole
pixels in the last step).
InputMode::Human: exponentially-decaying inertia ticks with randomized 16–32 ms gaps. Total tick count bounded.InputMode::Careful: one event atat = 0carrying the full delta.InputMode::Robotic: empty vec.