pub fn encode_velocity(velocity_pixels: Vec2, max_velocity: f32) -> Vec2
Encode/decode velocity to/from RG16F