--- title: Terrain Diffusion Demo emoji: 🏔️ colorFrom: green colorTo: blue sdk: gradio sdk_version: 6.10.0 app_file: app.py short_description: Interactive 3D diffusion terrain generator startup_duration_timeout: 1h --- # Terrain Diffusion Demo Generate realistic terrain heightmaps using the [terrain-diffusion-30m](https://huggingface.co/xandergos/terrain-diffusion-30m) model and inspect them in an interactive Three.js viewer. Based on the paper [InfiniteDiffusion: Bridging Learned Fidelity and Procedural Utility for Open-World Terrain Generation](https://arxiv.org/abs/2512.08309). ## Features - Custom `gr.Server` frontend with Three.js WebGL terrain rendering - Preset and sketch-based elevation conditioning - Orbit, zoom, pan, wireframe, and elevation exaggeration controls - 16-bit PNG heightmap download - Paper-informed About panel