Uploaded January 2017 | Updated November 2026, 17 hours ago
The collisions in KineticGas are now being calculated continuous, meaning if a collision is detected as two spherical particles overlapping in a discrete time step, the exact time of collision is being calculated, so the elastic collision is performed with no error (except for round-off error).
The same algorithm is being used for detecting collisions between particles and the walls of the cube.
In this demo I show the algorithm on a 2D plane. Of course it also works in 3D, but that looks pretty confusing in a video, especially with limited bitrate. (In 2D you can immediately determine if the collisions are preformed correctly).
By the way, this is 12000 particles in real time.
More information at: projectphysx.de
The collisions in KineticGas are now being calculated continuous, meaning if a collision is detected as two spherical particles overlapping in a discrete time step, the exact time of collision is being calculated, so the elastic collision is performed with no error (except for round-off error).
The same algorithm is being used for detecting collisions between particles and the walls of the cube.
In this demo I show the algorithm on a 2D plane. Of course it also works in 3D, but that looks pretty confusing in a video, especially with limited bitrate. (In 2D you can immediately determine if the collisions are preformed correctly).
By the way, this is 12000 particles in real time.
More information at: projectphysx.de
![PhysX3D [GRAVITY SIMULATION] Public Release Trailer
PhysX3D is a real time gravitational n-body simulation featuring the symplectic Velocity Verlet integrator, CPU multithreading, GPU acceleration for harnesting multi-teraflops graphics cards, and finally the most efficient 3D graphics engine ever written in Java, including full VR support.
Everything you see in the video (except for the reverse scene at 2:22) has been calculated and rendered in real time on a laptop.
Ive been working on PhysX3D for three years now, writing thousands of lines of source code in order to create the most efficient gravitational n-body simulation possible.
By the way, I am 19 years old.
Free download at http://www.projectphysx.de
Music: Thomas Bergersen - Final Frontier PhysX3D [GRAVITY SIMULATION] Public Release Trailer](https://i.ytimg.com/vi/GFzisvhtRS4/mqdefault.jpg)









