Home
Posts filed under ComputerGraphics
Showing posts with label ComputerGraphics. Show all posts
Showing posts with label ComputerGraphics. Show all posts
Sunday, November 5, 2017
Sutherland PolyGon CLipping
Code: #include<iostream.h> #include<conio.h> #include<graphics.h> #define round(a) ((int)(a+0.5)) int k; float xmi...
Read more
Mid Point Eclipse Drawing Algoritm
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
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
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
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)
Code: #include<iostream.h> #include<conio.h> #include<graphics.h> void main(){ int g=DETECT,gmode; initgr...
Sunday, September 3, 2017
Wednesday, August 30, 2017
Computer Graphics (PUT PIXEL)
CODE: #include<iostream.h> #include<conio.h> #include<graphics.h> void main(){ int g=DETECT,gmode; initgraph(...