I already happened to make an tutorial.
Run this with Python.
A lot inside!!!