Skip to content

Instantly share code, notes, and snippets.

@marshallmurphy
Created July 5, 2021 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marshallmurphy/0ffe435eea4e9c19b44bd8aa10e73b1e to your computer and use it in GitHub Desktop.
Save marshallmurphy/0ffe435eea4e9c19b44bd8aa10e73b1e to your computer and use it in GitHub Desktop.
//...
const options = {
loop: false,
autoplay: false,
animationData: animationData,
rendererSettings: {
preserveAspectRatio: "xMidYMid slice"
}
};
const animate = () => {
let start = sequence.segments[0];
let stop = sequence.segments[1];
}
//...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment