• Stars
    star
    212
  • Rank 185,059 (Top 4 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created almost 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Visualising the spacetime geodesics of general relativity

I'm experimenting with how to visualise the geodesics in spacetime under general relativity. Please help with suggestions!

Live demo: https://timhutton.github.io/GravityIsNotAForce/ image

Description: Under general relativity, gravity is not a force - instead it is a distortion of spacetime. Objects in free-fall move along geodesics (straight lines) in spacetime, as seen in the inertial frame of reference on the right. When standing on Earth we experience a frame of reference that is accelerating upwards, causing objects in free-fall to move along parabolas, as seen on the left. More...

Version with more space dimensions: image

Version that is accurate in a varying gravitational field: image

History:

History of the ideas: (please help fill in the gaps!)

TO-DO list:

  • Can we extend to 2+1 with a point mass? Perhaps by considering a single geodesic (e.g. an elliptic orbit) as a straight line and drawing the rest of the universe as a (possibly very strange) distorted grid around that geodesic?

More Repositories

1

twitter-archive-parser

Python code to parse a Twitter archive and output in various ways
Python
2,393
star
2

opengl-canvas-wasm

Minimal example of animating the HTML5 canvas from C++ using OpenGL through WebAssembly
C++
339
star
3

sdl-canvas-wasm

Minimal example of animating the HTML5 canvas from C++ using SDL through WebAssembly
C++
206
star
4

hyperplay

Explore tilings on the hyperbolic plane
HTML
86
star
5

crochet-simulator

Predicting the 3D shape from a crochet pattern.
HTML
57
star
6

mobius-transforms

Exploring Mรถbius transformations and implementing the book Indra's Pearls
HTML
38
star
7

vtkpowercrust

A VTK port of the PowerCrust surface reconstruction algorithm
C++
31
star
8

klein-quartic

Exploring the Klein Quartic's geometry.
Python
28
star
9

mandelstir

Animating fractional iterations in the Mandelbrot Set and Julia Sets.
C++
27
star
10

livingphysics

Artificial chemistry game
JavaScript
27
star
11

zomes

Zomes are polar zonohedron domes, made from rhombi.
HTML
20
star
12

squirm3

Artificial chemistry
C++
18
star
13

cmake-swig-java

Minimal example of using SWIG to call C++ code from Java, with a CMake cross-platform build system.
CMake
15
star
14

latticegas

Lattice Gas Explorer, previously at http://code.google.com/p/latticegas
C++
15
star
15

PseudosphereGeodesics

Visualising straight lines (geodesics) on the pseudosphere and related geometries.
JavaScript
10
star
16

slinker

Generating Slitherlink puzzles, previously at http://code.google.com/p/slinker
C++
9
star
17

linear-enzymes

Artificial chemistry where chains of atoms can catalyse reactions
C++
7
star
18

voronoi-honeycombs

Making space-filling polyhedra using Voronoi cells
Python
3
star
19

chessviz

Visualizing the space of chess moves
HTML
3
star
20

turmite-trajectories

Analysing the trajectories of turmites
C++
2
star
21

circle-squaring

Cutting up a circle to make a square - how close can you get?
HTML
2
star
22

terminatingturmites

Searching for Busy Beaver Turing machines and their higher-dimensional cousins the Terminating Turmites. Previously at http://code.google.com/p/terminatingturmites
C++
2
star
23

povray-polyhedra

Script to render different polyhedra for Wikipedia
POV-Ray SDL
2
star
24

geofun

Exploring location-based fun
JavaScript
2
star
25

grid-physics

Flexible movement on a grid
C++
2
star
26

image-based-fractals

Image-based fractal rendering
HTML
2
star
27

timhutton.github.io

Blog:
Python
1
star
28

twisty-quads

Playing around with an optical illusion doodle
HTML
1
star
29

curved-mirrors

What does it look like when you are standing in a hall of mirrors and the walls curve inwards or outwards?
POV-Ray SDL
1
star
30

hat-freedom

Exploring the degrees of freedom in the new aperiodic monotile, 'the hat'.
JavaScript
1
star