Bresenham’s Circle Drawing Algorithm A circle is made up of 8 Equal Octets so we need to find only coordinates of any one octet rest we can conclude using that coordinates. We took octet-2. Where X and Y will represent the pixel Let us make a function Circle() with parameters coordinates of Centre (Xc,Yc) and pixel point (X,Y) that will plot the pixel on screen. We will find pixels assuming that Centre is at Origin (0,0) then we will add the coordinates of centre to corresponding X and Y while drawing circle on screen. Circle ( Xc,Yc,X,Y ) { Plot ( Y+Xc , X+Yc ) ……Octet-1 Plot ( X+Xc , Y+Yc ) ……Octet-2 Plot ( -X+Xc , Y+Yc ) ……Octet-3 Plot ( -Y+Xc , X+Yc ) …..Octet-4 Plot ( -Y+Xc , -X+Yc ) ……Octet-5 Plot ( -X+Xc , -Y+Y...
Learn Computer Graphics. This is for all those people who want to learn about computer graphics and its applications. By following these tutorials you can easily learn computer graphics.