Skip to content

Datagniel/binary_clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binary Clock

Binary Clock

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.

Features

  • Displays a binary clock with red circles
  • Real-time synchronization with the system clock
  • Customizable colors and appearance

Requirements

  • Python 3.x
  • Pygame library (install with conda install -c conda-forge pygame or pip install pygame)
  • Pywin32 library (install with conda install -c conda-forge pywin32 or pip install pywin32)
  • ctypes library (included in Python standard library)

Usage

  1. Clone the repository or download the binary_clock.py file.
  2. Install the Pygame library if not already installed.
  3. Install the Pywin32 library if not already installed.
  4. Run the script: python binary_clock.py.

Customization

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.

Screenshots

Screenshot 1

Screenshot 2

License

This project is licensed under the MIT License.

Feel free to fork, modify, and distribute the code. Contributions are welcome!

Acknowledgements

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages