A demo program modelling gravitational forces between a large number of objects. Largely made as an example of multithreaded calculations.
Includes configurable sliders for setting the number of objects, mass, size variation, speed, etc.
Programmed in C++ with OpenGL. Makes efficient use of multithreading capabilities to parallelize computations for the large number of objects.
Compiled for Windows and Linux (64 bit).
If launching on Linux, make sure the file is marked as executable.
© Roman Sychev, 2013-2022