aboutsummaryrefslogtreecommitdiff
path: root/app/static/js/astronaut.js
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-08-04 21:28:56 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-08-04 21:28:56 +0530
commitde479dd42130d67fb15f32beb99bec29b356792a (patch)
tree743cd2fdb0b1e35619f105ebca7d1c6b52914b0a /app/static/js/astronaut.js
parenta309a4607aa2aba63ea15c9aa9d9c7a7f2e99551 (diff)
added animations
Diffstat (limited to 'app/static/js/astronaut.js')
-rw-r--r--app/static/js/astronaut.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/static/js/astronaut.js b/app/static/js/astronaut.js
new file mode 100644
index 0000000..808f664
--- /dev/null
+++ b/app/static/js/astronaut.js
@@ -0,0 +1,10 @@
+var animation = bodymovin.loadAnimation({
+ container: document.getElementById('astronaut'),
+
+ renderer: 'svg',
+ loop: true,
+ autoplay: true,
+ path: "static/js/Astronaut.json"
+
+ // Make sure your path has the same filename as your animated SVG's JSON file //
+ }) \ No newline at end of file