Skip to content

Instantly share code, notes, and snippets.

@deestan
Last active August 29, 2015 14:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deestan/b37cd1a39e247c32b6df to your computer and use it in GitHub Desktop.
Save deestan/b37cd1a39e247c32b6df to your computer and use it in GitHub Desktop.
Befunge-98 program that kinda approximates PI
####v#####
####################
############################
################################
####################################
########################################
############################################
##############################################
##################################################
####################################################
######################################################
########################################################
##########################################################
############################################################
############|__-~*~-__PI_IN_BEFUNGE__-~*~-_|##################
############|vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv|##################
#############|_THE_PROGRAM_APPR0XIMATES_THE_|###################
##############|_VALUE_OF_PI_BY_C0UNTING_ITS__|####################
##############|_OWN_AREA,_THEN_C0UNTING_ITS__|####################
###############|_DIAGONAL,_THEN_D0ING_A_MATHS_|#####################
################|##############################|######################
################|__IDEA_BY_@ARNEMART___________|######################
#################|_CODED_BY_HELGE_H0LM__________|#######################
########################################################################
##########################################################################
##########################################################################
############################################################################
############################################################################
############################################################################
#############################################################################
##############################################################################
##############################################################################
##############################################################################
##############################################################################
##############################################################################
#######################################>"@@"pv<g"@@":<##########################
#############################################g##################################
#############################################4##################################
#############################################8##################################
####################################>######>#*##v###############################
####################v##100**:***55<#####>##>#-v#>####^##<#######################
##############################>\1v2#####^\+1\_>1+488**%:|#######################
####################>>::g48*->|##+2#|p"@@":%**884+1g"@@"<#######################
####################|:%**884+1<<\<^$<??!!!?!?!??!!?!??^,,<######################
####################>$72**>:*25*:*4*//325*:*:**-".3",,.ad^######################
##############################################################################
##############################################################################
##############################################################################
##############################################################################
##############################################################################
##############################################################################
############################################################################
############################################################################
##########################################################################
##########################################################################
##########################################################################
########################################################################
########################################################################
######################################################################
######################################################################
####################################################################
####################################################################
##################################################################
######################################################/-\#######
###############################################RAM-->|@|######
#####################################################\-/######
############################################################
##########################################################
########################################################
######################################################
####################################################
##################################################
##############################################
############################################
########################################
####################################
##############################
############################
####################
##########
@deestan
Copy link
Author

deestan commented Sep 16, 2014

Fun Befunge Fact: Code Golfing and Optimization are the exact same things in Befunge.

@arnemart
Copy link

❤️ ❤️ ❤️

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