Skip to content

Abhi9shinde/Computer_Graphics_SPPU_Assignments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 1: Line Drawing Algorithms

Implement DDA and Bresenham line drawing algorithms to draw:

  1. Simple line
  2. Dotted line
  3. Dashed line
  4. Solid line using mouse interface.

Requirements:

  • Divide the screen into four quadrants with the center at (0, 0).
  • The line should work for all slopes: +ve, -ve, >1, <1.

Assignment 2: Circle Drawing Algorithm

Implement Bresenham's circle drawing algorithm to draw any object. The object should be displayed in all quadrants with respect to the center and radius.


Assignment 3: Polygon Filling Methods

Implement the following polygon filling methods:

  1. Flood fill / Seed fill
  2. Boundary fill

Requirements:

  • Use mouse click, keyboard interface, and menu-driven programming.

Assignment 5: Polygon Clipping

Implement Cohen-Sutherland polygon clipping method to clip the polygon with respect to the viewport and window.

Requirements:

  • Use mouse click and keyboard interface.

Assignment 6: 2D Transformations

Implement the following 2D transformations on the object with respect to the axis:

  1. Scaling
  2. Rotation about an arbitrary point
  3. Reflection

Assignment 7: Fractal Patterns

Generate fractal patterns using:

  1. Bezier curves
  2. Koch curve

Assignment 8: Animation Principles

Implement animation principles for any object.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages