🏔️ Fractal Landscape

Fractal dim. D—
Peak height—
Sea coverage—
Land coverage—
Diamond-Square
Fractal dim. D = 3 − H. Low H (0.1) = rough mountains; high H (0.9) = smooth hills. Each step: diamond averages + random offset scaled by 2−H.