


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An experiment conducted by ganesh kumar, a bca student, to draw a circle using the mid-point algorithm in computer graphics lab (subject code: 20cap-316). The steps of the experiment, the code implementation, and the learning outcomes.
Typology: Assignments
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Student Name: GANESH KUMAR UID:20BCA Branch: UIC-BCA Section/Group: BCA-3-/A Semester: 5th Date of Performance:31--Aug Subject Name: Computer graphics Lab Subject Code: 20CAP- AIM: Draw Circle using Mid Point Algorithm:
Step1. Put x=0 ,y=r in equation 2 Were we have p=1-r Step2.Repeat steps while x ≤ y Plot (x, y) If (p<0) Then set p = p + 2x + 3 Else p = p + 2(x-y)+ y =y - 1 (end if) x =x+1 (end loop) Step3.END.