Skip to content

Language C++ Computer Graphics - (SEM-4) - Line Drawing Algorithm (DDA and Bresenham), Bresenham circle drawing, Polygon filling, 2D transformation, Cohen Sutherland polygon clipping and Bezier curve.

Notifications You must be signed in to change notification settings

shinchancode/Computer-Graphics

Repository files navigation

❕ Computer-Graphics Lab ❕

This is a repository for Computer-Graphics Lab assignments in Second year Information Technology of SPPU!
Do star ⭐ this Repository if you feel it helped & drop a follow!

💙 Happy Learning 💙

Computer Graphics - (SEM-4)

Language : C++

Output images are provided in particular assignment's directory

[1] Implement DDA and Bresenham line drawing algorithm to draw: i) Simple Line ii) Dotted Line iii) Dashed Line iv) Solid line ; using mouse interface Divide the screen in four quadrants with center as (0, 0). The line should work for all the slopes positive as well as negative

[2] Implement Bresenham circle drawing algorithm to draw any object. The object should be displayed in all the quadrants with respect to center and radius-

[3] Implement the following polygon filling methods :

i) Flood fill / Seed fill

ii) Boundary fill ;

using mouse click, keyboard interface and menu driven programming

[4] Implement following 2D transformations on the object with respect to axis :

i) Scaling

ii) Rotation about arbitrary point

iii) Reflection

iv) Translation

[5] Implement Cohen Sutherland polygon clipping method to clip the polygon with respect the viewport and window. Use mouse click, keyboard interface.

[6] Generate fractal patterns using Bezier curve.

Connect with me:

codeSTACKr.com codeSTACKr | Twitter codeSTACKr | LinkedIn codeSTACKr | Instagram


About

Language C++ Computer Graphics - (SEM-4) - Line Drawing Algorithm (DDA and Bresenham), Bresenham circle drawing, Polygon filling, 2D transformation, Cohen Sutherland polygon clipping and Bezier curve.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages