Our Science / Gravity

Gravity from a lattice of events.

Gravity, the film: an 89-second history of the question of gravity, from Newton to the lattice.

In plain words: space and time are a record of events, and the events fit together like tiles. Far from any mass the tiles fit. Where mass sits they cannot lie flat. Near a mass, the straightest paths curve inward: that is falling.

Every event is a record, and the records form a four-dimensional lattice. Gravity is the shape of that record. Long waves on the lattice obey Einstein’s linearized equations and travel on the light cone. At leading order in the lattice spacing, the lattice’s field equation for the metric is Einstein’s with every nonlinear term. A resting mass gives Newton’s potential, with the tree-level coupling G = 1/(8πs) fixed by the scale s of the lattice’s action.

What the lattice says beyond Einstein’s theory: short waves show the lattice. A gravitational wave’s two polarizations part from the light, plus falling behind and cross running ahead (Waves). Real gravitational waves are far longer, and stay on the lattice’s light cone within the bound in the numbers.

Einstein at long wavelengths: provedκ = 1: identified, not derivedA massless quantum graviton: open

This page does not describe gravity. It runs it, and you are in it.

Behind these words, bodies are falling around one mass, and light is bending past it.

Behind these words: one mass on the record · every dot a body, falling · every cyan line light
00 · You are in it

You are falling, and you keep missing

Behind these words is a working record with one mass on it. The dots are bodies, and nothing holds them up. Near a mass, the straightest paths curve inward. That is falling. A body moving sideways fast enough falls around the mass and never reaches it: the force that drops an apple also holds the Moon. You are the solid dot marked YOU.

You are in orbit around the mass. Nothing holds you up.

1.00 × ORBIT SPEED

Each move of the slider starts you again from the same place with that sideways speed, and the whole path ahead of you is drawn at once. At 0 you are let go from rest, and you fall straight in.

All the numbers
Your distance from the mass, R–
Your speed–
The pull on you, GM/R²–
One turn of your orbit–
Turns completed0

This is Newton’s law, and the lattice gives it. Outside a resting body, at weak field, the lattice’s static field is Newton’s potential, −GM/R (How it works, step 4). The engine at the foot of this page computes the pull on every body from that potential, at every step. Distances and speeds are in this record’s own units, and GM is 1 until you change the mass. One turn is timed on your own clock.

The record · 0 events kept

t 0000 · the record opens. Every event below stays in it.

01 · The shape of the record

Where mass sits, the tiles cannot lie flat

Space and time are a record of events, and the events fit together like tiles. Far from any mass the tiles fit: around every corner their angles add up to one full turn. Where mass sits they cannot. A small gap opens, drawn here in pink. Every gap costs, and the record keeps the cost smallest: that is Einstein’s equations, at large scales. Gravity is the shape of the record of everything that happens.

Where the mass sits, the tiles cannot lie flat: each pink wedge is a gap.

1.00 GM

More numbers
Gaps where the mass sits, added up–
The largest single gap–
Corners measured–

A drawing: two dimensions of space, with every gap drawn 30 times its size. The lattice has four dimensions, and its gaps sit around triangles, as Regge wrote them in 1961 (How it works, step 3); in this slice they sit at corners. Each gap is computed here from the lengths of the tiles’ edges in the field of the mass, a ball of even density. Outside the mass the tiles carry the opposite misfit, a little too much angle at each corner, drawn in grey. It fades with distance. A corner just outside the mass, whose tiles reach into it, still shows a gap.

Matter changes the rates of physical processes around it, and that makes things fall (how gravity works). The strain, bond lengths off balance (what general relativity calls curvature), is as large along space as along time, γ = 1. The strain along space is the part this drawing shows, and it gives light the second half of its bend.

02 · Light

Light falls too, by Einstein’s amount

The cyan lines are light crossing the record. Light bends toward the mass by twice what Newton’s pull alone would give anything moving at its speed, because the strain is as large along space as along time. In 1919 starlight bent around the Sun, just as Einstein said.

Light bends toward the mass by twice what Newton’s pull alone would give.

0.80 FROM THE MASS

More numbers
This ray bent by–
Einstein’s amount in a weak field, 4GM/(c²b)–
With Newton’s pull alone (dashed)–

The solid ray takes twice the pull across its path. The dashed ray takes it once, as anything moving at light’s speed would under Newton’s law alone. The engine computes both. The mass is drawn heavy so that the bend shows: when GM is 1, light here moves ten times as fast as a body in a circular orbit at distance 1. The formula is the weak-field amount; this close to so heavy a mass the computed ray bends a little more.

03 · Waves

A wave on the lattice, and this page in its path

One event sends a gravitational wave along the lattice, and the figure below follows it. This page stands in the path of such a wave, nine wavelengths from its event. When the wave arrives the page itself is stretched and squeezed: by the plus polarization along its sides, by the cross along its diagonals. Long waves arrive with the light. Short waves show the lattice: plus falls behind the light and cross runs ahead. Set the wavelength on the figure, then send an event through the page.

Beyond Einstein’s theory. In a first approximation Einstein’s field equations carry waves that travel at the speed of light, and long waves on the lattice do the same. Short waves show the lattice: along the direction this figure follows, plus is slower than light and cross is faster (the earlier paper, Theorem 5.5). Real gravitational waves are far longer than the waves in this figure. For any wave up to 5,000 Hz, the speed of its crests can differ from light’s by at most 2×10−50 of it, for a lattice spacing up to 106 Planck lengths (The numbers). The measurement of 2017 put the difference between −3 × 10−15 and +7 × 10−16 (The question).

  • Light from the event
  • Plus polarization
  • Cross polarization

Live · exact lattice dispersion

Above: amplitude along the path · Below: rings across it

With JavaScript on, this figure runs live: one event emits a gravitational wave, and you set its wavelength. At 40 lattice units the plus packet moves at 0.868 of light speed and the cross packet at 1.016, computed here from the exact dispersion of Appendix F.

This page, nine wavelengths from the event · when each part of the wave reaches it

Send the wave, and this page is stretched and squeezed as it passes.

With sound on: a click when light arrives; a low tone while plus passes, a higher one while cross passes.

More numbers

The stretch of the page is exaggerated; its timing is exact. At the page, each polarization is a sum of 41 exact solutions of the linearized lattice equations, solved from the same polynomials as the figure.

The question

Newton left the cause of gravity to his readers.

Einstein made gravity the curvature of spacetime; Regge put that curvature on the triangles of a lattice. The triangles are the record’s own.

  1. 1687 · London

    Newton’s Principia gives the law of universal gravitation.

    Every body pulls every other with a force that falls off as the square of the distance. Writing to Richard Bentley in 1693, Newton called a pull across empty space an absurdity; in 1713 he set its cause aside: “I frame no hypotheses” (his words, in full).

    The title page on Wikimedia Commons · the letter: Trinity College Library, Cambridge, R.4.47, ff. 7–8, the Newton Project’s text · the General Scholium, Motte’s English of 1729, on Wikisource

    Title page of the first edition of Newton’s Philosophiae Naturalis Principia Mathematica, London, 1687, with the imprimatur of S. Pepys, President of the Royal Society, dated 5 July 1686.
    The first edition’s title page, London 1687. Public domain.
  2. 1916 · Berlin

    Einstein predicts gravitational waves.

    On 22 June 1916 Einstein presented “Näherungsweise Integration der Feldgleichungen der Gravitation” to the Prussian Academy: in a first approximation his field equations carry waves that travel at the speed of light. They are the waves this page computes on the lattice.

    Sitzungsberichte der Königlich Preussischen Akademie der Wissenschaften 1916, p. 688; the scan at the Astrophysics Data System

    First page of Einstein’s paper Näherungsweise Integration der Feldgleichungen der Gravitation, Sitzungsberichte of the Prussian Academy, page 688, session of 22 June 1916.
    The paper’s first page, Berlin 1916. Public domain.
  3. 1939

    Fierz and Pauli write the quadratic form of a spin-2 field.

    Markus Fierz and Wolfgang Pauli’s form describes a spin-2 field, a field like the graviton. Without its mass term it is the form of linearized gravity, and the graviton long-wave paper compares it with the recognition cost.

    Proc. R. Soc. Lond. A 173, 211–232 (1939)

  4. 1961

    Regge puts curvature on triangles.

    Tullio Regge writes general relativity without coordinates: curvature becomes the deficit angles at the triangles of a lattice. His action is the one step 3 uses.

    “General relativity without coordinates”, Il Nuovo Cimento 19, 558–571 (1961)

  5. 1995

    Jacobson derives Einstein’s equations from heat on horizons.

    Ted Jacobson shows that if entropy is proportional to area on tiny horizons through every point, Einstein’s equations follow from the balance of heat. One Bit per Area tells this story.

    arXiv:gr-qc/9504004

  6. 2015

    LIGO measures a gravitational wave.

    On 14 September 2015 the two LIGO detectors recorded GW150914, the first gravitational wave detected directly.

    Phys. Rev. Lett. 116, 061102 (2016); arXiv:1602.03837

  7. 2017

    Gravity and light from one collision arrive together.

    On 17 August 2017 gravitational waves and gamma rays from one neutron-star merger arrived 1.74 ± 0.05 seconds apart: the speed of gravity differs from the speed of light by between −3 × 10−15 and +7 × 10−16 of it.

    GW170817, arXiv:1710.05834

  8. 2026

    The recognition cost is proved unique; the gravity papers follow.

    The papers, below

How it works

From four counters to Newton’s law.

