jpendry·il y a 2 ans·discussFrom his reply tweet:N-body simulation made with Python, parallelized with numba, and animated with matplotlib.N=100.000. Computation time around 5h for 2.000 steps. Around 1s of compute time per step. Collisions are handled with a softening length.
jpendry·il y a 3 ans·discussA truly great HN comment. An example of why it’s still worthwhile to be here.
N-body simulation made with Python, parallelized with numba, and animated with matplotlib.
N=100.000. Computation time around 5h for 2.000 steps. Around 1s of compute time per step. Collisions are handled with a softening length.