Skip to content

geogod42/spacetime_sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spacetime Simulation in Rust

A simple 3D spacetime simulation using Kiss3D to visualize metric grid deformations caused by a moving mass.

Features

  • 3D grid initialized with the Minkowski metric, evolving over time.
  • Mass moves in a circular orbit, affecting spacetime curvature.
  • Real-time rendering of grid deformations and mass.

Usage

  1. Install Rust.
  2. Install dependencies:
    cargo install kiss3d
  3. Run the simulation:
    cargo run

Controls

  • .: Increase mass speed
  • ,: Decrease mass speed

License

GNU GPL-3.0

About

simple 3d spacetime simulation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages