A Digital Clock with a Morning Theme Made with Ruby2D for Demonstration.
- 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.
- 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.
- Primary mouse button click on texts and sun to drag them.
- Cancel dragging when you release a button of the mouse
- Rotate the colours of the background.
- Hover mouse on Birds will scare them, and they will fly faster.
- 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.
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.
If you find any bug 🐛 or feature request, please let me know via github or email me [email protected]