Skip to content

Instantly share code, notes, and snippets.

@matiasmicheletto
Created March 31, 2022 20:44
Show Gist options
  • Save matiasmicheletto/9e3ab2cb6521deee47120701509d5442 to your computer and use it in GitHub Desktop.
Save matiasmicheletto/9e3ab2cb6521deee47120701509d5442 to your computer and use it in GitHub Desktop.
Roflcopter for NodeJS!
const frame = [
["\n\n\n\n","ROFL:ROFL:LOL\n"," ___^_____\n"," L __/ [] \\\n"," O === \\\n"," L \\____________]\n"," I I\n"," ------------/\n"],
["\n\n\n\n"," :LOL:ROFL:ROFL\n"," ___^_____\n"," __/ [] \\\n","LOL=== \\\n"," \\____________]\n"," I I\n"," ------------/\n"]
];
let index=0;
setInterval(()=>{
console.clear();
console.log(frame[(index++)%2].join(' '.repeat(index)));
}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment