GPU-accelerated general relativistic ray tracer for a Schwarzschild black hole with a volumetric accretion disk, built with wgpu and WGSL. Renders gravitational lensing, Doppler beaming, and turbulent disk structure via real-time ray marching.
  • Rust 65.6%
  • WGSL 33.5%
  • Just 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Florian Pallas 5225276e6a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
support arbitrary resolutions, make distance configurable
2026-06-08 01:00:57 +02:00
assets add justfile, update readme 2026-06-01 14:37:59 +02:00
src support arbitrary resolutions, make distance configurable 2026-06-08 01:00:57 +02:00
.gitignore implement raytracer 2026-05-31 16:30:54 +02:00
.woodpecker.yml ci 2026-05-31 16:51:59 +02:00
Cargo.lock make texture size configurable 2026-06-01 09:32:05 +02:00
Cargo.toml cleanup 2026-06-01 09:32:35 +02:00
justfile add justfile, update readme 2026-06-01 14:37:59 +02:00
README.md add justfile, update readme 2026-06-01 14:37:59 +02:00

schwarzloch

General-relativistic ray tracer for a Schwarzschild black hole.

Render
just render

Output is saved to data/render.png.