aboutsummaryrefslogtreecommitdiff
path: root/app/static/js/astronaut.js
diff options
context:
space:
mode:
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