Skip to content

Instantly share code, notes, and snippets.

@tompng
Created December 10, 2012 15:28
Show Gist options
  • Save tompng/4251254 to your computer and use it in GitHub Desktop.
Save tompng/4251254 to your computer and use it in GitHub Desktop.
for(s='',x=y=n=40;y+n;s+='-*\n'[x+n?x*x--+y*y<900|0:(x=n,y-=2,2)]);return s
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
------------------------------*********************-----------------------------
--------------------------*****************************-------------------------
-----------------------***********************************----------------------
--------------------*****************************************-------------------
------------------*********************************************-----------------
-----------------***********************************************----------------
---------------***************************************************--------------
--------------*****************************************************-------------
-------------*******************************************************------------
------------*********************************************************-----------
------------*********************************************************-----------
-----------***********************************************************----------
-----------***********************************************************----------
-----------***********************************************************----------
-----------***********************************************************----------
-----------***********************************************************----------
-----------***********************************************************----------
-----------***********************************************************----------
------------*********************************************************-----------
------------*********************************************************-----------
-------------*******************************************************------------
--------------*****************************************************-------------
---------------***************************************************--------------
-----------------***********************************************----------------
------------------*********************************************-----------------
--------------------*****************************************-------------------
-----------------------***********************************----------------------
--------------------------*****************************-------------------------
------------------------------*********************-----------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment