Skip to content

Instantly share code, notes, and snippets.

@ajitid
Created May 25, 2018 17:58
Show Gist options
  • Save ajitid/c42e78bd607d95ddc19180048da8ced2 to your computer and use it in GitHub Desktop.
Save ajitid/c42e78bd607d95ddc19180048da8ced2 to your computer and use it in GitHub Desktop.
clg
let x=1,up=!1;setInterval(()=>{(75===x||1===x)&&(up=!up),up?x++:x--,console.log(`%c${`■`.repeat(x)}`,`color: hsl(${2*x}, 100%, 50%)`)},10);
@ajitid
Copy link
Author

ajitid commented May 8, 2021

Paste this into Chrome console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment