An open API service indexing awesome lists of open source software.

https://github.com/robatron/1440-clock

Simple JavaScript clock that visualizes the 1440 minutes one has in a day
https://github.com/robatron/1440-clock

art clock javascript

Last synced: about 1 year ago
JSON representation

Simple JavaScript clock that visualizes the 1440 minutes one has in a day

Awesome Lists containing this project

README

          

# 1440-clock

> Minimalist clocks that visualize the 1,440 precious minutes each of us has
> in a day

## About

I wanted a simple visualization of the 1,440 precious minutes each of us has in
a day. By default, these clocks show you a visual countdown of the minutes you
have remaining before midnight.

## Usage

There are two clocks available:

- **Default:** https://robatron.github.io/1440-clock/
- **Bars:** https://robatron.github.io/1440-clock/bars

To configure these clocks you can use the following query parameters:

- `dh` - Number of hours to display
- `hw` - Hide words in the UI, display only the clock
- `sh` - Starting hour
- `sm` - Starting minute

### Examples

Default clock, 8-hour workday, from 07:15 to 15:15:

- https://robatron.github.io/1440-clock/?dh=8&sh=7&sm=15

Bars clock, 8-hour workday, from 06:00 to 21:00:

- https://robatron.github.io/1440-clock/bars?dh=15&sh=6

## Screenshots

Default clock example:

"Bars" clock example: