This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const intro = document.querySelector(".intro"); | |
const controller = new ScrollMagic.Controller(); | |
// set desired animation time long enough so that it doesn't skip frames when scrolling fast. | |
const animationTime = 2427; | |
// initialise scrollmagic scene | |
let scene = new ScrollMagic.Scene({ | |
duration: animationTime, |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder