diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-08-04 21:28:56 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-08-04 21:28:56 +0530 |
commit | de479dd42130d67fb15f32beb99bec29b356792a (patch) | |
tree | 743cd2fdb0b1e35619f105ebca7d1c6b52914b0a /app/static/js/chemical.js | |
parent | a309a4607aa2aba63ea15c9aa9d9c7a7f2e99551 (diff) |
added animations
Diffstat (limited to 'app/static/js/chemical.js')
-rw-r--r-- | app/static/js/chemical.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/static/js/chemical.js b/app/static/js/chemical.js new file mode 100644 index 0000000..3e2ce2a --- /dev/null +++ b/app/static/js/chemical.js @@ -0,0 +1,10 @@ +var animation = bodymovin.loadAnimation({ + container: document.getElementById('chemical'), + + renderer: 'svg', + loop: true, + autoplay: true, + path: "static/js/Chemical.json" + + // Make sure your path has the same filename as your animated SVG's JSON file // + })
\ No newline at end of file |