Drawing if implicit functions via marching squares