Created
August 10, 2018 09:42
-
-
Save erkiesken/d86b6f4fccaec7571799525ae1156c2f to your computer and use it in GitHub Desktop.
ascii loader
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
a = ["Ooo","oOo","ooO","oOo"]; // like on the server listing screen of Minecraft | |
i = 0; | |
change = () => { document.querySelector("code").innerText = a[i % a.length]; i++; } | |
v = setInterval(change, 200) | |
// clearInterval(v); | |
// a = ["⦿⨀⨀⨀⨀","⨀⦿⨀⨀⨀","⨀⨀⦿⨀⨀","⨀⨀⨀⦿⨀","⨀⨀⨀⨀⦿","⨀⨀⨀⦿⨀","⨀⨀⦿⨀⨀","⨀⦿⨀⨀⨀"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment