Titanic Sinking Simulator GitHub Download

RMS Titanic, 14 and 15 April 1912

The sinking of RMS Titanic, computed, not animated.

Stand the watch on her bridge. Meet the ice. What you order decides what it does to her; a physics model decides how she floods, where she breaks, and how her two pieces fall to the sea bed.

Version 0.3.0, early access. One portable folder: unzip it, run Titanic.exe.
No installer, no browser, no account. 146 MB, Windows 10 or later, 64-bit. Free, MIT licence.

11:39:47 pmthe watch, on the orders of 1912
Trim
0.2° stern
List
1.1° port
Water aboard
0 t
Boats away
0 of 20

One shot of the simulator's X-ray view: the ice, two hours and thirty-six minutes of flooding, the break, and the first 46 seconds of the fall. The readouts are the model's, frame by frame. The sharp roll as she touches is the model's too; we know of no account of it. After the break the trim, list and water stay at their last values. The boats' labels and the rockets' light are left out of the film.

The physics and the people check each other.

A sinking computed alone has nobody in it. Here the witnesses check the model: it is calibrated against what they saw, and the night is set beside them row by row, misses included. It is not a record of the night, and it is not finished.

The model checks the men. Every order goes through the watch's own log, and the ship then does only what she can.

64spaces she floods through: sixteen compartments, port and starboard, above and below E deck
¼ sof her time in every step of the model. Her motion and her water are never keyframed. The rest is appearance
30versions kept, of four thousand tried, that pass the tests the record of 1912 sets
12 of 26rows of the observation ledger lie inside their bands on the 1912 damage. The misses are shown beside them

The watch

One night, as the model computes it

The watch of 14 April on the orders of the night, as this model reconstructs them. Her water, her trim, her list and her break are the model's; the wireless calls and the rockets follow the record's times.

RMS Titanic under way at night, seen from off her starboard bow: her lit ports, her masthead and green side lights, a black sea
The Night look: the clear, moonless, flat-calm night of the record, as the page draws it.

Twenty-two and a half knots

Course 266°, a flat calm, no moon. You have the wheel and the engine-order telegraph, and nothing is in sight. Until she has passed the ice the clock runs at real time, so your reaction time is real.

Trim
0.2° stern
Water aboard
0 t
From astern, three seconds after the lookout's bells: the ship, her white wake, and the iceberg ahead on her course line
Three seconds after the bells, the berg on her course line.
From the crow's nest at night: the forecastle below, and the berg a faint dark shape just below the horizon ahead
The same moment from the crow's nest: a dark shape, right ahead.

Three bells

The lookout rings, and the ice is 494 metres off. Her rudder goes over at four degrees a second and needs water moving past it to bite. On the night's orders, the first comes about twenty seconds after the bells.

Speed
22.5 kn
The ice
494 m
Three seconds after the touch: the iceberg against her starboard bow, and a red line along her side where the plating is dented and torn
Three seconds after the touch. The red line marks her plating as the ice works along it.

She touches the ice

On the starboard bow, at 20.4 knots. No hole is painted on. The contact dents her plating, and where the dent goes too deep the seams open: 0.98 m² in all, from the forepeak to boiler room 5.

Speed
20.4 kn
Seams open, in all
0.98 m²
X-ray view from off her starboard bow at 12:20 am: the forward compartments filling with water, steam blowing from three funnels
X-ray view. Her engines are stopped, and some steam still blows from the escape pipes on her funnels.

The water finds its way

