This time we’ll be faking gravity on our particles. Each time we redraw, we’ll add a velocity vector of (0,1,0), pushing the particles down the screen. I’ve drawn the force vectors for both particle and boundary interactions, as well as the boundary objects themselves, to (hopefully) make things a little bit clearer.Source Code