Black Hole screensaver
A real-time black hole simulation that runs as a screensaver on NCZ-OS, macOS and Windows.

What it is
The screensaver draws a black hole with gravitational lensing, an accretion disk and several scenes: a single black hole, a binary, a merger, a tidal disruption, a galaxy zoom, a three-body system and a quasar. The picture is computed by a shader on your graphics card, so how smooth it is depends on that card.
Download
Version 0.1.5 for macOS (Apple silicon) and Windows 10 and 11, and the default screensaver in NCZ-OS 26.10 "Cygnus". The Mac download is one installer that also sets the screensaver and a five-minute timeout, plus an uninstaller. The Windows first run takes a few minutes while shaders compile. The builds are not notarized or code-signed, so macOS and Windows will ask you to confirm the first run; the install guide has the steps.
- Black Hole 0.1.5 release (macOS disk image, Windows installer, checksums)
- Install guide
Screenshots
Captures from the macOS build at 2560x1440.









Performance
Frame rates below are approximate and differ from machine to machine. Heavy scenes cost time in proportion to the number of pixels drawn, so the screensaver draws them smaller on slower cards and scales the picture up.
macOS
Measured on an Apple M1 Max in a 1920 by 1080 window, ANGLE over Metal, frames per second at four render sizes.
| Scene | 1920x1080 | 1280x720 | 960x540 | 660x370 |
|---|---|---|---|---|
| single (default look) | 51 | 58 | 58 | 58 |
| binary | 5 | 13 | 23 | 45 |
| merger | 6 | 10 | 18 | 38 |
| tidal-disruption | 5 | 12 | 18 | 35 |
| three-body | 5 | 13 | 18 | 41 |
The screensaver picks the size for you. On this machine the heavy scenes start at about 720 by 400 to 840 by 470 and average 21 to 24 fps; the default scene runs at full size.
Linux
Default scene, 1536 by 960, median frame time.
| Graphics card | Result |
|---|---|
| NVIDIA RTX 2060 Mobile | about 110 fps |
| AMD RX 5500M | about 77 fps |
| Intel UHD 630 and Comet Lake GT2 | about 9 fps before the render scale drops |
The other scenes have not been measured on Linux yet.
Windows
On Windows the first run compiles the shaders through Direct3D, and the result is cached for later runs. Measured on an Intel Iris Xe: about 4 minutes for the single and galaxy-zoom scenes, and more than 15 minutes without finishing for binary, merger and tidal-disruption. The splash screen shows the elapsed time and says when it is still working. Because of this, integrated Intel graphics and software renderers are offered the single scene only; every other card gets the scenes it can run at 18 fps or better at 960 by 540. Set NCZ_BLACKHOLE_SCENES=all to turn that off.
What the screensaver does about it
- The default scene setting is
random, and the scene changes every five minutes. - It recognises your graphics card by name, estimates its speed from published figures, and leaves out scenes it could not draw at about 18 fps even at 960 by 540.
- Each scene starts at the render size that card should hold, and a controller adjusts it from measured frame times, with 960 by 540 as the smallest size planned for.
- A scene that still cannot hold a playable frame rate is dropped from the rotation after a few seconds and remembered.
- You can pin one scene in the settings app if you want it whatever the speed.