This repository contains codes, notes, question papers and question banks for Computer Graphics (CG) which is a subject of second year (SEM-3) SPPU syllabus.

# CG

This repository contains codes, write-ups, lab manuals, lab notes and question papers for **Computer Graphics.**

## Index

### Codes

#### Lab Codes:

- Assignment A-1 (Scan Fill)
- Assignment A-2 (Cohen Sutherland Line Clipping)
- Assignment A-3a (Pattern using DDA Line and Bresenham Circle Algorithm) (Circle inside a triangle which is inside a bigger circle)
- Assignment A-3b (Pattern using DDA Line and Bresenham Circle Algorithm) (Circle inside a rhombus which is inside a rectangle)
- Assignment B-4 (Transformations)
- Assignment B-5a (Snowflake)
- Assignment B-5b (Hilbert Curve)
- Assignment B-5c (Koch Curve)
- Assignment C-6b (3D Cube)
- Assignment C-6c (Sunrise and Sunset)
- Assignment C-7b (Bouncing Ball)
- Assignment C-7c (Man Walking In Rain)

#### Digital Differential Analyzer (DDA):

Digital Differential Analyzer (DDA) is a line-drawing algorithm for digital displays, using incremental calculations to plot points between endpoints.

#### Miscellaneous Codes:

### Lab Manual

#### Printable format:

### Notes

- Endsem Important Notes (Unit 3->6) (handwritten by shh_itsourlittlesecret (Afan))

- Unit 1 - Graphics Primitives and Scan Conversion Algorithms
- Unit 2 - Polygon, Windowing and Clipping
- Unit 3 - 2D, 3D Transformations and Projections
- Unit 4 - Light, Colour, Shading and Hidden Surfaces
- Unit 5 - Curves and Fractals
- Unit 6 - Segment and Animation

#### Lab Notes (Computer Graphics **Lab**)

### Question Papers

Maintained by: