https://github.com/souravgoswami/yet-another-colour-clock
A colour clock with Ruby2D gem, just for demonstration.
https://github.com/souravgoswami/yet-another-colour-clock
clock ruby2d
Last synced: about 1 year ago
JSON representation
A colour clock with Ruby2D gem, just for demonstration.
- Host: GitHub
- URL: https://github.com/souravgoswami/yet-another-colour-clock
- Owner: Souravgoswami
- License: gpl-3.0
- Created: 2018-12-11T12:06:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-09T08:04:24.000Z (about 7 years ago)
- Last Synced: 2025-02-14T07:51:16.829Z (over 1 year ago)
- Topics: clock, ruby2d
- Language: Ruby
- Size: 2.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yet Another Colour Clock 🦄
A Digital Clock with a Morning Theme Made with Ruby2D for Demonstration.

## Running 🏃♀🏃
+ You need to have Ruby (www.ruby-lang.org)
+ You need the Ruby2D gem (www.ruby2d.com)
+ Run the `main.rb` file with Ruby interpreter.
## Usage 🎉
### Keys ⌨️
+ F11: Toggle fullscreen with the F11 key.
+ Esc: Exit Yet Another Colour Clock with the escape key.
+ Space: Exit Yet Another Colour Clock with the space bar.
### Mouse Functions 🐭
#### Mouse Down
+ Primary mouse button click on texts and sun to drag them.
#### Mouse Up
+ Cancel dragging when you release a button of the mouse
#### Middle Click
+ Rotate the colours of the background.
#### Hovering
+ Hover mouse on Birds will scare them, and they will fly faster.
#### Scroll Events
+ Scroll mouse on lower half of the window to darken the lower half of the window.
+ Scroll mouse on upper half of the window will shift the opacity of the sky.
## Configuration ⚙️
The configuration can be found with the main.rb file in the main directory (https://github.com/Souravgoswami/yet-another-colour-clock/blob/master/configure.conf), it's called configure.conf. Edit it to change the behaviour of colour clock.
## Screenshot 📸

## Bugs 🐞
If you find any bug 🐛 or feature request, please let me know via github or email me souravgoswami@protonmail.com