Physics simulation for 100 particles interacting each other by gravity attractive force. Crunched with Computer Physics Lab. Rendered in real-time. The simulation starts from a regular and symmetrical pattern made of 10 rows of 10 particles each one. The vertical and horizontal gap between particles is constant.
We may observe that the symmetry is broken about the step 23000. This is due to the unavoidable limited computer math precision. The simulation implements double precision floating point algebra. This means the numbers involved use up to 16 decimals. I would like to obtain more precision but C standard language do not offer "double double" types.
This simulation has been stimulated by watching recently at YouTube a video of a similar kind, that you may find here: http://www.youtube.com/watch?v=pPOpT_s16Mk published by TheReasonWhyGuy.
Thanks for the comments.
I consider this a challenge. :D
Consider it accepted.
TheReasonWhyGuy 3 years ago