pub fn alpha(x: f32) -> f32