Skip to content

Latest commit

 

History

History
34 lines (34 loc) · 1.12 KB

README.md

File metadata and controls

34 lines (34 loc) · 1.12 KB

Computer-Graphics

EXP 1

1: To initialize a window of green colour.

EXP 2

1: Drawing a line using Eqn of Line.
2: Drawing a line using DDA.
3: Drawing a line using Bresenham’s algorithm for m>1 and m<1.

EXP 3

1: Draw the circle with the help of polar equations.
2: Draw the circle with the help of mid-point method.
3: Draw the Ellipse with the mid-point method.

EXP 4

1: Boundary Fill - 4 connected approach.
2: Boundary Fill - 8 connected approach.
3: Flood Fill - 4 connected approach.
4: Flood Fill - 8 connected approach.

EXP 5

1: Line clipping using Cohen Sutherland line clipping algorithm.
2: Line clipping using Liang-Barsky line clipping algorithm.
3: Polygon clipping using Sutherland – Hodgeman polygon clipping algorithm.

EXP 6

1: Drawing a bezier curve.

EXP 7

1: 2D Rotation.
2: 2D Scaling.
3: 2D Shearing.
4: 2D Reflection.
5: 2D Translation.

EXP 8

1: 3D Rotation.
2: 3D Scaling.
3: 3D Shearing.
4: 3D Reflection.
5: 3D Translation.