18 Commits

Author SHA1 Message Date
Joe Pea
899a0e3a59 Merge branch 'master' into typescript
* master: (38 commits)
  update dist files
  rename some tests to better reflect what they test
  improve the conditional logic more so that values in nested arrays can also be animated
  add and example and test for animating values in an array
  start values aren't arrays, only to values are
  move _updateProperties function back out to a method
  fix yoyo with array values test
  temporary, move updateProperties function to make diff with master more clear
  move some code and update variable names to make mergin with master easier (less conflict)
  update dist
  improve state reset when stopping and starting a tween (fixes #512 where yoyo wouldn't restart properly)
  move value-swapping code for repeated tweens to a function (it will be re-used in an upcoming change)
  consolidate duplicate handling of relative values
  update dist files
  ignore VS Code's config folder
  small refactor to prevent update from doing anything when a tween has finished, yet still allow tweens to go back in time
  fix lint error
  rename _isFinished to _isComplete to match other wording
  add one more test for relative array values
  add editorconfig to settings editors can be consistently unique (because we use tabs so people can set their own tab width)
  ...
2020-06-03 01:29:51 -07:00
Joe Pea
bf4048706e format all files in the project now that we have prettier. Yay! 2020-06-02 23:29:00 -07:00
Guillermo Q. Chavez
f3c0efd45d Fix Tween.js path in examples. 2019-09-09 18:03:50 -06:00
Michael Casebolt
faa1e6c5f6 Fix the examples. 2017-10-24 19:44:25 -07:00
sole
3e49aecaaf (feat) Remove minified version, fixes #206 2015-09-29 13:51:42 +01:00
Robert Eisele
a79fae29c4 Improved performance by not relying on an own timer 2014-06-15 22:02:06 +01:00
Soledad Penades
18095340be No jank example 04-using CSS transform instead of changing left property 2014-02-15 17:20:03 +00:00
Mr.doob
795a2d549a Updated examples. 2012-09-01 14:30:09 +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
01f9dc7322 r6 2012-04-10 03:19:28 +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
d20214f175 Removed autostart feature thus simplified code. Updated examples. Fixes #36. 2012-04-07 11:06:20 +02:00
Mr.doob
954f844f3a Examples embed code clean up. 2012-04-03 04:09:50 +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
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