A 2D mathematical function tracer