Blackhole in the movie Interstellar

#3js#Firebase#Gemini#WebGL

This project is a detailed simulation of the Gargantua blackhole as depicted in the movie Interstellar. Using a combination of Three.js for rendering and Gemini AI for generating physical parameters, this experiment explores how we can visualize complex relativistic physics in the browser.

Technical Breakdown

The accretion disk is simulated using a custom particle system where each particle follows a geodesics-inspired path around the event horizon. Gravitational lensing is approximated using post-processing shaders to create the iconic "halo" effect.

Gemini was utilized to calculate the orbital velocities and density distributions of the accretion disk, ensuring that while the visualization is artistic, it maintains a layer of physical plausibility. Firebase acts as the persistence layer for user-defined simulation parameters, allowing visitors to save and share their own versions of the blackhole.