Marching Squares Algorithm in golang