onurarakas / particles-in-a-box-which-makes-elastic-collisions Goto Github PK
View Code? Open in Web Editor NEWIn this code purpose is to creates particles in a box which makes elastic collisions with both each other and the walls of the box. There are small problems in the code when two particles spawn on each other, I will hopefully solve it in the future, but for now I had fucking enough.