Pythagorean based 2D plotter