Six steps in the papers’ own terms, each with its paper and theorem. Every word in them is defined in plain terms under the steps and in the glossary.

  1. 1 · Four counters

    Every event is a record of four counters that step one at a time.

    Each step of a counter is a posting, and each reading of the four counters is a record. The four readings are the coordinates of a point, so the records form a four-dimensional lattice, and record time is the number of postings so far.

    From 0000 to 1111 the counters can step in 4! = 24 orders, and those 24 histories are the 24 four-dimensional simplices that fill one cell.

    Earlier paper, Section 2; main paper, Sections 1 and 2

    Watch histories run through a cell

  2. 2 · The light cone

    At κ = 1 every posting runs on the light cone.

    The flat lattice has one free number, κ (kappa), in its metric I − κ11⊤, and it sets how far light reaches in one step. A posting moves √3/2 in space per step and light reaches √(κ − ¼), so at κ = 1 the two are equal.

    That value is identified, not derived: the main paper takes it on the transfer reading of light’s lattice step, and the foundation as stated admits a world at κ = 3/2 as well. A premise of the ledger that forces κ is open.

    Earlier paper, Theorems 2.1 and 2.2; main paper, Section 2; quantum gravity paper, Theorem 2.3

    Move κ and watch the cone leave the postings

  3. 3 · Einstein

    Long waves obey Einstein’s linearized equations.

    The lattice’s action is Regge’s: each triangle, called a hinge, contributes its area times its deficit angle, how far the angles of the simplices around it fall short of a full turn, which is curvature in lattice form.

    Long waves travel on the light cone in every direction, with corrections of order (kb)² for a wave number k and a spacing b. With the coupling taken to zero before the torus grows, lattice solutions with sources converge to linearized Einstein fields.

    Sample a smooth curved spacetime on the lattice, its cells nondegenerate and Lorentzian all the way from the flat reference. At leading order in the spacing the metric part of the lattice’s field equation, ten of its fifteen combinations, is then Einstein’s with every nonlinear term. Lattice solutions at finite strength whose long-wave limit gives the nonlinear Einstein equations are open.

    Earlier paper, Theorems 4.9 and 5.1; Einstein-equation paper, Theorem 3.3; quantum gravity paper, Theorem 4.2

    From the lattice to a detector · Check Einstein’s equation on a random spacetime · Which actions are Einstein’s

  4. 4 · Newton

    A resting mass gives Newton’s potential.

    Put a body at rest on the lattice: at weak field its static field tends to Newton’s kernel with no adjustable factor, and outside a smooth body the potential is −GM/R with G = 1/(8πs), s the scale of the action.

    The same field curves space as much as time, γ = 1, the part that bends light. For the Regge action at κ = 1, through second order, isotropic point-mass solutions near a point have β = 1 too.

    This G is the lattice’s tree-level coupling: the measured constant is it times a quantum factor not yet computed. In SI units one pure number fixes it: the count of ledger ticks in one Compton period of the electron, which the measured G puts at 9.0156 × 10²² at tree level. Deriving that number is open.

    Earlier paper, Section 3.5 and Theorem 4.10; sourced-Einstein paper, Theorem 4.5; slope paper, Theorems 8.2 and 8.3; Newton’s constant paper, Sections 2 and 5

    Solve a resting mass, live · Light bending · The one number that fixes G

  5. 5 · The sum

    With a stated cutoff and a model measure, the sum over geometries is finite.

    A sum over geometries adds every admissible shape of the lattice, each with a phase set by its action. On the fixed lattice the admissible geometries form a cone of Lorentzian lattices, the action is Regge’s, and the measure is a model built from ledger states. The cutoff is stated, not derived: a finite window of squared edge lengths. Within it the sum is a finite integral whose expectations are defined at every phase scale except a discrete set.

    Finite-path-sum paper, Section 1, Table 1 and Theorems 2.2, 5.4 and 5.6

    Test a geometry, live · The sum along a ray

  6. 6 · The quantum graviton

    A massless quantum graviton is the open problem.

    At κ = 1 four extra massless modes, the doublers, sit at the corners of the lattice’s momentum space, and in the stated one-loop model they make the native graviton’s zero-momentum anisotropy diverge like log(1/ε).

    A weight built from the ledger’s cost of curvature, under two named identifications, gaps all four and gives the real parts of the model’s one-loop graviton responses finite limits.

    A Ward identity gives the test a massless graviton must pass, that the zero-momentum remainder vanish: the native model fails it, and an action derived from the ledger whose Ward defect vanishes is the precise open target.

    Earlier paper, Proposition 6.1 and Theorem 6.8; quantum gravity paper, Theorems 3.3, 5.5, 6.4 and 7.4, Target 6.8

    Meet the four doublers, live · The Ward target, and every candidate tested · Record time

Words in these steps, in plain terms: record · posting · record time · four-simplex · Kuhn lattice · κ (kappa) · light cone · hinge charge · deficit angle · Brillouin zone · doubler · anisotropy · Ward defect.

The numbers

What the lattice gives.

Gravity’s speed against light’s

2×10−50

An upper bound on how far the phase speed of any gravitational wave up to 5,000 Hz can differ from light’s, as a fraction, for a lattice spacing up to 106 Planck lengths. Light here is the lattice’s null cone.

Earlier paper, Corollary 5.3

Polarizations

2

A gravitational wave on the lattice has two polarizations, plus and cross: the classical count for three dimensions of space, which a lattice of four counters has. With fewer than three there would be no graviton at all.

Graviton long-wave paper, Theorem 3.4 · Both polarizations, live

One-loop correction

41/(10π)

The coefficient of Newton’s quantum correction, −(41/(10π))G²ℏm₁m₂/(r³c³), from the lattice’s long-wave rules read through named identifications: the value general relativity’s effective theory gives. At κ = 1 the full lattice sum also carries the four corner doublers, and that link is open.

Earlier paper, Theorem 7.5 and Corollary 7.9 · Its size, live

What it means

What gravity is made of.

