Created
April 17, 2019 20:19
-
-
Save voronoipotato/67553002e4cbe163d8597c9a0a581795 to your computer and use it in GitHub Desktop.
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
//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