Created
January 18, 2023 03:43
-
-
Save DaCuteRaccoon/24e3eedb6b3bda9322d8275d96c8f1bf to your computer and use it in GitHub Desktop.
A fire in JS
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
setInterval(function p(h) { | |
for(p[I++*I%17+578]=i=89;i++<630;h+=i%30?"`*"[p[i]=p[i]+p[i+1]+p[i+29]+p[i+30]>>2]||8:"\n"); | |
console.clear(); | |
console.log(h) | |
}, I=30); | |
// Adapted from https://aem1k.com/fire/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment