Phi
I adapted the snaking Phi from a program by Philip Winston .