kylejlin / bidirectional-timer

A bidirectional timer.

Home Page:https://kylejlin.github.io/bidirectional-timer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bidirectional Timer

A timer that goes back and forth.

There's probably a real name for this, but I don't know what that is.

Description

When you click the screen, the timer starts going in the negative direction. If you tap it again, it starts going in the positive direction.

You can pause and unpause the timer.

Warning for contributing developers

This is just an implementation detail, so if you just want to use the product, you can safely ignore the following.

However, if you wish to contribute, take note of the following footgun: this codebase makes use of +0 and -0. You have been warned.

About

A bidirectional timer.

https://kylejlin.github.io/bidirectional-timer/


Languages

Language:JavaScript 74.0%Language:CSS 16.2%Language:HTML 9.8%