Docsity

Practical Guide to 2D Graphics: Transformations, Line & Circle Drawing, Polygon Filling - , Thesis of Computer Graphics

Partial preview of the text

Download Practical Guide to 2D Graphics: Transformations, Line & Circle Drawing, Polygon Filling - and more Thesis Computer Graphics in PDF only on Docsity!

SubmiƩed to: SubmiƩed by:

Dr. Anupma Sangwan Pankaj

Dept. of CSE 220010130068

B.tech CSE (Batch-1)

INDEX

Sr No. Name of the experiment Page No. Remarks 1 WAP that shows a scene of moving Car. 1- 2 WAP that shows a scene of Rainbow. 5- 3 WAP to demonstrate types of 2D transformation a) Translation b) Rotation c) Scaling

4 WAP to draw an Ellipse. 14- 5 WAP to draw a line using Digital Differential Analyzer (DDA) Algorithm.

6 WAP to draw a line using Bresenham’s Line Algorithm(BLA) for lines with slopes

7 WAP to draw a circle using Bresenham’s Circle Algorithm. 22- 8 WAP to draw a circle using MidPoint Circle Algorithm 25- 9 WAP to fill a polygon using Flood Fill Algorithm. 28 - 29 10 WAP to fill a polygon using using Boundary Fill Algorithm. 30- 11 WAP to shows a scene of flying kite 32- 12 WAP to rotate an Ellipse about its major axis and minor axis alternatively

13 WAP to rotate a line about its mid-point. 42 - 44 14 WAP that shows a scene of eclipse. 45- 15 WAP that translate and rotate a circle along a horizontal line. 48- 16 :WAP to show animation of a flag 51-