A particle system in OpenGL