Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//Source http://matthewrayfield.com/articles/animating-urls-with-javascript-and-emojis/#%F0%9F%95%9B
var f = ['๐ŸŒ‘', '๐ŸŒ’', '๐ŸŒ“', '๐ŸŒ”', '๐ŸŒ•', '๐ŸŒ–', '๐ŸŒ—', '๐ŸŒ˜'];
function loop() {
location.hash = f[Math.floor((Date.now()/100)%f.length)];
setTimeout(loop, 50);
}
loop();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You canโ€™t perform that action at this time.