As far as I can see it is: https://github.com/lordmauve/pgzero/blob/master/examples/basic/particles.py Not sure about how to integrate this into the readme as you seem to have commented an old version of the file.