diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-05-29 22:42:26 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-05-29 22:42:26 +0200 |
commit | c59a502dc7cd58030983d1271cd9f3a8f8128a91 (patch) | |
tree | fb5ea655ccaaaa064e0b2a8b1b856a150f8f7a10 /dirty.html | |
parent | b3317d7150ce875e7ad772e40ad700d37839da2f (diff) | |
download | svg.js-c59a502dc7cd58030983d1271cd9f3a8f8128a91.tar.gz svg.js-c59a502dc7cd58030983d1271cd9f3a8f8128a91.zip |
implemented EventTarget + runner does not loop forever anymore
Diffstat (limited to 'dirty.html')
-rw-r--r-- | dirty.html | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -130,12 +130,10 @@ function getColor(t) { // .ease('<>') // .center(500, 200) -var r = new SVG.Runner(1000).loop(10, false, 100) +var r = new SVG.Runner(200)//.loop(3, false, 100) r.queue(null, console.log) -r.step(1200) // should be 0.1s -r.step(-300) // should be 0.9s - +new SVG.Timeline().schedule(r) // r.step(300) // should be 0.1 // r.step(2 * 1100) // should be 0 |