Rasterization
Midpoint Circle
Rasterize a small circle by computing one octant and reflecting each point by symmetry.
midpoint-circle
The midpoint circle method tests which neighboring pixel stays closer to the ideal circle, then uses symmetry to set the matching pixels.