pub fn fbm_2d(x: f32, y: f32, octaves: u32, lacunarity: f32, gain: f32) -> f32
FBM (fractional Brownian motion) from value noise.