# Which algorithm does Marlin use to create arcs?

I'm writing a paper about a plotter (I use a Prusa i3 with a custom "extruder" aka pen). And I'm supposed to write about the algorithms I/the plotter use(s). I tried reverse engineering, but since I'm not very experienced with this technique I wasn't successful. So I'm looking for the algorithm that Marlin uses for its G2/G3 commands.

• Have you looked at Marlin_main.cpp, specifically t,e plan_arc function? Apr 2, 2016 at 9:21