Skip to content

gre-v-el/eye-of-the-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi approximation toy

The software allows for approximating pi in three ways

menu

1. Darts - Monte Carlo method

The program throws "darts" at a wall and calculates the ratio between hits and all throws. darts

2. Toothpicks

The program scatters "toothpicks" on the ground and calculates the ratio between those intersecting panel borders and all throws. darts

3. Collisions

The program throws a block at another and counts the collisions. darts darts darts




All those simulations allow for some control.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages