https://github.com/enoobis/clock-python
The animation displays a clock face with hour, minute and second hands that move in real-time
https://github.com/enoobis/clock-python
Last synced: 6 months ago
JSON representation
The animation displays a clock face with hour, minute and second hands that move in real-time
- Host: GitHub
- URL: https://github.com/enoobis/clock-python
- Owner: enoobis
- License: mit
- Created: 2023-01-12T19:40:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-12T19:44:11.000Z (over 2 years ago)
- Last Synced: 2025-02-15T18:51:45.400Z (8 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clock-python
This is a Python project that uses the Pygame library to create a visual clock animation. The animation displays a clock face with hour, minute and second hands that move in real-time. The clock face is a white circle with black background and numbers representing hours are placed around the clock face.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
You will need to have the following installed on your machine:
- Python (3.x recommended)
- Pygame### Running
To run the code, navigate to the root directory of the project and execute the following command:
```
python clock.py
```