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

10 lines
300 B
JavaScript

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