BEFORE THE FALL · THE WESTERN REACH

The Nine-Gate Tide Engine

Command Atlantis's last great seawall. Balance the ocean, protect the inner harbour and discover the cost of holding back a living tide.

IXHYDRAULIC ARCHIVE
11,407 B.F.
✶ REAL-TIME WORLD MODEL
WESTERN HARBOUR · OBLIQUE SURVEY
SIMULATED TIME06:00DAY 01
STRUCTURE · 02

Crown Sluice

Centre channel of the engineered tidal barrier. Select a gate to regulate flow.

APERTURE32%
OUTER SEA INNER BASIN ACTIVE SLUICE
DRAG ORBIT · SHIFT+DRAG PAN · SCROLL ZOOM · TAP TO INSPECT
≈ OUTER SEA LEVEL
+0.00 m
Relative to chart datum
◉ INNER BASIN LEVEL
−0.60 m
Harbour water elevation
⇄ GATE DISCHARGE
0 m³/s
No net transfer
⚙ RECOVERED POWER
0 kW
Idealised turbine efficiency
◒ BARRIER INTEGRITY
100 %
HYDROGRAPH / LIVE TRACE

Sea and basin elevations over model time

SeaBasin
ARCHIVE RECORD / 001

Inside the engine

An interactive engineering fable about the relationship between a city and its ocean.

DESIGNED AS AN OFFLINE WEBGL2 EXHIBIT

01 — Where the sea becomes a machine

Thalassar: Nine-Gate Tide Engine imagines a monumental hydraulic barrier at the western approach to Atlantis, centuries before the island's legendary disappearance. Instead of another abandoned sanctuary or mysterious crystal chamber, this exhibit places an everyday engineering responsibility at the centre of the story: keeping a working port safe while the water outside refuses to stand still. Three independently regulated sluice assemblies represent the operational heart of a longer nine-gate seawall. You are the harbour engineer on duty. Your task is not necessarily to make the numbers as small as possible, but to understand the competing demands of storage, protection, drainage and tidal energy recovery.

02 — A fictional chapter in a much older legend

Atlantis is known chiefly from Plato's dialogues Timaeus and Critias, composed in the fourth century BCE. Those texts do not document a real hydraulic installation called Thalassar; nor do they establish the historical existence of Atlantis. The harbour, its engineers, the Nine-Gate Council, its illuminated bronze machinery and the date expressed as “Before Fall” are original worldbuilding. The fictional premise is that long before catastrophe, Atlantean magistrates built multiple sea defences along their merchant coast. These devices carried a political argument in metal and stone: prosperity required negotiation with nature, not victory over it.

03 — Reading the constructed landscape

The digital site separates the restless open ocean from a quieter harbour basin. An ornamented stone causeway spans the divide, with massive copper-edged pylons, hoist towers, sliding gate leaves and spinning recovery wheels. Behind the barrier stand stepped quays, pale masonry warehouses, domed civic structures, lanterns and terraces. Bronze, basalt, patinated copper and warm limestone distinguish operational equipment from ceremonial architecture. The sunset-like lighting is deliberate: it reveals the silhouettes of the machinery while giving the exhibit the feeling of a recovered maritime painting. There are no downloaded textures or proprietary models. Geometry, colour and wave motion are assembled by the application itself.

04 — A water-balance model, not a decorative animation

The engine calculates an outer sea level from a sinusoidal tide, a configurable steady surge and an optional short storm pulse. The enclosed harbour level is a separate state variable. For each open sluice, the model estimates water discharge from gate area and the square root of the water-level difference, borrowing the standard orifice-flow relationship. The direction reverses when the relative levels reverse. Discharge modifies harbour volume through a fixed effective water-surface area. Pumps can remove additional water, while overtopping occurs when the sea rises above the selected wall crest. Wave animation is layered over these slower mean levels and should not be mistaken for the water-balance calculation itself.

05 — The three gates you command

West, Crown and East gates have independent apertures. Select one from the control console or click its mechanical structure in the scene. Its moving leaf shifts visibly as the opening changes, and the nearby hydraulic wheel responds to the rate and direction of flow. In manual mode, one can allow a harbour to fill during a rising tide or drain it as the sea falls. Autopilot attempts a basic protective strategy: it restricts exchange when the sea is significantly higher than the basin and opens when the basin has an opportunity to drain. That rule is intentionally simple. It has no foresight, tidal prediction, commercial traffic requirements or perfect optimisation.

06 — Designing an experiment

Begin with The Golden Watch to observe a relatively calm tidal cycle. Spring Tide Trial increases the range of external water levels, demanding careful timing. The Black Tempest introduces surge, larger waves and higher loads; The Broken Rampart starts with a compromised barrier and reduced protection. Adjust tidal amplitude, cycle duration, wind bearing, visible wave energy, surge, crest height, gate aperture, pump capacity and simulation speed. The storm-front action adds a transient perturbation without discarding your carefully chosen settings. The seal and open commands change all three gates at once, and switching to autopilot changes how they respond over time.

07 — What the readouts actually represent

Sea and basin elevation use metres relative to an arbitrary chart datum. Gate discharge is the sum of the three idealised flows, positive when entering the harbour and negative when leaving it. Recovered power is estimated from water density, gravitational acceleration, the difference in levels, flow magnitude and a fixed conversion efficiency; it is not a prediction for a real power plant. Structural integrity is a deliberately simplified game-like indicator that declines under excessive hydraulic head and overtopping. Urban flood exposure rises as the basin approaches a fictional quay threshold. The hydrograph retains a rolling record of the two mean water levels, so actions can be compared rather than merely watched.

08 — Cameras, observation and direct manipulation

The overview presents the relationship between shoreline, barrier and city. Gate inspection moves closer to the hoist assemblies. City promenade looks seaward from the harbour, and top-down survey provides a cleaner geometric assessment of the channels. Drag to orbit, hold Shift while dragging to pan, scroll or pinch to zoom, and tap a structure to inspect its role. Clicking water moves a survey marker and reports local surface elevation, including visual wave displacement. The animated sea is best understood from a low oblique camera; the distribution of three independent gate passages is easiest to grasp from above. A dedicated reset restores the active scenario to a repeatable starting state.

09 — Engineering lessons worth taking away

The simulation invites several useful conceptual comparisons. A larger opening increases discharge but may admit dangerous sea water. A high seawall reduces overtopping, but it cannot alone empty an already full basin. Pumps remove volume at an energy cost not explicitly represented in the power telemetry. A larger head difference means greater potential energy and also greater hydraulic loading. Slow tides permit more time for controlled release; fast cycles may leave the basin behind the sea. The most interesting result often appears when one intervention solves one problem while creating another. This cause-and-effect relationship is the point of the exercise.

10 — Boundaries of the fiction and the physics

This is an educational, interactive approximation, not a validated design tool, computational-fluid-dynamics solver, historical reconstruction or safety assessment. The wave surface is procedural and does not solve shallow-water equations. Discharge assumes a single effective opening per gate, ignores gate submergence transitions, debris, sediment and detailed turbulence, and treats basin area as constant. Structural loads are represented by a qualitative health metric rather than finite-element analysis. Tide duration can be changed beyond ordinary semidiurnal conditions for experimentation. Above all, the Atlantean architecture, organisations and dramatic narrative are invented. The project aims to make real principles approachable inside an explicitly imaginary world.

FIELD MANUAL / 010

Questions from the quayside

Ten detailed answers about operating the engine, understanding its physics and separating legend from evidence.

