Skip to content

Commit 6443566

Browse files
committed
Update build, screenshot, readme, test
1 parent 8be5fe5 commit 6443566

File tree

4 files changed

+741
-238
lines changed

4 files changed

+741
-238
lines changed

README.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Timeliner
22

3-
Timeliner is a graphical javascript library that can prototype and create animations quickly that works across different javascript / webgl frameworks. You may find timeline familiar if you have used adobe flash, after effects, edge animate or other animation software. Except this in its really early (prototyping) stage with no testers/users but myself, so expect breakages and use at your own risk.
3+
Timeliner is a graphical javascript library that helps create and prototype animations quickly. It's works with different javascript / webgl frameworks. You may find timeline familiar if you have used adobe flash, after effects, edge animate or other animation software. Except this in its really early (prototyping) stage with no testers/users but myself, so expect breakages and use at your own risk.
44

55
Follow [blurspline](https://twitter.com/blurspline) on twitter for updates.
66

@@ -21,19 +21,21 @@ There are currently already couple of timeline libraries which are pretty good (
2121
(Side note: mrdoob's [talk on this](http://2013.jsconf.asia/blog/2013/11/8/jsconfasia-2013-mrdoob-ricardo-cabello-framejs) also showcase interesting editors used by the demoscene)
2222
4. [TweenTime](https://github.com/idflood/TweenTime/) by idflood.
2323

24-
I initally wanted to polish and improve this to the point I'm satisfied first. However hearing Ben Schwarz say that a cat dies everytime code doesn't get publish during cssconf asia 2014, here it is.
24+
I had initally wanted to polish and improve this to the point I'm satisfied first. However hearing Ben Schwarz say that a cat dies everytime code doesn't get publish during cssconf asia 2014, here it is.
2525

2626
## Philosophy
27-
Timeliner should be lightweight and can be added into any webpages with ease. It could work as an included script, bookmarklet, or part of a bigger project with capabilities to work with other controls like dat.gui or gui.js.
27+
Timeliner should be lightweight and can be added into any webpages with ease. It could work as an included script, bookmarklet, or part of a bigger project with capabilities to work with other controls like dat.gui or gui.js. Styles, HTML, Icons are all embed in the Javascript code.
2828

2929
## Usage
3030

31-
include the timeliner.js file.
31+
Include the timeliner.js file.
3232

3333
```js
3434
<script src="timeliner.js"></script>
3535
```
3636

37+
Load data by code, file upload or loading from saved localStorage.
38+
3739
```js
3840
// target is a "pojo" which gets updated when values change.
3941
var target = {
@@ -63,15 +65,23 @@ or
6365
2. Select easing type from the dropdown
6466

6567
## Curent Features
68+
1.3.0
69+
- autosave
70+
- load (localstorage, new, autosave, filesystem)
71+
- save (export, localstorage, download)
72+
- ui tweaks
73+
6674
1.2.0
6775
- icons using extracted fontawesome data
6876
- slightly npm-ify
6977
- [window management](http://codepen.io/zz85/pen/gbOoVP)
7078
- basic keyboard shortcuts
7179
- basic hdpi
7280
- basic touch support
81+
7382
1.1.0
7483
- undo / redo (basic)
84+
7585
1.0.0
7686
- slider time scale (basic)
7787
- fix positioning mouse events
@@ -92,14 +102,13 @@ or
92102
- adjust values (basic)
93103

94104
## TODO
95-
- save / load
105+
- scrolling
96106
- attempt virtual-dom / v.rendering
97107
- curve editor
108+
- graph editor
98109
- support audio
99-
- scrolling
100110
- support guestures
101111
- remote control
102112
- insert keyframes should interpolate
103-
- tweened values
104-
- ghosting / onioning skinning
113+
- ghosting / onioning skinning tweened values
105114
- a whole ton more

screenshot.png

8.59 KB
Loading

test.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@
4444
// timeliner.addLayer('y');
4545
// timeliner.addLayer('rotate');
4646

47-
var o = [{"name":"x","values":[],"tmpValue":0,"_color":"#10b00d"},{"name":"y","values":[{"time":0,"value":3,"_color":"#4a2392","tween":"quadEaseIn"},{"time":3.3,"value":-1.1999850000000003,"_color":"#cddfd8"}],"tmpValue":-1.1999850000000003,"_color":"#344260"},{"name":"rotate","values":[{"time":0,"value":4.200005,"_color":"#ec9bb5","tween":"quadEaseInOut"},{"time":2.1,"value":9.300005,"_color":"#ac8e14","tween":"quadEaseIn"},{"time":5,"value":9.300005,"_color":"#5c659"}],"tmpValue":9.300005,"_color":"#1fa995"}];
48-
timeliner.load(o);
47+
// var o = {"version":"1.2.0","modified":"Mon Dec 08 2014 10:41:11 GMT+0800 (SGT)","title":"Untitled", "layers": [{"name":"x","values":[],"tmpValue":0,"_color":"#10b00d"},{"name":"y","values":[{"time":0,"value":-1.2999770000000004,"_color":"#4a2392","tween":"quadEaseIn"},{"time":3.3,"value":-1.1999850000000003,"_color":"#cddfd8"}],"tmpValue":-1.2999770000000004,"_color":"#344260"},{"name":"rotate","values":[{"time":0,"value":4.200005,"_color":"#ec9bb5","tween":"quadEaseInOut"},{"time":2.1,"value":28.000009,"_color":"#ac8e14","tween":"quadEaseIn"},{"time":5,"value":50.400018,"_color":"#5c659"}],"tmpValue":50.400018,"_color":"#1fa995"}]};
48+
// timeliner.load(o);
49+
50+
51+
timeliner.load({"version":"1.2.0","modified":"Mon Dec 08 2014 10:41:11 GMT+0800 (SGT)","title":"Untitled","layers":[{"name":"x","values":[{"time":0.1,"value":0,"_color":"#893c0f","tween":"quadEaseIn"},{"time":3,"value":3.500023,"_color":"#b074a0"}],"tmpValue":3.500023,"_color":"#6ee167"},{"name":"y","values":[{"time":0.1,"value":0,"_color":"#abac31","tween":"quadEaseOut"},{"time":0.5,"value":-1.000001,"_color":"#355ce8","tween":"quadEaseIn"},{"time":1.1,"value":0,"_color":"#47e90","tween":"quadEaseOut"},{"time":1.7,"value":-0.5,"_color":"#f76bca","tween":"quadEaseOut"},{"time":2.3,"value":0,"_color":"#d59cfd"}],"tmpValue":-0.5,"_color":"#8bd589"},{"name":"rotate","values":[{"time":0.1,"value":-25.700014000000003,"_color":"#f50ae9","tween":"quadEaseInOut"},{"time":2.8,"value":0,"_color":"#2e3712"}],"tmpValue":-25.700014000000003,"_color":"#2d9f57"}]});
4952

5053
var w2 = window.innerWidth / 2;
5154
var h2 = window.innerHeight / 2;

0 commit comments

Comments
 (0)