Check out more of Peter's Apps.

## Pi Calculator
## Formula$\pi =\frac{4{d}_{r}}{{d}_{t}}$ |

This program approximates the value of π by generating random points in a graph that spans from -1 to 1. If the distance from the point to the center of the graph is less than 1, it is considered inside the circle and is drawn in red. All other dots are drawn as blue.