MySimulator / Canal CityRiver biome · 800 × 800 m · procedural region
SEED 68421982 m above river datum
Field map
● canal● you
Buildings—
Terrain error—
Scene objects—
Frame rate—
Canal hydraulics

Live idealised lock-outflow estimate. Adjust the water head and sluice opening to see how discharge changes.

Water head1.20 m
Orifice diameter180 mm
Exit speed4.85 m/s
Flow rate0.123 m³/s
Chamber volume691 m³
Ideal drain time94 min
Environment
Day / night18:00
Weather
The science — equations & assumptions

Torricelli's law

v = √(2 g h)

Orifice discharge

Q = Cᵈ A √(2 g h)

Chamber volume

V = L × W × h

Ideal drain time

t ≈ V / Q

Uses g = 9.81 m/s² and Cᵈ = 1. The displayed estimate assumes constant head, a sharp circular opening, incompressible water and no pipe, gate, friction or approach losses. Real lock drainage is unsteady: head falls during emptying, so the constant-head time is an illustrative approximation rather than an operational prediction.

Region notes

Heightfield uses seeded multi-octave value noise with bank carving and a shallow feeder channel. Terrain is chunked with near/far meshes; buildings are parametric placeholders. The water shader geometry is animated visually but does not solve computational fluid dynamics.

Movement is a visual exploration controller, not a rigid-body simulator. Building mass is a coarse material-volume estimate.

Selected object

Click a building to inspect it.

Drag · orbit · wheel zoom · WASD move
Click a structure to inspect dimensions, mass and material
Made with 🤖 ChatGPT · Three.js