Reality keeps a permanent record: nothing that happens is ever erased, and the past still exists (why).

  1. 01

    The strength of gravity is the size of one bit.

    A full turn of postings around one face of the lattice carries one bit. Then the strength of gravity and the area that holds one bit are one number, Għ = λ²c³/(4 ln 2) for a cell of side λ, and the measured G puts that side at 1.665 Planck lengths; the relation does not compute G.

    From the papers: graviton long-wave paper, Theorem 7.2, with the record clause as its premise; the cell’s size: One Bit per Area, Theorem 30.

  2. 02

    A horizon hides the record. It never erases it.

    A horizon, such as a black hole’s, divides the events an observer can still hear from the events it never will. The postings that cross it are hidden from that observer, and every posting stays written.

    From the papers: the black-hole paper’s abstract; One Bit per Area, Sections 1 and 2.

Where it stands

Proved, identified, open.

The glossary defines the status words. The full status: where it stands, part by part.

Proved

  • Einstein gravity at long wavelengths, Newton’s potential, the finite sum and finite one-loop real parts, each in the paper and theorem its step cites.How it works, steps 3 to 6
  • The graviton’s quadratic form, and one bit per area around a black hole.The graviton long-wave paper · One Bit per Area

Proof complete, independent verification pending

  • The main paper’s central result: the action is not chosen.Main paper, Theorems 5.3 and 5.5 · The cubic test, live

Identified

  • The lattice’s one free number, κ = 1.Step 2 · What κ is
  • The cost of a hinge record reads its area, and the weight of a geometry is the Gibbs weight of its cost: the two identifications behind the curvature weight.Quantum gravity paper, Section 5
  • Two premises make a hinge charge exactly Regge’s: a hinge is charged for its content Aδ alone, and the record clause, that one posting on a face, a deficit π/6, carries the posting action of the face bit, and a credit its negative.Graviton long-wave paper, Theorem 7.2 and Proposition 7.3
  • How the ledger writes a strained step.Graviton long-wave paper, Section 3.4 and Propositions 3.6 and 3.7 · The step weights, live

Open

  • A massless graviton.Quantum gravity paper, Target 6.8 · The target, step by step
  • The lattice itself, records on four counters, derived from the ledger.Where it stands, part 1
  • The measure’s identifications and the channel count at each hinge, derived from the ledger.
  • Lattice solutions at finite strength.How it works, step 3
  • The far field of a body of exactly compact support on the infinite lattice, and of an unsmeared point source.The resonance, live
  • A ghost or gauge measure derived from the ledger, and a norm-preserving evolution in record time.Record time, live
  • How the ledger adds records, and the value of the vacuum energy.Cosmological-constant paper, Target 5.7 and Section 6

Read the derivations

The papers.

Each paper’s short name is the one this page cites it by.

Peer reviewed and published

The newest four, 6 to 8 November 2026

Every other gravity preprint, and earlier work

The four papers, version 1.2, and the earlier one they build on

Companions, 1 and 4 November 2026

Earlier work and the library

Explore

Go deeper.

Explorers