01 What exactly am I controlling in the Nine-Gate Tide Engine?+
You are acting as the watch engineer for three operational channels within a larger fictional defensive seawall. The main challenge is the difference between water outside the city and water stored inside the harbour. You can set the opening of each gate, choose how aggressively pumps remove harbour water, raise or lower the simulated wall crest, and change the external sea conditions. These actions alter numerical state, not just appearance. Sea level is imposed by tide and storm; basin level evolves through inflow, outflow, pumping and overflow. The rotating wheels visualise hydraulic activity. The remaining six gates are part of the fictional name and imagined wider network; only the three clearly shown assemblies are simulated.
02 Why does opening a gate sometimes increase flood risk?+
Water flows downhill in hydraulic head. When the open ocean stands higher than the protected basin, an opened channel admits water. It can fill the basin rapidly even if the air looks calm and no surface wave passes over the wall. When the outside tide falls below the basin, the same opening becomes a useful drainage route. This reversal is a central lesson of tidal-gate management. Watch the discharge sign as well as its magnitude: positive values indicate inflow, while negative values indicate outflow. A high flow magnitude does not automatically mean a favourable outcome. One useful experiment is to pause near high tide, seal all gates, and compare the basin trajectory with an intentionally open configuration.
03 Is the water simulation based on real hydrodynamics?+
Parts of it are based on real principles, but the model is intentionally simplified. A sinusoidal boundary condition creates the slow sea-level cycle, while an orifice-style discharge equation estimates each gate's volumetric flow from opening area and hydraulic head. Conservation of volume translates flow into changes in harbour elevation. Overtopping is represented through a simplified weir relationship when the outside level rises above the crest. The animated surface, however, uses procedural waves for visual interpretation rather than solving three-dimensional Navier–Stokes equations or a full shallow-water model. Real gates also depend on submergence, contraction coefficients, sediment, local bathymetry and rapidly changing flow patterns. Do not use the numbers for engineering design.
04 What is the difference between storm surge and wave energy?+
Storm surge is a sustained rise of mean water level above the normal tide, commonly associated in the real world with wind stress and atmospheric pressure effects. In this exhibit, the storm-surge slider raises the boundary water level and therefore affects head difference, drainage opportunity and overtopping. Wave energy controls the height and motion of the visible short-period ripples and swells. It improves the impression of rough water but does not separately add wave-runup forces to the hydraulic equations. The storm-front button adds a temporary elevation pulse that decays over model time. This separation makes controlled experiments easier: first isolate the effects of sea-level rise, then study how the same conditions look under more energetic surface motion.
05 How does autopilot decide when to open or close the gates?+
Autopilot follows a deliberately transparent rule rather than using artificial intelligence. If sea level is noticeably above basin level, it gradually drives the gates towards a restricted protective opening. If the basin is higher than the sea, it opens the sluices to encourage drainage. Near equal levels, it holds a moderate position to avoid abrupt switching. The rate of change is limited so the massive moving leaves do not jump instantly. This behaviour may be sensible during some tide phases but is not an optimal controller. It does not anticipate an incoming storm, forecast future tide heights, consider vessel passage or account for equipment wear. Compare autopilot with your own manual strategy to see its limits.
06 What do power recovery and structural integrity mean?+
The power figure is an illustrative estimate of recoverable hydraulic energy, not electrical output from a specified commercial turbine. It combines water density, gravity, the absolute head difference, flow rate and a fixed efficiency assumption. As a result, a larger flow with a bigger level difference generally produces a larger number. Yet those same conditions can impose higher forces on the gate and adjacent structure. Integrity is a fictional operational health index that decreases when the model experiences sustained overtopping or unusually large head differences. Once damaged in a run, it does not automatically self-repair. Neither quantity replaces detailed turbine design, structural analysis, foundation assessment or an emergency safety plan.
07 Which scenario is best for learning floodgate operation?+
Start with The Golden Watch. Its modest sea range and low surge make it easier to identify cause and effect. Set simulation speed to one, keep a gate partially open, and watch the hydrograph for a full tidal cycle. Then try sealing the gates during rising water and opening them after the external sea falls. Spring Tide Trial increases the tidal challenge while preserving a clear repeating rhythm. The Black Tempest is useful for testing pump capacity, wall height and the limits of manual intervention. The Broken Rampart intentionally begins in a degraded condition, demonstrating that prevention matters before a crisis begins. Every scenario can be reset to its configured starting point for comparisons.
08 How do I navigate and inspect the 3D harbour?+
On a desktop, drag inside the viewport to orbit around the model, hold Shift while dragging to pan the focal point, and use the mouse wheel to zoom. Touch devices support one-finger orbit, two-finger movement and pinch zoom. The four camera icons provide immediate presets for a broad harbour survey, gate inspection, a view towards the sea from the city side and an overhead plan. Clicking a gate selects it in the engineering console and opens a contextual description. Clicking the ocean or basin places a wave-height probe, whose value changes as the animated water moves. The gate buttons remain available if touch selection in the 3D scene is difficult on a small display.
09 Is Thalassar based on a genuine Atlantean discovery?+
No. Thalassar, the Nine-Gate Council, the portrayed harbour district, and the engineering machinery are original fictional creations. The principal ancient literary source for Atlantis is Plato, who described a powerful island civilisation and its destruction; his dialogues do not establish the real-world existence of the settlement depicted here. There is no archaeological evidence for this particular seawall, its machinery, or its chronology. The creative premise uses imaginative architecture to make observable phenomena such as tidal exchange and flood protection emotionally engaging. Bronze, stone, ceremonial towers and elaborate water infrastructure also evoke real historical engineering traditions, but the arrangement is neither a historical reconstruction nor a claim about an undiscovered technology.
10 Can I use the exhibit in teaching, research or a museum?+
It is well suited to introductory demonstrations about water-level differences, volume balance, infrastructure trade-offs and the difference between a scientific model and a fictional visualisation. Learners can form a hypothesis, choose fixed parameters, run a comparison, reset the scenario and discuss the hydrograph. Because the project runs locally in a WebGL2-capable browser and requires no external assets, it can also be deployed as a self-contained exhibit page. However, the model has not been calibrated or validated against field observations. For professional research or flood-risk decisions, replace the illustrative formulas with suitable governing equations, site geometry, measured boundary conditions and independent validation. Always explain clearly which elements are fictional.
Made with 🤖 ChatGPT · Three.js