Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zyddnys/wormhole-raytracer
Implementation of Visualizing Interstellar's Wormhole
https://github.com/zyddnys/wormhole-raytracer
Last synced: 5 days ago
JSON representation
Implementation of Visualizing Interstellar's Wormhole
- Host: GitHub
- URL: https://github.com/zyddnys/wormhole-raytracer
- Owner: zyddnys
- License: mit
- Created: 2020-04-09T02:07:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-11T15:33:26.000Z (almost 4 years ago)
- Last Synced: 2023-10-21T00:08:28.924Z (about 1 year ago)
- Language: C++
- Size: 18.4 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wormhole Raytracer
Implementation of paper [Visualizing Interstellar's Wormhole](https://arxiv.org/pdf/1502.03809.pdf)\
For interactive version [https://github.com/zyddnys/wormhole-realtime](https://github.com/zyddnys/wormhole-realtime)# Some tricks
- Only rays alone the equatorial plane is traced, special thanks to [Scott Manley](https://www.youtube.com/user/szyzyg/)# How to use
- Change wormhole parameters (length, mass, radius) in [main.cc](main.cc):120
- Change image parameters (resolution, spp) in [main.cc](main.cc):18
- Change runge-kutta integration parameters (step size, total steps) in [WormholeODE.h](WormholeODE.h):214# Images
![](result.png)
![](result.bmp)
![](result2.bmp)