Skip to content

sandee30/Gargantua_Simulation

Repository files navigation

Gargantua Black Hole Simulation

A WebGL-based Black Hole Simulator built as a Computer Graphics final project, inspired by the iconic Gargantua black hole from the movie Interstellar. This project visualizes a rotating black hole, its event horizon, and accretion disk in real-time, allowing you to explore the extreme physics of a Kerr black hole in a browser.


Features

  • Realistic gravitational lensing around the black hole.
  • Spinning accretion disk with Doppler and gravitational redshift effects.
  • Event horizon rendering with proper light absorption.
  • Smooth 3D camera controls to explore the black hole from all angles.
  • Fully WebGL-powered using Three.js and JSX for React integration.
  • Physics inspired by Kip Thorne's theoretical models of black holes.

Technology Stack

  • React / JSX — Frontend framework for UI and component structure.
  • Three.js — WebGL 3D rendering engine for real-time graphics.
  • GLSL Shaders — Vertex and fragment shaders for black hole and accretion disk rendering.
  • Post-processing Effects — UnrealBloom, lensing, and glow effects for visual realism.

Inspiration

This project is inspired by Gargantua from Interstellar (2014). The physics behind the simulation is based on ideas from Kip Thorne, who consulted for the movie and provided the real-world science behind the black hole's appearance.

About

A realistic black hole simulation inspired by the movie Interstellar and the work of physicist Kip Thorne. See how light bends around a spinning black hole, explore its accretion disk, and experience a visual simulation that follows the laws of physics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors