Code covered by the BSD License  

Highlights from
Three integer algorithms drawing circles

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

Three integer algorithms drawing circles

by

 

Midpoint and two versions of Bresenham algorithm for drawing circle.

| Watch this File

File Information
Description

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 (http://en.wikipedia.org/wiki/Midpoint_circle_algorithm)

midpoint_circle => midpoint algorithm from http://groups.csail.mit.edu/graphics/classes/6.837/F98/Lecture6/circle.html

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