diff options
author | Saivan <savian@me.com> | 2018-04-23 20:25:41 +1000 |
---|---|---|
committer | Saivan <savian@me.com> | 2018-04-23 20:25:41 +1000 |
commit | 64b3144c89247d0be176bf01c28aa5fe6bef84d5 (patch) | |
tree | 1cb689a600c7804ee41eef66d63fb4f104c85e60 /src/number.js | |
parent | 7a4979d0cfd4c4dbe91b53b69c62aa28c295af5c (diff) | |
download | svg.js-64b3144c89247d0be176bf01c28aa5fe6bef84d5.tar.gz svg.js-64b3144c89247d0be176bf01c28aa5fe6bef84d5.zip |
Added some timeline and Morphing functions
Diffstat (limited to 'src/number.js')
-rw-r--r-- | src/number.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/number.js b/src/number.js index 6413f94..e6cecc2 100644 --- a/src/number.js +++ b/src/number.js @@ -100,5 +100,11 @@ SVG.Number = SVG.invent({ .plus(this) } + + +new SVG.Color('#2a4e5a').morph('#3b4f2a').at(0.4) + +new Morph().from('#2a4e5a').to('#3b4f2a').at(0.3) + } }) |