JavaScript animation engine
Update gifs
Julian Garnier43ab5f0487bd
diff --git a/README.md b/README.mdindex 78f502c1..db98dc0c 100644--- a/README.md+++ b/README.md@@ -354,40 +354,12 @@ anime({➜ [Function based value example](http://anime-js.com/v2/documentation/#functionBasedPropVal)-## Keyframes+### Keyframes-### Basic keyframes--<img src="documentation/assets/img/readme/keyframes-basic.gif" width="332" />+<img src="documentation/assets/img/readme/value-keyframes.gif" width="332" />Keyframes are defined using an `Array` of property `Object`.<br>-Animation of multiple values played in a sequence:--```javascript-anime({- targets: 'div',- translateX: [- { value: 80 },- { value: 160 },- { value: 250 }- ],- translateY: [- { value: -40 },- { value: 40 },- { value: 0 }- ],- duration: 1500, // Duration will be divided by the number of keyframes of each properties, so 500ms each in this example- delay: 500 // Delay will be applied only at the first keyframe-});-```--➜ [Basic keyframes example](http://anime-js.com/v2/documentation/#basicKeyframes)--### Specific keyframes properties--<img src="documentation/assets/img/readme/keyframes-advanced.gif" width="332" />--Use specific timing and easing functions for each keyframe:+Instance's `duration`is divided by the number of keyframes of each properties if not specified.```javascriptanime({@@ -417,7 +389,7 @@ anime({});```-➜ [Specific keyframes properties example](http://anime-js.com/v2/documentation/#specificKeyframeTimings)+➜ [Specific keyframes properties example](http://anime-js.com/v2/documentation/#keyframes)## Timelinediff --git a/documentation/assets/css/documentation.css b/documentation/assets/css/documentation.cssindex 3cd19cad..04911001 100644--- a/documentation/assets/css/documentation.css+++ b/documentation/assets/css/documentation.css@@ -62,7 +62,7 @@ header {border-bottom: 1px solid #000;}-h1, h2 {+.logo, h2 {opacity: .6;font-size: 22px;letter-spacing: 2px;@@ -70,7 +70,7 @@ h1, h2 {font-weight: 200;}-h1:hover {+.logo:hover {opacity: 1;}@@ -499,6 +499,10 @@ input.progress {align-items: center;}+#cssProperties .el {+ transform: translate3d(0,0,0);+}+/* Responsive */.header {diff --git a/documentation/assets/img/readme/callbacks-all.gif b/documentation/assets/img/readme/callbacks-all.gifindex 1e211a2f..841edd8f 100644Binary files a/documentation/assets/img/readme/callbacks-all.gif and b/documentation/assets/img/readme/callbacks-all.gif differdiff --git a/documentation/assets/img/readme/playback-play-pause.gif b/documentation/assets/img/readme/playback-play-pause.gifindex 20b907d4..0a8db78c 100644Binary files a/documentation/assets/img/readme/playback-play-pause.gif and b/documentation/assets/img/readme/playback-play-pause.gif differdiff --git a/documentation/assets/img/readme/playback-reverse.gif b/documentation/assets/img/readme/playback-reverse.gifnew file mode 100644index 00000000..1cfc55e3Binary files /dev/null and b/documentation/assets/img/readme/playback-reverse.gif differdiff --git a/documentation/assets/img/readme/playback-seek.gif b/documentation/assets/img/readme/playback-seek.gifindex e131652c..cea98ea6 100644Binary files a/documentation/assets/img/readme/playback-seek.gif and b/documentation/assets/img/readme/playback-seek.gif differdiff --git a/documentation/assets/img/readme/prop-css.gif b/documentation/assets/img/readme/prop-css.gifindex 024127e0..c4fa5f1e 100644Binary files a/documentation/assets/img/readme/prop-css.gif and b/documentation/assets/img/readme/prop-css.gif differdiff --git a/documentation/assets/img/readme/svg-line-drawing.gif b/documentation/assets/img/readme/svg-line-drawing.gifindex 91ac7cb7..44cee6ad 100644Binary files a/documentation/assets/img/readme/svg-line-drawing.gif and b/documentation/assets/img/readme/svg-line-drawing.gif differdiff --git a/documentation/assets/img/readme/svg-morphing.gif b/documentation/assets/img/readme/svg-morphing.gifindex c7913489..b34e0909 100644Binary files a/documentation/assets/img/readme/svg-morphing.gif and b/documentation/assets/img/readme/svg-morphing.gif differdiff --git a/documentation/assets/img/readme/svg-motion-path.gif b/documentation/assets/img/readme/svg-motion-path.gifindex 6d91de8c..5d14c849 100644Binary files a/documentation/assets/img/readme/svg-motion-path.gif and b/documentation/assets/img/readme/svg-motion-path.gif differdiff --git a/documentation/assets/img/readme/timeline-absolute.gif b/documentation/assets/img/readme/timeline-absolute.gifnew file mode 100644index 00000000..75cc2eb7Binary files /dev/null and b/documentation/assets/img/readme/timeline-absolute.gif differdiff --git a/documentation/assets/img/readme/timeline-parameters.gif b/documentation/assets/img/readme/timeline-parameters.gifnew file mode 100644index 00000000..5adadf33Binary files /dev/null and b/documentation/assets/img/readme/timeline-parameters.gif differdiff --git a/documentation/assets/img/readme/timeline-relative.gif b/documentation/assets/img/readme/timeline-relative.gifnew file mode 100644index 00000000..4032a1dbBinary files /dev/null and b/documentation/assets/img/readme/timeline-relative.gif differdiff --git a/documentation/assets/img/readme/timeline.gif b/documentation/assets/img/readme/timeline.gifindex db32d799..5d5bde88 100644Binary files a/documentation/assets/img/readme/timeline.gif and b/documentation/assets/img/readme/timeline.gif differdiff --git a/documentation/assets/img/readme/value-keyframes.gif b/documentation/assets/img/readme/value-keyframes.gifnew file mode 100644index 00000000..19855488Binary files /dev/null and b/documentation/assets/img/readme/value-keyframes.gif differdiff --git a/documentation/index.html b/documentation/index.htmlindex b0325e4d..3906698e 100644--- a/documentation/index.html+++ b/documentation/index.html@@ -15,7 +15,7 @@<body><div class="content"><header class="header">- <h1><a class="logo" href="http://anime-js.com">anime.js</a></h1>+ <a class="logo" href="https://github.com/juliangarnier/anime/"><h1>anime.js</h1></a></header><section class="pane sidebar"><nav class="navigation"></nav>@@ -145,8 +145,7 @@ var JSarray = anime({</div><script>var cssProperties = anime({targets: '#cssProperties .el',- width: 280,- opacity: .5,+ left: 240,backgroundColor: '#FFF',borderRadius: 40,easing: 'easeInOutQuad'