BLACK HOLE (Black Hole) · Full Python Source
The complete, runnable Python source code of the ASCII artwork "BLACK HOLE". Run one file and a black hole forms in a window on your screen: a thin circle of light draws itself, a red glow swells around it, the disk opens out to both sides, and after a flash, sparks of light ride the orbits. Everything is made only of letters, numbers and symbols.
The preview above is black_hole.py running live on a computer.
What's included
- black_hole.py: the complete source code of the animation (one file)
- README: setup guide, install and run in three steps
- HOW_IT_WORKS: how the ring, the disk, the bent light and the letters are made, step by step
- LICENSE: terms of use
Requirements
- Python 3 with two libraries: numpy and pygame-ce (one install command)
- Tested on: Windows 11 + Python 3.13
- Expected to work, not tested yet: Python 3.10 to 3.12, macOS, Linux
About the price
The same code is free on my GitHub. Buying it here is a way to support my work, and it helps me keep making new pieces. Thank you.
Licence summary
You may: run the artwork on your own computer · read and study the code · change it for your own personal projects.
You may not: sell it or any modified version · use it or its output commercially without written permission (ads, products, client work, monetised videos, NFTs, templates) · claim the artwork or the code as your own.
If you post something you made with it, please credit @jin_22ee. The full terms are in LICENSE.txt inside the download.
Digital download · instant delivery · ZIP
JIN2 · creative coding artist · Instagram @jin_22ee