I would do this with the "draw_line" (http://www.conitec.net/beta/draw_line.htm) instructions in combination with some simple math function to create the coordinates.