pub const ANIM_SCALE: i32 = 1024;
Scaling factor for fixed-point calculations. Values are scaled to 0..=ANIM_SCALE range for integer math.