Various Computer Graphics Assignment (Using Python Graphics Library)
Main File :
drawLine.py
Containing ViewPort Class
Other:
File | Functions |
---|---|
8-floodfill.py | 8 way Flood filling a polygon |
drawCircle.py | Draw a circle |
drawEllipse.py | Draw an Ellipse |
floodfill.py | 4-way Flood filling a polygon |
LiangBarsky.py | Liang Barsky's algorithm for Line Clipping |
LineClip.py | Cohen Sutherland's algorithm for Line Clipping |
PolygonClip.py | Sutherland–Hodgman Algorithm for Polygon-polygon Clipping |
scanLine.py | Polygon filling using scanline algorithm |
transformations.py | translate, rotate, sheer, scale any 2-d polygon |
3dprojections.py | Orthographic,isometric, diametric, trimetric, Cavalier, Cabinet, 1-point, 2-point, 3-point projections |