Curie-Web/app/static/js/astronaut.js

10 lines
302 B
JavaScript

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 //
})