Code covered by the BSD License  

Highlights from
Three integer algorithms drawing circles

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 2.83 KB File ID: #40212
image thumbnail

Three integer algorithms drawing circles




Midpoint and two versions of Bresenham algorithm for drawing circle.

| Watch this File

File Information

bresenham_circle => code by CHANDAN KUMAR modified to work as a function, returning X and Y coordinates of circle point with zero origin

bresenham_circle2 => algorithm from Wikipedia (

midpoint_circle => midpoint algorithm from

circle_test => explains why i had to look for the third algorithm, and the first two were not good enough :)

Required Products MATLAB
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us