Show HN: Physically accurate black hole you can put in your room (opens in a new tab)blackhole.plav.in
477 pointsI'm Sasha (Alexander) Plavin, an astrophysicist at Harvard's Black Hole Initiative studying quasars and black hole environments. I work with raytracing/radiative transfer simulations professionally, and wanted to make one anyone can play with — so I built this app.
Put the black hole onto your screen (any browser), or directly into your room with AR or VR (requires WebXR, for example Chrome on Android, or any VR headset). When looking around, pay attention to unintuitive relativistic effects: rays bending around the black hole, and special relativistic "Doppler boosting" changing brightness depending on the viewing angle — zoom out to see the fast jet where the latter effect is especially pronounced.
Faint markers show where other viewers are standing right now.
Alternatively, put the black hole in front of your camera and watch it lens
your actual surroundings. Light winds around the hole, so you see both what's in front of you and what's behind you at once (when the device and browser allow both camera feeds). The closer to the black hole, the stronger the bending — and the longer the light-travel delay: wave at it and watch the changes propagate inward.
(unfortunately, WebXR restrictions make AR passthrough and the camera feed mutually exclusive)
No signup, basic features work on every device, no data uploaded — the camera feed never leaves your device. Source code: https://github.com/aplavin/blackhole.plav.in.
Enjoy having a black hole in your room, or use it for education/outreach — any questions, feedback, or suggestions are welcome!
Comments (193) 36 threads
Earlier commentsTwo black holes at once?!?!?? Yeah, I'm crazy like that.
---
Reminds me of my favorite Spongebob Squarepants gag. Spongebob and Patrick Starfish were tasked to paint the house of Mr. Krabs, Spongebob's exacting boss at the Krusty Krab. Because of course this is a cartoon, they have to paint with all the furniture and bric-a-bracs still in the room. They are just somehow expected to paint around stuff.
Because Patrick is dumb as a starfish (go figure) they end up with a big paint bubble threatening to burst and cover _everything_ with a layer of paint.
Spongebob (panicked): Eeeek! Patrick what can be worse than one big paint bubble in Mr. Krabs' living room?
Patrick: laughs oooh I know...
He proceeds to blow another big paint bubble
Patrick: two big paint bubbles!
The lines in the demo look upscaled and aliased for some reason.
https://snipboard.io/W8SXYm.jpg
Can you try if increasing "render scale" in params->display helps?
Continue this thread — 2 replies
Apparently it is not working correctly on my device, so it would be nice to see the intended effect.
Interestingly, Firefox seems to be better for the camera mode – for me, Chrome only gives one camera feed at a time, while Firefox allows both front & rear cameras.
And AR + camera warping don't work together, unfortunately – browser API limitations.
This looks the same as on my device.
I was expecting some distortion or bending of the background?
So, you either choose AR and see the simulated emission from around the black hole, properly warped/boosted – but the camera feed remains flat, the browser itself does the overlaying.
Or, alternatively, choose the camera mode, and see the warping of your camera feed.
Not both at once!
Black holes don't really "suck in" light. Whatever falls onto the black hole itself gets deleted, of course – but otherwise, it bends light rays towards its center. That's why the app shows distortion + black circle in the in middle in the camera mode.
I grew up with micro black holes being a possibility, with conjectures such as primordial black hole evaporating down to Planck dimension stability, etc.
All comments shown.
Couldn't load more comments. Check your connection and try again.