0.1.2 • Published 11 years ago
decaying-accumulator v0.1.2
A nudgeable number that tends toward zero
In applications such as realtime crowd voting or an audio VU meter, we want a number which spikes upward but decays to zero over time. This module captures exactly this, with no extra frills.
The file demo/votes.html
lets you play with this module through an
HTML meter and voting buttons.