diff options
author | Saivan <savian@me.com> | 2018-06-29 09:18:54 +1000 |
---|---|---|
committer | Saivan <savian@me.com> | 2018-06-29 09:18:54 +1000 |
commit | 9e7d902339755b37ba228f837700c3886a337aa2 (patch) | |
tree | dc0e1690f5b2a13c397d0c77e43560172985eae9 /dirty.html | |
parent | 6ff9882c7c85fcd399b9c623f60d5d466cdbb99b (diff) | |
download | svg.js-9e7d902339755b37ba228f837700c3886a337aa2.tar.gz svg.js-9e7d902339755b37ba228f837700c3886a337aa2.zip |
Added a potential fix for the problem
Diffstat (limited to 'dirty.html')
-rw-r--r-- | dirty.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -218,11 +218,11 @@ a.timeline().source(() => { }) -let obj = { rotate: 90, shear:2, origin: [600, 600], translate: [100, 100] } +let obj = { rotate: 100, shear:2, origin: [600, 600], translate: [100, 100] } a.clone() // startPosition a.clone().transform(obj) // endPosition -a.animate(new SVG.PID(0.1, 0.1)).transform(obj) // animation +a.animate(new SVG.Spring(50, 30)).transform(obj) // animation // Put an ellipse where we expect the object to be |