python script for experimenting with level surfaces