Computer Graphics Laboratory
Subject Overview
The practical companion to Computer Graphics, implementing pixel plotting, 2D shape drawing, text formatting, line-drawing algorithms (DDA, Bresenham's), circle and ellipse generation, 2D transformations, and polygon filling and clipping algorithms. A 2-credit core lab paper.
Unit-wise Syllabus
1 units — click WhatsApp below to get the full notes for each
Unit 1: 2D graphics algorithm implementation
Pixel plotting, simple 2D shape drawing (lines, circles), text formatting with graphics functions, DDA line-drawing algorithm, Bresenham's line algorithm comparison, moving wheel via midpoint circle and DDA algorithms, ellipse generation via midpoint algorithm, 2D transformations (translation, rotation, scaling) on user input, triangle rotation, combined scaling and translation operations, boundary fill algorithm, scan-line polygon fill algorithm, line clipping algorithms, Sutherland-Hodgeman polygon clipping
