Skip to content

Florke64/pinezka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

πNezka

About

Little project to calculate the Pi number.

Heavly inspired by the video on such topic by Uwaga! Naukowy bełkot

Screenshot

Screenshot

How to use?

You need pygame to run this project.

Start app.py and use Left/Right Mouse Buttons to shot random points to the screen.

See the calculated pi number on the bottom of the screen.

You can edit the app.py and change the variables like the number of shots or window side.

Video by Uwaga! Naukowy bełkot

Video by Uwaga! Naukowy bełkot

More

The Pi number (wikipedia): Link

Monte Carlo Method: Link

License

This project is licensed under the MIT license.