The sumA finite sum over geometriesWhich lattice geometries the sum adds, tested live: a cone of Lorentzian lattices, with the light-speed reading on its boundary. Then Regge’s action, the model measure and the cutoff. The latticeFour counters, one step at a timeHistories run through one cell and fill its 24 orders, the cell turns in four dimensions, and moving κ takes the light cone off the postings. WavesGravitational waves on the latticeThe exact dispersion of both polarizations, and how far they are from light’s speed, from one lattice spacing to a detector. Field equationEinstein’s equation from the latticeSample a random curved spacetime and check, component by component, the lattice’s leading field equation against Einstein’s, and see which hinge charges keep flat space a vacuum. NewtonNewton’s law from the latticeSolve a smooth resting body’s static field in your browser, against Newton’s −GM/r; light bending; a point mass against Schwarzschild; the static resonance at every κ; and the one number that fixes G. One loopThe four doublersWhere the lattice operator vanishes, solved live: the light cone at the origin, a second cone at each axis corner, which tori carry them, and the logarithm they cause. Record timeThe quantum questionEach tick multiplies a wave by its root, solved live: one solution grows by √2 every tick, so the tick keeps no positive norm. Then a weight in the sum as a damping, live. The gravitonA massless graviton: the open targetThe Ward criterion, the four conditions an action must meet, and every candidate the paper has tested against them. HorizonsWhat a horizon recordsRecords on a horizon counted exactly, what a horizon hides, and what one bit per crossing gives against the Bekenstein–Hawking quarter; why a lattice horizon is not perturbative; short waves, a detector’s band and the action near a horizon; and the correction a uniform tide needs, live. The vacuumThe energy of empty spaceThe vacuum as a count of signs, an action that cannot see volume, and a cosmological constant as a rate of new records, each live. A point sourceOne unit on the latticeIts exact field, computed live, falls off as 1/(4πr) in every direction; read tick by tick it reaches one edge further each tick, and has solutions that grow.

A tour

Watch the figures run.

A recorded tour of twenty-five live figures, two minutes and thirty-nine seconds, with captions. Each figure runs live on its own page.

The tour in words
  1. A gravitational wave on the lattice, solved exactly
  2. Four counters, one step at a time: histories through one cell
  3. The cell in four dimensions, turning: its 24 simplices, one at a time
  4. Move κ: at κ = 1 the light cone passes through the postings
  5. A finite sum over geometries: which lattices are admissible, ray by ray
  6. The lattice’s field equation against Einstein’s, on a random spacetime: all ten components on the line, and off it without Einstein’s first-derivative terms
  7. Does flat space stay a vacuum as the lattice’s time diagonal stretches? For Regge’s slope at every stretch; for a slope with a bump at area 5/2, not between about κ = 1.5 and 2.8
  8. The cubic test: the action is not chosen
  9. What an observer horizon hides: in the history reading each crossing has a side of its own; in the field reading they share one, and the horizon hides one bit
  10. Through second order in the potential the lattice’s static field, with β = 1, never rises above −½, so it never reaches a horizon; the exact Schwarzschild field does, at U = 2
  11. On the continuum light cone the lattice scalar’s correction is positive at every κ above ⅓, in every direction: read as dispersion, short waves outrun light
  12. A static detector read once per diagonal step cannot tell excitation from de-excitation at π/(2√3), so an empty state exists only on a band, the flat lattice’s long-wave branch below ωc ≈ 0.385
  13. An inflow past (3 − √3)/3 ≈ 0.42 of the speed of light turns a family of the lattice’s triangles spacelike, and the earlier paper’s action stops seeing them; the Lorentzian term repairs the equations
  14. A uniform tide sampled on the lattice leaves a source in the fifteen rows at a record, and the static-exteriors paper’s exact correction removes it
  15. Charge each lattice step for the strain it reads: equal weights charge the graviton’s plus polarization twice the cross, and least-cost writing’s weights charge both 16, the recognition cost’s long-wave form
  16. How the ledger writes a strained step
  17. One order past Einstein: a static field’s second-order defect, 756√3 for a move along one counter and zero for a tick, computed live
  18. A resting body: the lattice against Newton’s −GM/r
  19. A point mass’s field near a point: for the Regge action at κ = 1 the lattice’s own long-wave equations force γ = 1 and then β = 1, and the isotropic Schwarzschild metric through second order is a solution on a ball of radius 1/8
  20. At every κ, a static wave where a point mass at rest has no solution: the resonance moves as the time diagonal stretches, and nears the long waves only at the two ends of the range
  21. One unit on the lattice, read tick by tick: nothing reaches further than one edge more each tick, and with the action’s sign the field grows
  22. Where the lattice operator vanishes: the light cone, and a doubler
  23. Record time: each tick multiplies a wave by its root
  24. One oscillator: the energy of empty space as a count of signs
  25. Where it stands: the quantum gravity paper’s ten parts, and which wait for which, rearranged in the order they decide the outcome

More

Meaning · Physics

The engine of this page

Falling, in 404 bytes of machine code

What this is for. So that nothing is hidden. Every body and every ray of light on this page is moved, in your browser, by the 404 bytes printed below: nothing is looked up, and every byte is shown. The bytes run Newton’s law; they do not derive it. Where the lattice gives this law, and under what conditions, is How it works, step 4, with its papers and theorems.

This page does not animate gravity. It runs it. Every body on the record, at every frame, and every ray of light and every path drawn ahead of you, each time it is drawn, is handed to the 404 bytes below, and they do three things. They compute the pull of the mass, GM/R² toward it, from Newton’s potential. They step each body along its path. And they give light the pull twice, across its path, and keep its speed. Every position of a body or a ray on the record behind these words comes from them. While this page is closed or hidden nothing runs, so on your return your orbit is carried forward by Kepler’s equation, the exact solution of the same law.

They are written directly as WebAssembly bytes, the machine code of the virtual machine built into every modern browser, with no compiler and no library. Your browser runs exactly these bytes.

The waves have their own program: every wave on this page is solved from the polynomials of Appendix F of the earlier paper by the page’s dispersion program. The gaps in the tiles are computed from the tiles’ edge lengths each time the mass changes.

The 404 bytes, and what each one does
00 61 73 6d 01 00 00 00 01 09 01 60 05 7f 7f 7c 7c 7c 00 03 02 01 00 05 03 01 00 01 07 0e 02 03 6d 65 6d 02 00 04 73 74 65 70 00 00 0a e5 02 01 e2 02 02 03 7f 0a 7c 20 04 44 00 00 00 00 00 00 e0 3f a2 21 08 41 00 21 06 02 40 03 40 20 06 20 01 4f 0d 01 41 00 21 05 02 40 03 40 20 05 20 00 4f 0d 01 20 05 41 28 6c 21 07 20 07 2b 03 00 21 09 20 07 2b 03 08 21 0a 20 07 2b 03 10 21 0b 20 07 2b 03 18 21 0c 20 07 2b 03 20 21 10 20 09 20 0b 20 08 a2 a0 21 09 20 0a 20 0c 20 08 a2 a0 21 0a 20 09 20 09 a2 20 0a 20 0a a2 a0 21 0d 20 02 20 0d 20 0d 9f a2 a3 21 0d 20 09 20 0d a2 9a 21 0e 20 0a 20 0d a2 9a 21 0f 20 10 44 00 00 00 00 00 00 00 00 61 04 40 20 0b 20 0e 20 04 a2 a0 21 0b 20 0c 20 0f 20 04 a2 a0 21 0c 05 20 0e 20 0b a2 20 0f 20 0c a2 a0 20 03 20 03 a2 a3 21 11 20 0e 20 11 20 0b a2 a1 21 0e 20 0f 20 11 20 0c a2 a1 21 0f 20 0b 20 10 20 0e a2 20 04 a2 a0 21 0b 20 0c 20 10 20 0f a2 20 04 a2 a0 21 0c 20 03 20 0b 20 0b a2 20 0c 20 0c a2 a0 9f a3 21 11 20 0b 20 11 a2 21 0b 20 0c 20 11 a2 21 0c 0b 20 09 20 0b 20 08 a2 a0 21 09 20 0a 20 0c 20 08 a2 a0 21 0a 20 07 20 09 39 03 00 20 07 20 0a 39 03 08 20 07 20 0b 39 03 10 20 07 20 0c 39 03 18 20 05 41 01 6a 21 05 0c 00 0b 0b 20 06 41 01 6a 21 06 0c 00 0b 0b 0b
The pullThe stepLight’s shareThe frame that hands over each body and ray

The pull

