Robert Eisele
a79fae29c4
Improved performance by not relying on an own timer
2014-06-15 22:02:06 +01:00
Soledad Penades
3314927004
Expand the relative values example
2014-05-05 20:54:16 +01:00
Soledad Penades
b3d179ebd1
Example 12: random is random
2014-02-17 04:59:00 +00:00
Soledad Penades
bb5eab33fa
Example 12: More custom easing functions!
2014-02-16 21:40:16 +00:00
Soledad Penades
710fe18470
Refactor example 3's createGraph function to external file, in order to use it in the new example 12 for custom easing functions.
2014-02-16 21:22:24 +00:00
Soledad Penades
18095340be
No jank example 04-using CSS transform instead of changing left property
2014-02-15 17:20:03 +00:00
sole
80485bf0c5
Formatting for consistency
2013-10-13 19:09:09 +01:00
cfddream
d8b2deb02c
All chained tweens will be stoped when I stop a tween.
2013-10-12 21:56:35 +08:00
benjamind
81d014db4a
Added yoyo example.
2013-06-04 09:55:10 -07:00
sole
93fb85af7c
add more data about example 09 and relative values feat
2013-03-03 15:39:12 +00:00
sole
f55cfdf679
rename example name: from relative destination to relative values
2013-03-03 15:32:26 +00:00
sole
be0535b46d
Make example 9 more JSHint-friendly O:-), also fix title to be 'relative destination', and use minified tween version
2013-02-28 21:37:52 +00:00
sole
1bc309b273
Merge branch 'dev-relative-destination' of git://github.com/endel/tween.js into dev
2013-02-28 21:36:55 +00:00
sole
c9bb66f79f
example 08_repeat: remove commented code
2013-02-05 10:35:13 +00:00
sole
df09f6ed15
359->360
2013-02-04 23:34:44 +00:00
Endel Dreyer
e103bd0a48
Add tests for tweening values relatively. #72
...
Don't prevent interpolation of null values or of non-existing
properties. They should now always start as zero.
2013-02-03 14:16:32 -02:00
Endel Dreyer
9170dd3a6e
Add support for tweening values relatively. #72
...
When creating a new Tween instance, all object proprieties is now stored
on '_valuesStart' instance variable, for possible further increment, by
the relative tweening behaviour.
When using 'repeat' method, the start value will be updated at the end
of each animation.
There is a usage example on '09_relative_destination.html'.
2013-02-02 21:04:21 -02:00
sole
f90559dd37
First implementation of repeat(), for #71
2013-01-28 23:01:58 +00:00
Mr.doob
18d5badb07
Seems like using element.style.left is ~10fps faster than element.style.marginLeft
2013-01-04 21:37:39 +01:00
sole
29d80c5711
Fix 06 -> 07 typo
2013-01-04 10:58:34 +01:00
Mr.doob
c3d4ef08c9
r7
2012-10-27 11:50:09 +02:00
Mr.doob
795a2d549a
Updated examples.
2012-09-01 14:30:09 +02:00
Mr.doob
59c2d22d7f
Merge branch 'master' into dev
2012-05-19 02:13:12 +02:00
Mr.doob
3ec0002102
Updated README with an up to date usage code. Fixes #47 .
2012-05-19 02:12:31 +02:00
Mr.doob
072e8833d1
Updated Stats.
2012-05-17 02:34:18 +02:00
Mr.doob
01f9dc7322
r6
2012-04-10 03:19:28 +02:00
Eberhard Gräther
88a674bf68
added fox and rabbit example
2012-04-08 23:54:55 +02:00
Mr.doob
86bd597c07
Renamed EaseNone, EaseIn, EaseOut and EaseInOut to None, In, Out and InOut. Refactored code for better compression.
2012-04-07 11:50:40 +02:00
Mr.doob
3f913f1f50
Some tweaks.
2012-04-07 11:19:35 +02:00
Mr.doob
d20214f175
Removed autostart feature thus simplified code. Updated examples. Fixes #36 .
2012-04-07 11:06:20 +02:00
Eberhard Gräther
a2fbc35168
extended spline example with second line using built-in interpolation
2012-04-07 02:25:35 +02:00
Eberhard Gräther
3659495457
removed Open and Closed distinction at interpolation
2012-04-06 23:13:42 +02:00
Eberhard Gräther
9d9ec14cb6
updated array interpolation example, changed points for better visualization of bezier
2012-04-06 16:52:20 +02:00
Eberhard Gräther
6fd497d0d2
switched back to linear easing in interpolation example
2012-04-06 13:08:23 +02:00
Eberhard Gräther
28845b5d07
fix for easing Back and Elastic in interpolation Spline.Open
2012-04-06 02:13:17 +02:00
Eberhard Gräther
4eb897b22b
finalizing interpolation example
2012-04-06 00:32:57 +02:00
Eberhard Gräther
e32d711cbf
added array interpolation example
2012-04-05 19:56:59 +02:00
Mr.doob
954f844f3a
Examples embed code clean up.
2012-04-03 04:09:50 +02:00
Mr.doob
0f1f422e6c
Small change to get2DPoint code. The velocity seems to be more homogeneous. Thanks @zz85.
2012-03-03 13:53:22 +01:00
sole
1fac81d1b0
Add autostart/stop functionalities
2011-10-15 15:28:22 +02:00
sole
d2542e47f1
Fix minor grammar slip :-P
2011-10-15 10:26:45 +02:00
sole
f7ab15869b
Ensure the video is loaded
2011-10-01 20:31:36 +02:00
sole
6e463f99d5
Add new example (video and time) and bump revision number to 3
2011-09-30 19:30:57 +02:00
Mr.doob
073fcd8444
Fixed graphs example (graphs weren't floating properly in Firefox/Opera).
2011-08-26 21:33:00 +02:00
Mr.doob
114205af45
Added TWEEN's own interval.
...
Controllabe with TWEEN.start() and TWEEN.stop().
Thx @is__real! ;)
2011-03-25 00:47:53 +00:00
Mr.doob
a3849e81ea
Added spline (catmull rom) example.
2011-01-17 22:05:54 +00:00
Mr.doob
d34396b097
* Tweens were not being removed on complete :S
...
* Removed destroy() (stop() does exactly the same)
* TWEEN.remove() code was broken (tween.splice instead of tweens.splice)
* Changed default easing to TWEEN.Easing.Linear.EaseNone (for simplicity)
* Added header to compiled file
* Fixed examples
2010-10-29 06:09:28 +01:00
Mr.doob
67b490c4ff
* TWEEN.update() optimised (storing tweens.length)
...
* TWEEN.remove() changed to look similar to TWEEN.update() code;
* Moved TWEEN.add() from TWEEN.Tween constructor to TWEEN.Tween.start(). This should speed up things (no need to loop along tweens that haven't started yet).
* Removed TWEEN.Tween._complete (Is not needed);
* Simplified TWEEN.Tween.update();
* Fixed README example code (and some wording).
* Moved examples/style.css to examples/css/style.css (clean up)
* Included Stats.js in examples/js to remove internet dependency.
2010-10-20 04:36:09 +01:00
sole
7a23c0bda3
incorporate changes by infusion :-)
2010-10-18 13:05:32 +01:00
sole
58ebf53dfe
added usage and another simple example
2010-09-25 17:49:20 +01:00