Forty minutes on there are twelve thousand tonnes of sea in her. It moves through holes, doors and deck openings, and later over the tops of the bulkheads one after another, by the laws of orifices and weirs. (Wilding, in 1912, put 16,000 tons in her by now; the model's opening is smaller than his.)

Trim
2.4° head
List
0.5° stbd
Water aboard
12,065 t
At night from off her starboard side: a rocket bursting high above the ship, its light on the sea
The first rocket, 12:46 am. Its burst and its light are drawn for the eye; its time follows the record.

The first rocket

The wireless has been calling since 12:27. Carpathia hears it ten minutes later, and comes; by this reckoning she is alongside 265 minutes after the touch. Eight rockets go up between 12:46 and 1:48.

Trim
3.2° head
List
2.2° port
Water aboard
16,205 t
At 1:05 am from a lifeboat lying off her port beam: the lit ship down by the head, her ports reflected in the sea
The eye of someone in a boat, lying 300 m off her port beam.

The boats

Seven of twenty are away, with 165 people in them and 265 places empty; 2,036 have not left her. The boats follow the model's rule for the night, not the record's minutes (Wormstedt, Fitch and Behe's), and some go early: boat 2 by 39 minutes, boat 4 by 47. Witnesses have her 2° to starboard at this hour.

Trim
3.6° head
List
5.1° port
Water aboard
19,140 t
At 2:05 am in the Night look: her forecastle going under, her ports and decks still lit
2:05 am. Her lights are the dynamos' output, section by section of her circuits, not a clock.

Her lights still burning

Her forecastle head goes under, and eighteen boats have gone. Here the model falls short of the witnesses: at about this time Halpern's reconstruction from their evidence has her 15° to port, and the model has her at 7°.

Trim
5.1° head
List
7.2° port
Water aboard
30,382 t
Eleven seconds after the break: her stern settling back, her bow going down steeply from the break
Eleven seconds after the break, drawn solid.
X-ray view on the step she breaks: a red ring round her hull over boiler room 2
2:16:28. The red ring: her own loads reach what her hull can bear.
X-ray view seven seconds after the break: the hull parting in two, the water in her as it stood at the break
Seven seconds on, X-ray. The model cuts her clean; how she tore is not modelled.

She breaks

Her strength is computed along her length, and so are the loads on it. At 2:16:28, at about 7° of trim, the second reaches the first over boiler room 2, and the model hands her to her fall.

That is the model's break, not the record's. From the times witnesses gave she broke between about 2:15 and 2:19, and was gone at 2:20; some who watched saw her break, and her second and third officers said she went down whole. The wreck parted over boiler room 1, which begins about five metres farther aft, and the published analyses have her at a steeper angle, 10° or more. Nothing was tuned to close the gap.

Trim
6.9° head
List
3.8° port
Water aboard
36,743 t
The bow section falling through black water a hundred seconds after the break, lit by a lamp, foremast standing
100 seconds on: the bow 835 m down, falling at 8.7 m/s, lit by a lamp that was not there.
The stern at rest on the sea bed, with the surveyed wreck's outline in brass beside it
At rest. The wreck as surveyed is laid on the bed in brass, about the model's own point under the break.

The sea bed

Two bodies fall 3,790 metres on their weight, their water, the air left in them and the drag of the sea. The bow strikes at 8.6 m/s, 7 min 37 s after the break. Both come to rest upright, as the wreck's pieces lie.

Where they lie is another matter. The fall is a first model, and nothing in it is fitted to the wreck:

The wreck, as surveyedstern, about 150 mbow, about 0.8 kmThe modelstern, 51 mbow, 1.6 kmunder the break0.511.5 km
The bow
3,794 m down
The stern
3,800 m down

About 1,500 people lost their lives that night. The simulator counts the people aboard and in the boats. It draws no one.

The same berg, another order

Ten seconds

The berg of 1912 and the 1912 orders as this model reconstructs them: helm hard over away from the ice, reversed at the touch, engines stopped a minute later. Only the moment of the first order changes.

  1. 0.5 safter the bells
    Clear

    The ice passes 86 m off her starboard side.

  2. 5.5 safter the bells
    Clear

    The ice passes 52 m off her starboard side.

  3. 10.5 safter the bells
    Clear

    The ice passes 22 m off her starboard side.

  4. 15.5 safter the bells
    Holed, aft

    0.23 m² of seams open, from the electric engine room to the shaft tunnel.

  5. 20.5 safter the bells
    Holed

    0.98 m² of seams open, from the forepeak to boiler room 5. The night, as this model has it: she sinks.

  6. 25.5 safter the bells
    Stem on

    Bow crushed in 13 m, open to the sea from the forepeak to No. 1 hold.

  7. 30.5 safter the bells
    Stem on

    Bow crushed in 20 m, open to the sea from the forepeak to No. 1 hold.

On this model. The ice is its least certain input: the 1912 point grazes the edge of a stem strike, and a metre either way changes the damage a good deal. An outcome here is an estimate, not a verdict on the night or on anyone's order.

What you do

The bridge is yours

Nothing is in sight until the lookout rings, and your reaction time runs from then. The damage is whatever the ice makes of your orders: clear, dented, holed, or stem on.

The simulator's whole screen three seconds after the bells: readouts, views, the Bridge with wheel and telegraph, the damage diagram and the Run tab

Wheel, telegraph, or plain words

Put the wheel over, ring the telegraph, or type the order as you would say it: hard a-starboard and full astern. The officer of the watch answers and carries it out. Helm orders are the tiller orders of 1912 unless you switch them, so hard a-starboard turns her head to port.

Tick Hear the bridge and your own PC's voice speaks his lines. Nothing is sent anywhere.

As the bridge knew it, at 12:20 am: trim by eye, the commutator, and each compartment shown as reported

As the bridge knew it

Reports reach the bridge late and in words: the carpenter with his soundings, a mail clerk, the builder's man with his hour to an hour and a half. One switch covers the water aboard, the inflow, the drafts and the forecast, and leaves you with what has been reported.

Her systems drawn as a graph as the bunker of the fire gives way: coal, fires, steam, engines, screws, dynamos, lights, pumps and what hangs on what

Her systems need each other

Coal, the fires in six boiler rooms, steam, two engines and a turbine, the steering engines, the dynamos and her lights, the watertight doors, the pumps. Each fails when water reaches it, and what depends on it fails after it: no steam, no dynamos; no way on her, no rudder.

The doors and the pumps take your orders, and so do the fires. They go in the watch's log with the wheel's.

Go back to any minute

The whole night is kept as it plays. Drag the bar to any minute, give another order there, and watch a different night.

Share a watch

A night is its seed and its orders. One link replays yours, step for step.

Another night

A berg drawn from a seed: its size, its place, how far off it is seen. The same seed gives the same night.

What if

Punch a hole, scrape her side, open the doors, raise the bulkheads, put every pump on one room.

Find a stateroom

Her rooms by name or number, 572 rows read from her deck plans: when water came to that part of her deck, and who was booked into a first-class one.

Walk her decks

Walk inside her while she sinks, on the model's own water. The deck ahead becomes a hill.

Hear the ship

Wind, engines, ice, rushing water, her bell. Each sound follows a number in the model.

Hand over the camera

The Director picks the view: the crow's nest, her bow at the touch, a boat off her side, the break.

Under water off her starboard quarter at full speed: the rudder, the starboard wing screw and the centre screw
Her screws turn with the model's shafts.
From above, thirty-seven seconds after the touch: her turn written in white water, the berg astern
Her wake is computed from her own hull and path.
Inside her on E deck four minutes after the touch, looking forward along the deck lines
Walking E deck, 11:44 pm. Rooms are not drawn yet.

Optional, in the Windows app

Ask the men on the bridge

Five of them can answer in words a language model writes, in character, with a key of your own or a model running on your own PC: Murdoch, Moody, Boxhall, Hichens and Andrews. Each such line is marked imagined. They are never the men's recorded words.

  • They know only what has reached the bridge: a report, an order, their own eyes. Never the water you can see in X-ray, and nothing of how the night ends.
  • Off every time the app starts. Before it goes on, the app asks you, naming who will be called and with what. Your key is encrypted by Windows and sent only to its own provider.
  • Early: the crew's minds have not yet run on a real key, only against the tests' stand-ins. Nothing else on this page needs a key or an account.

The evidence

Set beside the witnesses

Blue is the 1912 watch in the model. The pale band runs from the least to the most of the thirty kept versions. Gold is the trim and the list that Halpern (2023) reconstructs from what eyewitnesses said.

Trim by the head, degrees

024681011:4012:0012:301:001:302:0011:40: 0.2°11:55: 0.8°12:10: 1.8°12:25: 2.6°12:55: 3.2°1:20: 4°1:50: 5.5°2:15: 10°

List, degrees: starboard up, port down

18126061211:4012:0012:301:001:302:0011:50: 5°1:05: 2°1:20: 0°1:50: 10°2:05: 15°
  • the model, on the night's orders
  • thirty kept versions, until the first of them breaks
  • Halpern's reconstruction from the witnesses (2023)
  • the model's break, 2:16 am

The trim follows the witnesses to about 1:20 am, then runs shallow. Her late list to port is too small and turns too soon; the cause is not found. This is not a blind prediction: some of the record helped choose the versions that are kept.

Cases the fit has to live with
CaseThe recordThe model
The 1912 damage, run on with no breaksank in 2 h 40 minfounders after 2 h 46 min, at 2:25 am
Four forward compartments openWilding: she floatsafloat at 8 h, 2.0° by the head
Five forward compartments openWilding: she sinksfounders after 2 h 54 min
Olympic and HMS Hawke, 1911she reached portafloat at 8 h, 0.7° by the stern
Britannic, 1916, approximated, ports opensank in about 55 minfounders after 59 min
Britannic, the same damage, ports shutdesigned to float with six floodedafloat at 8 h, 7.2°
1912 without boiler room 5's seamWilding: sinks, more slowlyfounders after 3 h 14 min
1912, every bulkhead to D deckWilding: no helpfounders after 3 h 04 min
1912, every bulkhead to B deckdividedafloat at 8 h, 7.6°; reported, not binding
1912, the watertight doors left opendebatedfounders after 2 h 50 min; reported, not binding

Where it misses

  • The break is a cut. It comes flat and too far forward, and her hull does not tear.
  • Her lists. Just after the collision less to starboard than the 5° witnesses saw, and late in the night less to port than their 10° to 15°.
  • Her stern's last minutes. It settles back and is under within 44 seconds, nearly level. Witnesses saw it rise, and stay afloat for twenty seconds to five minutes.
  • The fall is a first model. The bow lands about 1.6 km from the point under the break, where the wreck's lies about 0.8 km from it.
  • No trapped air while she floats, except under a grand staircase's dome.
  • Above E deck each compartment is one space, where in the ship the water had to find a stairwell first.
  • Under power while flooded she is too fast, and a crushed bow changes neither her resistance nor her handling.
  • Several inputs are bets: the strength of her plating, the berg's mass, how readily people came to the boats. The code labels each one.

The gallery

What if, thirty times

Each what-if but the last is run on all thirty kept versions, and the answer is given as they gave it: the middle value, with the least and the most in brackets. Each is this model's answer, never a verdict on the night.

The 1912 watch, in the model

157 min

(147 to 164) from the touch to the break, in 30 of 30.

The berg seen 30 seconds sooner

30 of 30

let no water in. She passes more than 146 m clear.

Head-on, no helm

30 of 30

still afloat at 8 hours, her stem crushed 22 m. The versions share the ice's guesses, so this is one answer, not thirty. Her firemen's and seamen's quarters were in her bow.

Every bulkhead to D deck

+19 min

(+11 to +43), in 30 of 30. She breaks all the same.

Every bulkhead to B deck

+123 min

(+59 to +310), in 30 of 30, until her loads reach her strength; she is still afloat then. The model's break comes early and flat, so read these hours with that in mind.

The watertight doors left open

+7 min

(−5 to +19), in 30 of 30. What it would have done is debated.

Every boat filled

1,178

(954 to 1,178) in the boats at her end, against 724 on the model's 1912 watch. On the night 712 were saved.

Orders after the ice, until Carpathia

0 of 79

Of 2,020 nights of orders to the doors, engines, fires and pumps, none keeps her until Carpathia. The best delays the break by about 5 minutes, and falls short on all 79 versions it was tried on. That is this model's answer, not a verdict on the night.

How it works

A headless model, and a page that draws it

The physics is plain JavaScript with no page in it. It runs the 1912 night on its own, and the same night replays bit for bit from its seed and its orders.

The hull
A shape fitted to the builder's hydrostatics, cut into 4,852 vertical columns. Buoyancy and flood water are summed over the same columns at her actual attitude, four times a second.
The water
On the 1912 damage, 485 paths join her spaces: orifice laws through holes, doors and deck openings, weir laws over bulkhead tops. Windows and staircase domes hold until the sea's head reaches their strength.
The handling
Four numbers fitted to the trial record of the three sister ships: Olympic's two points of turn in 37 seconds, a 3,850 ft circle, a stop of about 3,000 ft.
The ice
A free body. Plating dents against its crushing pressure and the seams open past a set depth; head on, the bow crushes.
Her strength
Smith's method of progressive collapse along her length, from her scantlings and riveted joints, set against her own loads as she goes down.
The fall
Two rigid bodies in six degrees of freedom, with their water, squeezed air, the drag of the sea, and mud on the bed.
The calibration
A history match against an observation ledger of the 1912 record, bounded so that it keeps the verdicts on Olympic, Britannic and Wilding's cases.
The readers
Reports, boats, wireless and the hull gauge follow the night without changing it. The watch is the same, to the bit, with all of them or with none.
The gate
81 test suites, from closed-form physics to a real browser driven through the real buttons. They take about an hour, and nothing goes to main before they pass.
The page
three.js, about four megabytes in all, and it asks nothing of any other server. The desktop app is the same page in its own window.

Version 0.3.0, early access

Unzip it. Run it.

The whole simulator as a portable app for Windows. Nothing to install, no browser, no port, no account, and it connects to nothing unless you switch on the crew's minds, Deepgram's voices or speaking to the bridge, with a key of your own.

  1. Download the zip from the GitHub release. It is 146 MB.
  2. Unzip the whole folder (right-click, Extract All). Titanic.exe cannot run from inside the zip.
  3. Run Titanic.exe. To remove it, delete the folder. It runs from a USB stick too.

Windows 10 or later, 64-bit, and a graphics card with WebGL. The app is not signed, so Windows SmartScreen may stop its first run with "Windows protected your PC": choose More info, then Run anyway, but only if you trust where the zip came from. A PC that a company manages may refuse it.

SHA-256 of Titanic-win-x64-0.3.0-a3b8c6e.zip
76f6e2c4a72a1c57b9356bc4ebb27345c09fa2f4dc739795246b23b360e3c6df

Titanic-win-x64
  • Titanic.exerun this
  • data\her settings, made on the first run
  • resources\the simulator
  • README.txtkeys, links, limits
  • LICENSE.titanic.txtMIT
  • THIRD_PARTY_NOTICES.mdwhat it includes
F11 full screen. F1 About, with a check that this PC computes the 1912 night to the bit.
The simulator at 2:05 am on the 1912 orders: profile view, X-ray hull, the Bridge, the damage diagram and the Run tab
2:05 am on the 1912 orders, profile view, X-ray hull.

Sources

The British and American inquiries of 1912. Halpern's reconstruction of her trim and list (2023). Hackett and Bedford's opening areas (RINA, 1996, as tabled in JOM, 1998). Wormstedt, Fitch and Behe on the boats. The trial record of Olympic, Titanic and Britannic, The Shipbuilder and Engineering. The survey of the wreck. What it rests on, and how each was read.

Her rooms

Her rooms' positions and names were read from the deck plans drawn by Bruce Beveridge for Titanic: The Ship Magnificent (The History Press, 2008), as published by Encyclopedia Titanica. No drawing is reproduced, and any error in the tables is ours.

Who was booked where: the Cave list of 1912, transcribed from the Nova Scotia Archives' scan.

Who made it

Made by Bo Chen, with Claude (Anthropic) sessions writing and checking the code, the research notes and the guide. MIT licence. It includes three.js, Electron and open fonts: the notices.

Not affiliated with or endorsed by any other Titanic project, game or film, and it uses no other project's drawings or assets.