Skip to content

Instantly share code, notes, and snippets.

View AndrewRMillar's full-sized avatar

Andrew Millar AndrewRMillar

View GitHub Profile
@AndrewRMillar
AndrewRMillar / anime.js
Last active September 19, 2019 06:27 — forked from Kvaibhav01/anime.js
JS code for AnimeJS demo
var btn = document.getElementById('cta');
var btn2 = document.getElementById('cta2');
btn.onclick = function () {
var morphing = anime({
targets: '.polymorph',
points: [
{ value: '215, 110 0, 110 0, 0 47.7, 0 67, 76' },
{ value: '215, 110 0, 110 0, 0 0, 0 67, 76' }
],