Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 493 Bytes

File metadata and controls

24 lines (21 loc) · 493 Bytes

Computer-Graphics Python Codes

Contents:

Points are calculated at first. Then they are stored in the list. Finally they are drawn using matplotlib.pyplot Python library.

  • Line Drawing

    • DDA
    • Bresenham
    • Bresenham Midpoint Line
  • Line Clipping

    • Cohen Sutherland
    • Liang Bersky
    • Window to viewport mapping
  • Circle Drawing

    • Bresenham Circle
    • Midpoint Circle
    • Midpoint Ellipse
  • Transformation

    • Translation
    • Reflection
    • Rotation
    • Scaling
    • Shearing