Professional Documents
Culture Documents
Computer Graphics Lab Manual: Sachdeva Institute of Technology
Computer Graphics Lab Manual: Sachdeva Institute of Technology
CS and IT Department
SACHDEVA INSTITUTE OF
TECHNOLOGY
FARAH, MATHURA.
[Lab NCS-453]
List of Experiments
Q.1 W A P To implement DDA( digital
circle.
differential analyzer)
else
{
step=dy;
}
xi=dx/step;
yi=dy/step;
while((x1<=x2)&&(y1<=y2))
{
x1=x1+xi;
y1=yi+yi;
putpixel(x1,y1,9);
}
getch();
}
OUTPUT