Saturday, 26th November 2011
Pygame particle simulation in 3D
Below is a video of my first attempt to move my Pygame particle simulation into the third dimension (thus combining it with my Pygame 3D tutorial). I meant to write about it a while ago, but got distracted trying to work out how to display an image rotated in three dimension (for the walls). I still haven't worked it out.
I hope, once I have completed the program, I can use it for all sorts of simulations. So far the particles bounce off the walls, but not off each other. It's not quite as simple as converting my code from the 2D particle simulation as I want to switch to using numpy arrays for everything to improve efficiency.