33 Commits

Author SHA1 Message Date
sole
f2f29f34c6 Link to new example from README.md file, also update change log 2013-02-04 13:39:25 +00:00
sole
f90559dd37 First implementation of repeat(), for #71 2013-01-28 23:01:58 +00:00
sole
5fd6f61d4b Use simpler performance.now code lifted from three.js, as per @mrdoob suggestion 2013-01-28 20:49:58 +00:00
sole
433bb3db44 REVISION: 8dev -> 8 2013-01-04 12:16:15 +01:00
sole
41fc4efa6a Add test page for minified version 2013-01-03 19:14:45 +01:00
Mr.doob
9b112151e1 Updated build. 2012-11-02 11:24:48 +01:00
Mr.doob
b226ae413e Updated build. 2012-11-01 19:35:31 +01:00
Mr.doob
c3d4ef08c9 r7 2012-10-27 11:50:09 +02:00
Mr.doob
9e26ed62ef Fixed builder. 2012-09-01 14:28:16 +02:00
Mr.doob
85c49e0cfb Taking the delay into consideration when firing onStart(). Fixes #50. 2012-07-07 14:55:07 +02:00
Mr.doob
4586c9ae93 .chain( [ tween1, tween2] ) is now .chain( tween1, tween2 ) as per @infusion suggestion in #45.
Simpler code :)
2012-05-19 02:21:56 +02:00
Mr.doob
ec242d0b4e _chainedTween can now also be an Array. Fixes #45.
Usage:
var tween0  = new TWEEN.Tween( position ).to( { x: 0, y: 20 } ).chain( [ tween1, tween2 ] );
2012-05-17 02:37:29 +02:00
Mr.doob
01f9dc7322 r6 2012-04-10 03:19:28 +02:00
sole
81b1bf7877 Rebuild packed version 2012-01-29 10:50:22 +01:00
sole
1fac81d1b0 Add autostart/stop functionalities 2011-10-15 15:28:22 +02:00
sole
b91055c25d Improve performance by using Date.now() 2011-10-15 11:10:50 +02:00
sole
6e463f99d5 Add new example (video and time) and bump revision number to 3 2011-09-30 19:30:57 +02:00
Josh Faul
35a4036aa6 Added autostart functionality to optionally prevent empty intervals 2011-08-29 12:43:32 -06:00
sole
0cc68f1c7c Tag and update build, readme, etc with latest change 2011-07-15 15:36:36 +02:00
sole
f3c6d09ef1 Using Tween.js as build name file, not tween.js 2011-05-18 18:24:58 +01: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
967299c8ba Now using Closure Compiler (~200bytes) 2010-11-16 13:00:50 +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
7120a36671 * Simplified TWEEN.remove() 2010-10-20 05:06:32 +01:00
Mr.doob
d4ce1968a9 * Added TWEEN.Tween.stop(). Always good to be able to stop a tween ;-) 2010-10-20 04:42:52 +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
Mr.doob
38c02bc515 * onComplete needs to send the object too. 2010-09-30 23:02:05 +08:00
Mr.doob
6dca5e5807 * Simplified TWEEN.Easing.Elastic and TWEEN.Easing.Back (removed unneded Ease*With) 2010-09-28 17:45:24 +08:00
Mr.doob
b695680a44 * Simplified Tween class logic 2010-09-25 22:41:51 +08:00
Mr.doob
2dbeac6d65 * Simplified formulas
* Reusing equation value for each property
 * Added missing equations
 * Renamed _valuesChange to _valuesDelta
 * Applying _valuesEnd when elapsed > duration
 * Graphs example
 * Minor optimisations
2010-09-25 20:41:24 +08:00
sole
38e6a30b83 Updated build 2010-09-17 18:36:04 +01:00
sole
4d1a4d2027 merged with mrdoob's changes and also updated examples to run with latest code style 2010-08-01 20:09:33 +01:00