Skip to content

Instantly share code, notes, and snippets.

@ansuz
Created October 31, 2014 06:18
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ansuz/f953a9aa20e414c4c2f8 to your computer and use it in GitHub Desktop.
Save ansuz/f953a9aa20e414c4c2f8 to your computer and use it in GitHub Desktop.
a dinosaur
var dino=function(){
return function(){/*
_
/ _)
.-^^^-/ /
__/ /
/__.|_|-|_|*/}.toString().split(14,-3);
};
@ansuz
Copy link
Author

ansuz commented Oct 31, 2014

hilarious string hacks for multiline drawing...

@chpio
Copy link

chpio commented Jan 12, 2016

lul 👍

these days:

function dino() {
  return `
                _
              / _)
       .-^^^-/ /
    __/       /
   /__.|_|-|_|`;
}

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