5 Commits

Author SHA1 Message Date
Joe Pea
5b71d80b8e examples: fix resolution of graphs in examples/06_array_interpolation 2024-01-14 22:57:37 -08:00
Joe Pea
3302497ef5 examples: simplify the createGraph function, and make it crispier on devices with devicePixelRatio higher than 1 2024-01-14 16:41:35 -08:00
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
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