Skip to content

Simple website that calculates next decimal of pi with each new visitor

Notifications You must be signed in to change notification settings

jajajaime/pi-visitor

Repository files navigation

Pi decimals by visitor

Simple website that calculates the next decimal of pi with every new visitor.
Demo page at https://devandlife.com/pi-visitor

## Built with

  • Laravel 5.2.31
  • GeoIP for Laravel 5 for getting the visitor's country by IP.
  • Using an algorithm implementation (don't know which one and the person didn't specify) found on this blog in Dutch. I modified it to calculate the next decimal with every visit by saving the previous calculation to the database, while increasing the precision.

## Using

PHP7 for the added speed over PHP5.6.

## Accuracy

As of 2016-05-01 03:39:00 UTC there have been 2168 visitors and the accuracy has been verified against other sources. It will probably start losing accuracy over 9,000? (haha)

About

Simple website that calculates next decimal of pi with each new visitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages