This is the least efficient π number calculator
Having a wall and two ideal, perfectly elastic objects with a given mass we can get given π number approximation. Explanation link.
The mass of the left block is greater than the right one with a given formula:
mass_right_block = 1
mass_left_block = 100 ^ (k-1)
The result is k-number of π digits approximated.
Try it yourself! You can make many animations at the same time 😉
*works fine on Chrome/Edge/Opera only
Technologies used in the project:
- HTML5
- CSS3
- JavaScript
- Web Workers
- OffscreenCanvas
Browser minimum version required:
- Chrome - version 69
- Edge - version 79
- OperaFull - version 56
