Free Online Utility • Interactive Fractal Studio • 2× HiDPI + SVG Engine

Generate a Fractal Landscape

Generate 3D Fractal Mountain Landscapes using Fournier-Fussell-Carpenter Diamond-Square Midpoint Displacement with tunable Hurst Roughness H, Sea Level water plane, 3D yaw/pitch camera, and vector SVG/PNG export.

Hurst Smoothness Exponent (H)0.72
Ocean Sea-Level Plane-0.15
3D Azimuth Yaw Angle35°
3D Elevation Pitch Angle28°
Terrain Random Seed (#)42
Stroke / Detail1.8px
Rotation Angle0°
Mathematical Specification Fractal Studio
Fournier-Fussell-Carpenter Diamond-Square Algorithm (1982):
Grid (2^n + 1) × (2^n + 1): Alternate Diamond & Square midpoint averages
Displacement Variance at scale k: σ_k² = σ_0² · 2^(−2·H·k)
Terrain Surface Hausdorff Dimension: D_H = 3 − H ∈ [2.05, 2.75]
AlgorithmDiamond-Square Midpoint Subdivision
Surface DimensionD_H = 3 − H
Mesh Resolution33×33 (1,024 3D Quads)
INTERACTIVE 2× HIDPI CANVAS
Generate a Fractal Landscape
100% • Scroll to Zoom • Drag to Pan
Client-side 2× HiDPI + Lossless SVG Engine Instant

Session Calculation Log

No entries recorded in this session yet.

Mathematical Foundations of Generate a Fractal Landscape

Introduced at SIGGRAPH 1982 by Alain Fournier, Don Fussell, and Loren Carpenter (who created the Genesis Planet sequence in Star Trek II: The Wrath of Khan), the Diamond-Square algorithm synthesizes realistic 3D mountain landscapes by recursively subdividing a heightfield and adding Gaussian displacements scaled by 2^(−H·k).

Self-similar fractals exhibit recurring geometric structure across scales, governed by Iterated Function Systems (IFS), Lindenmayer L-System rewriting rules, or recursive spatial subdivisions. Every geometry calculation, 2× HiDPI canvas pass, progressive animation frame, and lossless SVG vector export executes natively inside your browser at 60 FPS with zero server latency.

Diamond-Square Subdivision & Hurst Scaling

1. Diamond Step: Set square center height = average of 4 corners + ξ · σ_0 · 2^(-H·k)
2. Square Step:  Set diamond edge midpoint = average of 4 diamond neighbors + ξ · σ_0 · 2^(-H·k)
3. Sea-Level Clamping: z_final(x, y) = max(z_sea, z(x, y))
Exact Theoretical Surface Hausdorff Dimension: D_H = 3 - H

Lowering the Hurst Smoothness Exponent H toward 0.35 increases high-frequency variance (D_H → 2.65), creating jagged volcanic badlands, whereas raising H toward 0.85 (D_H → 2.15) produces gently rolling glacial hills.

Iteration Scaling & Complexity Table

Iteration / SettingElements / SizeGeometric Property
H = 0.35D_H = 2.6500Jagged craggy volcanic spires
H = 0.50D_H = 2.5000Classic memoryless Brownian mountain ridge
H = 0.72 (Earth Norm)D_H = 2.2800Natural Alpine mountains & fjord valleys
H = 0.90D_H = 2.1000Smooth eroded rolling highlands

Applications in Science, Graphics & Engineering

Cinema VFX & Game Terrain Generation

Loren Carpenter's midpoint displacement algorithm launched Pixar's Reyes rendering architecture and modern procedural open-world games.

Geomorphology & Topographic Scaling

Real Earth mountain ranges measured by satellite radar altimetry typically exhibit Hurst exponents between H = 0.70 and H = 0.80 (D_H ≈ 2.2–2.3).

Interactive Hydrological Flooding

Raise the Ocean Sea-Level Plane slider from -0.60 to +0.40 to flood valleys into alpine lakes, fjords, and island archipelagos.

3D Vector Mesh Export

Export the depth-sorted 1,024-quad 3D terrain mesh directly to vector SVG or 2× Retina PNG.

Interactive Controls, Pan/Zoom & Vector Export

Tune Hurst Smoothness H, raise or lower the Ocean Sea-Level Plane, orbit the 3D camera with Yaw and Pitch sliders, and export the 3D terrain mesh as lossless SVG.

Export crisp 2× Retina PNG renders for presentations or scalable infinite-resolution SVG files directly into Illustrator, Figma, Inkscape, LaTeX, or laser-cutting workflows.

Frequently Asked Questions

Why is the Diamond-Square algorithm better than simple 4-square subdivision?
Simple axis-aligned square subdivision leaves visible horizontal and vertical crease artifacts; alternating 45°-rotated Diamond and Square steps distributes variance isotropically.
How is the terrain's Hausdorff dimension related to the Hurst exponent H?
For a 2D heightfield z(x, y) with Hurst roughness exponent H ∈ (0, 1), the graph is a self-affine surface in R³ with exact Hausdorff dimension D_H = 3 - H.
What does the Ocean Sea-Level Plane slider do?
It clamps all terrain vertices below z = sea_level to a flat translucent cyan water plane, turning valleys into lakes and peaks into island chains.
Can I export the 3D terrain mesh as an editable SVG?
Yes. Click SVG in the toolbar to download all 1,024 depth-sorted 3D terrain quads as vector polygons.