manoloesparta / pi

Licence: MIT License
A little project for celebrating PI day

Programming Languages

go
31211 projects - #10 most used programming language
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to pi

expression-evaluator
A math expression evaluator built with JavaScript
Stars: ✭ 25 (+56.25%)
Mutual labels:  math
minisketch-rs
Rust bindings to @sipa's minisketch library
Stars: ✭ 16 (+0%)
Mutual labels:  math
DoubleFloats.jl
math with more good bits
Stars: ✭ 102 (+537.5%)
Mutual labels:  math
CFD-Julia-12-steps--o-Navier-Stokes-Equations
This is a replication of "CFD Python: 12 steps to Navier-Stokes" in Julia
Stars: ✭ 33 (+106.25%)
Mutual labels:  math
Algorithm-Math
算法 & 数学知识 & 重拾基础知识系列文章编写和收集
Stars: ✭ 19 (+18.75%)
Mutual labels:  math
launchpad
Resources to get started in Quantum Computing!
Stars: ✭ 21 (+31.25%)
Mutual labels:  math
mafs
React components for math visualization
Stars: ✭ 315 (+1868.75%)
Mutual labels:  math
math
Useful m-scripts for DSP (CIC, FIR, FFT, Fast convolution, Partial Filters etc.)
Stars: ✭ 15 (-6.25%)
Mutual labels:  math
H7PI
No description or website provided.
Stars: ✭ 19 (+18.75%)
Mutual labels:  pi
stenogotchi
Portable stenography using Plover and bluetooth keyboard emulation on a Raspberry Pi Zero W
Stars: ✭ 71 (+343.75%)
Mutual labels:  pi
utils.js
👷 🔧 zero dependencies vanilla JavaScript utils.
Stars: ✭ 14 (-12.5%)
Mutual labels:  math
quich
Just an advanced terminal calculator.
Stars: ✭ 59 (+268.75%)
Mutual labels:  math
MROGeometry
♊️ Mirror of http://purl.mro.name/ios/MROGeometry | √ C and Objective C math and geometry helpers
Stars: ✭ 58 (+262.5%)
Mutual labels:  math
biginteger
A PHP library to work with big integers.
Stars: ✭ 19 (+18.75%)
Mutual labels:  math
cray
A real-time interactive progressive path tracer on the GPU.
Stars: ✭ 35 (+118.75%)
Mutual labels:  math
hlml
vectorized high-level math library
Stars: ✭ 42 (+162.5%)
Mutual labels:  math
card-shuffling
The Math of Card Shufflig
Stars: ✭ 33 (+106.25%)
Mutual labels:  math
dogma
Things and stuffs.
Stars: ✭ 22 (+37.5%)
Mutual labels:  math
purescript-quantities
Physical quantities and units
Stars: ✭ 44 (+175%)
Mutual labels:  math
Computer-Vision
implemented some computer vision problems
Stars: ✭ 25 (+56.25%)
Mutual labels:  math

PI and me

PI and me

Version License Go

How much PI knows about you

A popular phrase said that inside of PI is everything that has happened, is happening and will happen. For example where you were born and when you are going to die. But if you know a little about the properties of PI you can come to the conclusion that there is no pattern in the way of new decimals arrive, in a sort of way those digits are random.

What does this mean? First of all PI is irational meaning that there are infinite decimals, so if you have infinite numbers at a random order, chances are that everything real-world related is going to appear in PI. From there comes the inspiration for this little project.

This was created to celebrate the PI day, March 14.

What this does?

You give it some input (a numerical input), for example your phone number, and searches it in the first billion digits of PI. If it doesn't find it complete, it will pop the last digit until it found one coincidence.

Where did you get the digits?

Believe or not, it is hard to download more than 1 million digits of PI, so you can see in the root directory a file named collect.py that connects to an API so it can download the first billion digits.

Requirements to Run Locally

Go 1.13
Python 3.7
or
Docker 19.03
Docker Compose 1.25

Local Build

Note that the download will take way longer than usual because the size of the billion digits is around 1GB

git clone https://github.com/maybemanolo/pi && cd pi
docker-compose up
open client/index.html

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].