Last active
December 19, 2015 21:39
-
-
Save Cycymomo/6021875 to your computer and use it in GitHub Desktop.
140bytes - drawCircleAsciiArt http://www.developpez.net/forums/d1362763/webmasters-developpement-web/javascript/ludique-defis-code-en-tweet/
This file contains hidden or 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
// 140bytes - http://www.developpez.net/forums/d1362763/webmasters-developpement-web/javascript/ludique-defis-code-en-tweet/ | |
(function cercle(r){ | |
a='';for(i=~r;i++<r;a+='\n')for(j=-r*2;j++<r*2;)a+=j*j/4<r*r-i*i?'#':' ';return a | |
})(20); |
This file contains hidden or 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
/* draw this : */ | |
" | |
######################### | |
################################### | |
########################################### | |
############################################### | |
##################################################### | |
######################################################### | |
############################################################# | |
############################################################### | |
################################################################### | |
##################################################################### | |
####################################################################### | |
######################################################################### | |
########################################################################### | |
############################################################################# | |
############################################################################# | |
############################################################################### | |
############################################################################### | |
############################################################################### | |
############################################################################### | |
############################################################################### | |
############################################################################### | |
############################################################################### | |
############################################################################### | |
############################################################################### | |
############################################################################# | |
############################################################################# | |
########################################################################### | |
######################################################################### | |
####################################################################### | |
##################################################################### | |
################################################################### | |
############################################################### | |
############################################################# | |
######################################################### | |
##################################################### | |
############################################### | |
########################################### | |
################################### | |
######################### | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
11 bytes off yours: