Skip to main content

orb_drift

Function orb_drift 

Source
pub fn orb_drift(phase: f32) -> (f32, f32)
Expand description

How far a cluster orb has drifted from its seat, as (dx, dy) fractions of the box — a small circle walked once per period.

Being a circle, the drift returns exactly to zero every period, so nothing accumulates however long it runs.