jajajaime / pi-visitor

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:PHP 98.6%Language:ApacheConf 0.7%Language:JavaScript 0.7%