00a120 09local.get x
00a320 09local.get x
00a5a2f64.mul
00a620 0alocal.get y
00a820 0alocal.get y
00aaa2f64.mul
00aba0f64.add
00ac21 0dlocal.set w
w = x² + y²: the distance to the mass, squared
00ae20 02local.get gm
00b020 0dlocal.get w
00b220 0dlocal.get w
00b49ff64.sqrt
00b5a2f64.mul
00b6a3f64.div
00b721 0dlocal.set w
w = GM ÷ R³
00b920 09local.get x
00bb20 0dlocal.get w
00bda2f64.mul
00be9af64.neg
00bf21 0elocal.set ax
00c120 0alocal.get y
00c320 0dlocal.get w
00c5a2f64.mul
00c69af64.neg
00c721 0flocal.set ay
a = −w × (x, y): the pull, GM/R² toward the mass

The step

003720 04local.get dt
003944 00 00 00 00 00 00 e0 3ff64.const 0.5
0042a2f64.mul
004321 08local.set h
h = dt ÷ 2: half a step of time
008d20 09local.get x
008f20 0blocal.get vx
009120 08local.get h
0093a2f64.mul
0094a0f64.add
009521 09local.set x
009720 0alocal.get y
009920 0clocal.get vy
009b20 08local.get h
009da2f64.mul
009ea0f64.add
009f21 0alocal.set y
x += v × h: half a step along the path
00d720 0blocal.get vx
00d920 0elocal.get ax
00db20 04local.get dt
00dda2f64.mul
00dea0f64.add
00df21 0blocal.set vx
00e120 0clocal.get vy
00e320 0flocal.get ay
00e520 04local.get dt
00e7a2f64.mul
00e8a0f64.add
00e921 0clocal.set vy
v += a × dt: a body takes the pull whole. This is Newton’s law
014d20 09local.get x
014f20 0blocal.get vx
015120 08local.get h
0153a2f64.mul
0154a0f64.add
015521 09local.set x
015720 0alocal.get y
015920 0clocal.get vy
015b20 08local.get h
015da2f64.mul
015ea0f64.add
015f21 0alocal.set y
x += v × h: the other half step along the path

Light’s share

00ec20 0elocal.get ax
00ee20 0blocal.get vx
00f0a2f64.mul
00f120 0flocal.get ay
00f320 0clocal.get vy
00f5a2f64.mul
00f6a0f64.add
00f720 03local.get c
00f920 03local.get c
00fba2f64.mul
00fca3f64.div
00fd21 11local.set d
d = (a · v) ÷ c²: how much of the pull lies along the ray
00ff20 0elocal.get ax
010120 11local.get d
010320 0blocal.get vx
0105a2f64.mul
0106a1f64.sub
010721 0elocal.set ax
010920 0flocal.get ay
010b20 11local.get d
010d20 0clocal.get vy
010fa2f64.mul
0110a1f64.sub
011121 0flocal.set ay
a − d × v: only the pull across the ray is kept
011320 0blocal.get vx
011520 10local.get share
011720 0elocal.get ax
0119a2f64.mul
011a20 04local.get dt
011ca2f64.mul
011da0f64.add
011e21 0blocal.set vx
012020 0clocal.get vy
012220 10local.get share
012420 0flocal.get ay
0126a2f64.mul
012720 04local.get dt
0129a2f64.mul
012aa0f64.add
012b21 0clocal.set vy
v += share × a × dt: light takes the pull twice. share = 2 = 1 + γ, with γ = 1
012d20 03local.get c
012f20 0blocal.get vx
013120 0blocal.get vx
0133a2f64.mul
013420 0clocal.get vy
013620 0clocal.get vy
0138a2f64.mul
0139a0f64.add
013a9ff64.sqrt
013ba3f64.div
013c21 11local.set d
013e20 0blocal.get vx
014020 11local.get d
0142a2f64.mul
014321 0blocal.set vx
014520 0clocal.get vy
014720 11local.get d
0149a2f64.mul
014a21 0clocal.set vy
v × c ÷ |v|: light keeps its speed

Falling 0:00 Turns 0