1
Computing Pi via perfectly elastic collisions.
Heavily inspired by a video from 3Blue1Brown: https://www.youtube.com/watch?v=HEfHFsfGXjs
Compute time (browser):
- 3.14: 00:05:18
- 3.141: 02:44:56
- 3.1415: 173:33:30
Compute time (standalone, speedup*):
- 3.14: 00:05:16
- 3.141: 02:29:18
- 3.1415: 159:35:16
* 1000 simulation steps per frame with time tracking