Midpoint-displacement fractal coastline with Hurst exponent H. Box-counting algorithm: N(ε) ~ ε^(−D_f), where D_f = 2−H. Log-log slope gives the fractal dimension.