This Python script displays a binary clock with little red circles representing the bits. The circles become bright red when activated. The clock displays the time in binary format, with columns representing 10s of hours, 1s of hours, 10s of minutes, 1s of minutes, 10s of seconds, and 1s of seconds.
- Displays a binary clock with red circles
- Real-time synchronization with the system clock
- Customizable colors and appearance
- Python 3.x
- Pygame library (install with
conda install -c conda-forge pygameorpip install pygame) - Pywin32 library (install with
conda install -c conda-forge pywin32orpip install pywin32) - ctypes library (included in Python standard library)
- Clone the repository or download the
binary_clock.pyfile. - Install the Pygame library if not already installed.
- Install the Pywin32 library if not already installed.
- Run the script:
python binary_clock.py.
You can customize the appearance of the clock by modifying the variables in the script. Adjust the colors, sizes, or other settings to suit your preferences.
This project is licensed under the MIT License.
Feel free to fork, modify, and distribute the code. Contributions are welcome!
- This script was inspired by Scott's Binary Clock.


