Skip to content

simple visualization of monte carlo pi approximation in javascript with canvas

Notifications You must be signed in to change notification settings

digitocero/montecarlo_pi_canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

#Description This is a simple implementation of the monte carlo method of calculating an approximation of pi. It prints the process using canvas. #Use This should work in any browser supporting the canvas element. the onload call to draw accepts a size and number of iterations. Many iterations could hang the browser, beware!

About

simple visualization of monte carlo pi approximation in javascript with canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages