https://github.com/stevesims/vptimelinehandler
A simple JavaScript timeline handler
https://github.com/stevesims/vptimelinehandler
Last synced: over 1 year ago
JSON representation
A simple JavaScript timeline handler
- Host: GitHub
- URL: https://github.com/stevesims/vptimelinehandler
- Owner: stevesims
- License: bsd-2-clause
- Created: 2013-10-18T13:25:37.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-03-06T11:50:46.000Z (over 12 years ago)
- Last Synced: 2025-03-02T02:57:08.899Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# VPTimelineHandler
by [Vert Pixels Ltd.](http://vertpixels.com)
## Description
VPTimelineHandler is a simple timeline handling module.
## Usage
VPTimelineHandler provides a simple light-weight object prototype for running a timeline.
## Notes
VPTimelineHandler does not, itself, include any code for discovering what the time is. This was an intentional design choice, so as to allow for a timeline driven not only on absolute time, but also to allow for timed events to be synchronised with media playback. Code that makes use of a VPTimelineHandler object to drive a timeline will need to periodically call the handler's checkTime method, passing in a time value (in seconds).
Basic documentation will be added soon, as will some basic code examples.
## Real-life Examples
VPTimelineHandler started out as part of the technology that drove the music visualizer in the [Deadmau5 iTunes LP 4x4=12](https://itunes.apple.com/us/album/4x4-12-deluxe-version/id406919167).
It's latest public outing has been in the [Tinie Tempah Demonstration album promo site](http://listen.tinietempah.com/), which also makes use of our application framework [VPBooklet](https://github.com/stevesims/vpbooklet) and animation engine [VPAnimEngine](https://github.com/stevesims/vpanimengine). It was used there to control timed lyrics animations, as well as triggering some other timed animations.
## Compatibility
VPTimelineHandler should be broadly compatible with most browser environments.
The only potential compatibility problem for older browsers is it makes use of JavaScript's Array.isArray(), and array instance forEach method, which may not be available in all JavaScript environments. Many compatibility shims and polyfills however are available.
## License
VPAnimEngine is licensed under the [BSD License](http://opensource.org/licenses/BSD-2-Clause)
## Credits
VPAnimEngine was designed and built by Steve Sims and John-Paul Harold of Vert Pixels Ltd.