zsmb's prog site

Pi Approximator

  2015.01.26.

Introduction

This project was inspired by  this page, which I came across on  /r/InternetIsBeautiful.

Description

The idea is very simple, the program calculates the value of pi using the  Monte Carlo method. I found it interesting though, so this is my version, coded in C, powered by SDL. You can find the explanation of the method, other versions of the same program, and more discussion in the original  reddit thread.

Downloads

Downloading the zip file that contains the executable results in a warning (at least in Chrome) as a security measure, but you can choose to "Keep" it.

Name Description Size Date
piapprox.c Source code 2.60 KB 2015.01.26.
piapprox.zip Executable with dll's 276 KB 2015.01.26.