This is a project about pi. Change the number of triangles with the up and down arrows and see what happens. Click space and an arrow to change the number of triangles faster. Click space again to change the number normal. ------------------------------------------------------------------------------- It calculates the area of the smaller polygon and the area of the bigger one. Then it calculates the average of both areas. Finally pi is calculated based on the formula of the area of the circle. area/(radius*radius)
This project was developed because I often was talking about pi with a friend of mine.