News for hackers. Stuff that matters.
Re:Show HN: Physically accurate black hole you can put in yo... by aplavin on Monday July 27, 2026 @10:25AM (#49070186)
Sure, see https://blackhole.plav.in/ar_example.mp4 for an example. Should work on most Android phones, even old ones (mine is 7 years), the Chrome browser is generally best for AR.

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.

Re:Show HN: Physically accurate black hole you can put in yo... by tantalor on Monday July 27, 2026 @10:28AM (#49070238)
Okay either I'm stupid or not seeing the "relativistic effects".

This looks the same as on my device.

I was expecting some distortion or bending of the background?

Re:Show HN: Physically accurate black hole you can put in yo... by aplavin on Monday July 27, 2026 @10:38AM (#49070376)
> AR + camera warping don't work together, unfortunately – browser API limitations.

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!