if (blackHole) {

if (blackHole) {

3D VisualizationPersonal Experiment2025Web

if (blackHole) { is an interactive simulation exploring gravitational lensing, relativistic spaghettification, and the chaotic entropy of black hole physics. This real-time visualization, built with WebGL and Three.js, presents a dynamic point cloud swirling around a central singularity—a digital manifestation of extreme gravitational forces at work. The user is invited to explore the scene freely: scrolling to zoom, rotating the camera, and engaging the Approach Singularity feature, which triggers a descent into the event horizon. At the heart of the simulation, a flickering black hole manifests as a shifting mesh of deep space and radiant crimson filaments. But why does it turn red? As light is stretched by gravitational redshift, high-frequency blue light transitions to the deep reds of the spectrum, elongating into invisibility just before crossing the threshold of the event horizon. This visual distortion—akin to a cosmic slow-motion effect—renders the black hole not as a featureless void, but as a ghostly ember at the edge of observable reality. As the observer nears the singularity, they experience spaghettification: the extreme tidal stretching caused by differential gravitational pull. In this visualization, red particles begin to accelerate outward, expanding into horizontal patterns—symbolizing the final scattering of matter before its descent into oblivion. The work serves as both a scientific homage and a creative abstraction, inviting the viewer to contemplate the relentless collapse of matter and the strange, beautiful distortions that emerge from the void. Interaction Guide: - 🖱️ Scroll to zoom in and out. - 🔄 Click and drag to rotate around the black hole. - 🚀 Press "Approach Singularity" to trigger the gravitational descent.

if (blackHole) { 1
if (blackHole) { 2
if (blackHole) { 3