Showing posts with label ComputerGraphics. Show all posts
Showing posts with label ComputerGraphics. Show all posts
Sunday, November 5, 2017

Sutherland PolyGon CLipping

thumbnail
Code: #include<iostream.h> #include<conio.h> #include<graphics.h> #define round(a) ((int)(a+0.5)) int k; float xmi...

Mid Point Eclipse Drawing Algoritm

thumbnail
Code: #include<stdio.h> #include<conio.h> #include<graphics.h> #include<math.h> void disp(); float x,y; int xc,yc...
Saturday, November 4, 2017

Transformation Computer Graphics

thumbnail
Question: Write a program to draw any 2-D object and perform the transformations on it according to the input parameters from the user, na...
Tuesday, October 10, 2017

MidPoint Circle Generation Algorithm

thumbnail
Question: Write a program to generate a complete moving wheel using Midpoint circle drawing algorithm and DDA line drawing algorithm. C...
Tuesday, October 3, 2017

Bresenham VS DDA

thumbnail
Write a program to input the line coordinates from the user to generate a line using Bresenham’s method and DDA algorithm. Compare the line...
Sunday, September 24, 2017

DDA(Digital Differential Algorithm)

thumbnail
Code: #include<iostream.h> #include<conio.h> #include<graphics.h> void main(){     int g=DETECT,gmode;     initgr...
Sunday, September 3, 2017

CG3

thumbnail
Code: #include<iostream.h> #include<conio.h> #include<graphics.h> void main(){     int g=DETECT,gmode;     initgr...

CG2

thumbnail
Code: #include<iostream.h> #include<conio.h> #include<graphics.h> void main(){          int g=DETECT,gmode;     i...
Wednesday, August 30, 2017

Computer Graphics (PUT PIXEL)

thumbnail
CODE: #include<iostream.h> #include<conio.h> #include<graphics.h> void main(){ int g=DETECT,gmode; initgraph(...