I should really try and document better the stuff I use in my classes…
I throw some snipets at https://github.com/villares/py.processing-play (and on other messy github repos)
Check Shiffman´s Nature of Code porting in progress: https://github.com/nature-of-code/The-Nature-of-Code-Examples-Python