Bend light. Break stars. Feed the void.

An interactive black hole simulator — part science, part cosmic toybox.
Fling stars, trigger supernovas, and watch spacetime warp in real time.

Singularity Playground is an interactive black hole simulator built entirely in JavaScript + WebGL2.

It’s not just a pretty screensaver — you can play with the physics of stars, fling them around, and watch them get devoured or explode into dazzling supernovas.

✨ Features

  • Invisible Event Horizon
    The black hole is truly black — no permanent rings or UI markers. You only know it’s there because of the gravitational lensing effect bending starlight. For those who want visuals, you can toggle on the photon ring and accretion disk.

  • Real-Time Star Physics
    Drag and fling stars with your mouse. Gravity bends their paths, and if they cross the event horizon they’re swallowed forever. Some skim the edge and explode into supernovas with glowing shockwaves, debris clouds, and screen-flashes.

  • Auto-Drift Black Hole
    Turn on auto-drift and the black hole glides slowly across the screen with configurable speed. It feels alive, roaming the starfield and gobbling up unlucky stars along its path.

  • Dynamic Starfield
    The background is a procedurally generated field of stars that drifts, wobbles, and lenses realistically as the black hole passes. Grain and density can be tuned for a more cinematic or abstract look.

  • Customization Panel
    A clean, transparent HUD lets you tweak everything in real time:
    • Mass, time scale, lensing strength
    • Star trails, colors (stellar types, neon, rainbow)
    • Background drift, noise grain
    • Toggle photon ring & accretion disk
    • Auto-drift speed control

  • Satisfying Audio FX
    Clicks, gulps, explosions, and screen-shaking novae are punctuated with synthesized sound effects for every interaction.

✨ Update Summary

Singularity Playground just got even bigger — you can now spawn two black holes with perfectly synced lensing and gravity, complete with warp mode, shimmering horizons, and ultra-transparent controls. Stars still explode into dazzling supernovas, trails dance across the void, and the whole scene feels alive. Pure chaos, pure beauty — right in your browser.

🔧 Fix Summary

Right-click black hole placement is now fully aligned — the lensing and gravity centers match exactly where you click. No more flipped top/bottom mismatch.

🎯 Why it’s fun

The simulator blends science-inspired mechanics with artistic effects. It’s half educational, half psychedelic playground. You’re free to drop stars, create chaos, or just sit back and watch the void slowly consume everything.

Updated 2 days ago
Published 7 days ago
StatusReleased
CategoryOther
PlatformsHTML5
Rating
Rated 3.0 out of 5 stars
(1 total ratings)
AuthorMauroDot

Leave a comment

Log in with itch.io to leave a comment.