Bezier approximation of a circular arc, in Processing
/* Processing (http://www.processing.org, v.1.0.1) Java program for Approximating a circular arc with a cubic Bezier curve. Reasonably accurate for angles up to a quarter-circle or so. The solution is taken from this PDF by Richard DeVeneza: http://www.tinaja.com/glib/bezcirc2.pdf linked from this excellent site by Don Lancaster: http://www.tinaja.com/cubic01.asp Note: written for clarity; not optimized! */ void setup(){ […]