C++ – Bresenham Vs Midpoint Circle drawing algorithm

algorithmscgraphics

Can somebody explain the difference between Bresenham and Midpoint Circle drawing algorithms? All I am able to understand is that in both algorithms we compute coordinates of an octant instead of whole Circle and in Midpoint algo we compute those coordinates by putting middle point of the 2 possible next coordinates in Circle equation.

Best Answer

Bresenham's circle algorithm is simply an optimized version of the Midpoint circle algorithm. The difference is Bresenham's algorithm uses just integer arithmetics, whilst Midpoint still needs floating point. Wikipedia is (at least today) not very clear about that, but if you read that article two or three times, you might understand what the authors meant.