Skip to content

Varcho/GeneralRelativity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌎 General Relativity Spacetime Visualizer 🌎

(Final Project for OSU Math 5757)

einstein

This repo is an implementation/ extension of the methods of techniques descibe Visualizing Interstellar's Wormhole and Gravitational Lensing by Spinning... More specifically, this code implements spacetime path tracing in an ellis-type metric, with the inclusion of an accretion disk.

Because of the parallelizable nature of path-tracing images, this code was implemented in CUDA, so that it could be efficiently run on the GPU. Additional, multiple integration schemes were implemented (euler, rk4 and rkf45). Although, more computationally costly, rkf45's adaptive nature was necessary for the tracing near the poles, which were prone to numerical inaccuracies.

Releases

No releases published

Packages

No packages published