Skip to content

schutterp/timeseries-animator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Timeseries Animator

Normalizes playback of array(s) of tuples containing seconds and a value into browser animation frames.

Usage

var data = [
    [1, {lat: 30.2, lng: -97.7}],
    [2, {lat: 30.201, lng: -97.701],
    ...
];
var callback = function (position) {
    map.updatePostition(position.lat, position.lng);
};
var animator = new Animator('fast');
animator.run(callback, data);

Version

0.0.1

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published