An open API service indexing awesome lists of open source software.

https://github.com/arrmansa/calculating-pi-by-counting-collisions-with-numba

Based on a 3Blue1Brown video and G Galperin's work. 150x speedup with numba.
https://github.com/arrmansa/calculating-pi-by-counting-collisions-with-numba

Last synced: 2 months ago
JSON representation

Based on a 3Blue1Brown video and G Galperin's work. 150x speedup with numba.

Awesome Lists containing this project

README

        

# Calculating pi by counting collisions with numba
Based on a 3Blue1Brown video and G Galperin's work. 150x speedup with numba.

Original paper https://www.maths.tcd.ie/~lebed/Galperin.%20Playing%20pool%20with%20pi.pdf

Collision formula from https://en.wikipedia.org/wiki/Elastic_collision#One-dimensional_Newtonian
## Original Video
https://www.youtube.com/watch?v=HEfHFsfGXjs

https://www.youtube.com/watch?v=jsYwFizhncE
## Awesome demo
https://prajwalsouza.github.io/Experiments/Colliding-Blocks.html