Skip to content

Computer Graphics algorithms for line drawing, shape filling, circle drawing, ellipse drawing, polygon clipping, shear, transformation, and reflection

Notifications You must be signed in to change notification settings

SamDaQueen/Computer-Graphics

Repository files navigation

Computer Graphics Algorithms

Algorithms in C++ written during a course of Computer Graphics for B. Tech in Computer Engineering

Files included

  1. bresenham-line-drawing.cpp - Bresenham line drawing algorithm
  2. dda-line-drawing.cpp - Digital Differential Analyzer line drawing algorithm
  3. cohen-sutherland-line-clipping.cpp - Cohen-Sutherland line clipping algorithm
  4. floodFill.cpp - Flood fill/ seed fill coloring algorithm
  5. midpoint-circle-drawing.cpp - Circle drawing algorithm
  6. midpoint-ellipse-drawing.cpp - Ellipse drawing algorithm
  7. shear_reflection.cpp - Shearing and Reflection algorithms
  8. transformation.cpp - Transformation algorithm
  9. sutherland-hodgman-polygon-clipping.cpp - Sutherland-Hodgman polygon clipping algorithm