Mithril

Real-time procedural geology: 27 minerals, structural physics, and million-year simulation — pure Rust, running in your browser

Cave Generator

Presets
HOW TO EXPLORE Left-click on the cave to mine (carve rock)
Right-click + drag to orbit camera
Scroll to zoom in/out
Change seed and hit Generate for a new cave

Geological Time Simulation

Simulates 1.25 million years of geological processes: metamorphism, hydrothermal veins, contact aureoles, acid dissolution, and structural collapse.

Tip: Switch the Tool to "Place Lava" and click the cave walls to inject magma. Lava creates contact aureoles — heat transforms surrounding limestone into marble and skarn, slate into hornfels, and deposits garnet and diopside. Place water near lava to form hydrothermal pockets that drive vein mineralization.

Limestone Sandstone Granite Basalt Slate Marble Iron Copper Malachite Tin Sulfide Pyrite Quartz Gold Kimberlite Diamond Amethyst Crystal Coal Hornfels Garnet Diopside Gypsum Skarn Water Pool Lava Pool
Generating a 6×6×6 procedural cave (216 chunks)