ASCII-симуляция столкновения галактик на C++
В ролике показывается столкновение двух видов галактик: вращающихся в одном и в разных направлениях.
https://www.youtube.com/channel/UCrihNVe3bbMBM-0sWAlAHLw
ASCII simulation of two colliding galaxies using Newton's law of universal gravitation. In the simulation G=1 to make calculations easier. The forces between the bodies in the galaxy are neglectable because of their small mass.
Code: github.com/DinoZ1729/Galaxy
10 комментариев