Skip to content

Majkey25/buffoncalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Last Commit Forks Issues

BuffonCalc

Interactive Buffon's Needle calculator and Monte Carlo simulator built with plain HTML, CSS, and JavaScript.
Runs as a fully static site on GitHub Pages (no backend, no build tools).

Features

  • Theoretical intersection probability for Buffon's Needle
  • Monte Carlo simulation (animated)
  • Seeded RNG for deterministic runs
  • Live charts (Chart.js)
  • Canvas visualization of throws
  • Keep-all-needles mode
  • CS/EN language switch
  • Light theme UI
  • Works on desktop and mobile

Tech Stack

  • index.html
  • styles.css
  • app.js
  • Chart.js via CDN

Run locally

Open index.html in a browser.

View on GitHub Pages

https://majkey25.github.io/buffoncalc/

Project structure

.
|-- index.html
|-- styles.css
|-- app.js
|-- LICENSE
|-- README.md

License

MIT - see LICENSE.

About

Interactive Calculator and Monte Carlo Simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors