https://github.com/candera/timerpage
A simple web page written using ClojureScript that counts down to a particular time, changing through green, yellow, and red along the way. With blinking!
https://github.com/candera/timerpage
Last synced: 8 months ago
JSON representation
A simple web page written using ClojureScript that counts down to a particular time, changing through green, yellow, and red along the way. With blinking!
- Host: GitHub
- URL: https://github.com/candera/timerpage
- Owner: candera
- Created: 2012-11-17T00:53:18.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-11-20T15:24:42.000Z (about 13 years ago)
- Last Synced: 2025-03-24T05:48:34.047Z (9 months ago)
- Language: JavaScript
- Homepage: http://candera.github.com/timerpage
- Size: 234 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# timerpage
A simple web page that counts down to a particular clock time, turning
green at ten minutes, yellow at five, and red at one. Also flashes for
ten seconds at transitions, and always after one minute remaining.
I wrote this to communicate time remaining to the speakers at
Clojure/conj 2012. The code is pretty crap, but it has worked really
well.
Things I would like to fix:
* Allow the user to specify times other than ten, five, and one minute
remaining.
* Use CSS transitions rather than using ClojureScript to toggle CSS
styles.
* Add doc strings.
* Add a stop button.
## Usage
* Visit [http://candera.github.com/timerpage](http://candera.github.com/timerpage)
**OR**
* Put `index.html`, `main.js`, and `timerpage.css` in the same directory
* Open index.html
* Enter a time like "15:33"
* Click Start
## License
Copyright © 2012 Craig Andera
Distributed under the Eclipse Public License, the same as Clojure.