General Relativity Snake
This version of the classic Snake game simulates how massive objects create wave-like distortions in spacetime:
- Wave Propagation: Each grid point calculates its distance from the snake's "gravitational source"
- Wave Amplitude: A cubic falloff function determines the intensity of the gravitational wave at each point
- Spacetime Ripples: Grid points are displaced toward the gravitational well, creating visible waves in the fabric of space
- Wave Interference: As you move, the gravitational waves propagate outward, creating dynamic, flowing distortions
- Gravitational Redshift: Colors shift from cyan to red-orange based on wave intensity - simulating how light frequencies change in strong gravitational fields



Comments
Log in with itch.io to leave a comment.
This is dizzying, but I liked it.
As long as it is more fun that dizzying, I'm happy. =)