Timeliner is a graphical graphical tool to help create and prototype animations quickly. It is useful for adjusting variables and checking out how the effects changes over time with keyframing and easing/tweening functions. It may also have some similarities with the timeline component of adobe flash, after effects, edge animate or other animation software.
It is written in javascript and meant to work with different javascript libraries or webgl frameworks, in 1d, 2d, or 3d. It is built primary for myself, but feel free to send me suggestions or requests.
Follow me on twitter for updates.
Below are some existing javascript timeline libraries which I think are pretty good. I decided to write mine partly to scratch my itch and partly to challenge myself technically. There are challenges in writing one, but its nice to be in control of your own tools.
I think the current version is much a work in progress. However Ben Schwarz says that a cat dies everytime code doesn't get publish during cssconf asia 2014, so I thought it would be a good idea to release this early.
I wrote Timeliner to be as lightweight and embedable as possible. Styles, HTML, icons are all embeded in a single javascript file. This means it could work as an included script, bookmarklet, or part of a bigger project. I intent to have interoperablility with other controls tools like dat.gui or gui.js.
Include the timeliner.js file.
<script src="https://github.com/zz85/timeliner/raw/master/timeliner.js"></script>
or import via ES modules
import { Timeliner } from './build/timeliner.min.js'
Load data by code, file upload or loading from saved localStorage.
// target is a "pojo" which gets updated when values change.
var target = {
name1: 1,
name2: 2,
name3: 3
};
// initialize timeliner
var timeliner = new Timeliner(target);
timeliner.addLayer('name1');
timeliner.addLayer('name2');
timeliner.addLayer('name3');
or
To test without compiling, open test_module.html in the browser.
Format code
yarn run fix
Generate Build
yarn run mini
2.0.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0