Skip to content

Instantly share code, notes, and snippets.

@worldoptimizer
Last active September 19, 2020 14:36
Show Gist options
  • Save worldoptimizer/9a49e7a40e9bd88788be953c86e235ae to your computer and use it in GitHub Desktop.
Save worldoptimizer/9a49e7a40e9bd88788be953c86e235ae to your computer and use it in GitHub Desktop.
anime({
targets: '.circle',
translateX: '250px',
translateY: '150px',
backgroundColor: '#FFF',
rotateY: '360deg',
rotateX: '360deg',
easing: 'easeInOutQuad',
changeComplete: function(anim){
// sync Hype to our new values
hypeDocument.syncHypeToAnime(anim);
},
delay: anime.stagger(50)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment