munotes®

Computer Graphics Notes | B.Sc. (Information Technology) Semester 4 | Mumbai University | munotes

MU B.Sc. (Information Technology) student group Free to join

A munotes Edition munotes.in

Computer Graphics

B.SC. (INFORMATION TECHNOLOGY) · SEMESTER 4

Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Information Technology)

For B.Sc. (Information Technology) students of the University of Mumbai and all its affiliated colleges

Open the book ↓

munotes.in Second Year

Contents

Module I Basic Setup and 2D Graphics Fundamentals

  1. How This Practical Is Examined: the Slip, the Journal and the Viva 1
  2. Pixels, the Frame and How a Picture Reaches the Screen 7
  3. Practical 1: Installing Python, Matplotlib, OpenCV and Pygame, and a 'Hello, Graphics!' Window 16
  4. Coordinates: the Screen's Pixels and a Graph's Axes 24
  5. Practical 2: Drawing Lines, Circles, Rectangles and Polygons 32
  6. Practical 3: The DDA Line Drawing Algorithm 41
  7. Practical 4: Bresenham's Line Drawing Algorithm 51
  8. Practical 5: The Midpoint Circle Algorithm 63
  9. Practical 6: Polygon Filling: Boundary Fill and Flood Fill 73
  10. An Object as a Matrix of Points: Homogeneous Coordinates 85
  11. Practical 7: Translation 94
  12. Practical 8: Rotation about the Origin and about a Fixed Point 102
  13. Practical 9: Scaling Up and Down 113
  14. Practical 10: Reflection across the x-Axis, the y-Axis and the Diagonal 123
  15. Practical 11: Shearing along the x-Axis and the y-Axis 132
  16. Practical 12: Composite Transformations 140
  17. Practical 13: The Cohen-Sutherland Line Clipping Algorithm 149
  18. Practical 14: The Window-to-Viewport Transformation 160
  19. Practical 15: Moving a Rectangle with the Arrow Keys 170

Module II Animation, Colour, Curves and Interaction

  1. How an Animation Works: Frames, the Loop and the Clock 179
  2. Practical 1: A Ball Moving across the Screen 187
  3. Practical 2: A Bouncing Ball with Collision Detection 196
  4. Practical 3: A Rotating Triangle or Square 205
  5. Practical 4: A Pulsating Object, Scaling in a Loop 215
  6. Practical 5: Several Objects Moving Independently 224
  7. Practical 6: The RGB and HSI Colour Models 233
  8. Practical 7: Drawing and Animating a Bezier Curve 245
  9. Practical 8: A Simple 2D Game: a Ball Avoiding Obstacles 257
  10. Practical 9: Creating a 2D Scene: a House, a Tree and the Sun 266
  11. Practical 10: Parallax Scrolling 274
  12. Practical 11: An Object Moving along a Predefined Path 282
  13. Practical 12: Collision Detection between 2D Objects 291
  14. Practical 13: Shapes that Follow Mouse Clicks 302
  15. Practical 14: Rendering and Animating Text 311
  16. Practical 15: The Final Project: a Car on a Road, a Rising Sun and Trees 322

Module J The journal, the slip and the viva

  1. Keeping the Journal, and What Goes on Each Page 331
  2. A Worked Practical Slip: Q1, Q2 and Q3 337
  3. The Viva: Questions Asked at the Table 344
munotes.in

The chapters

Every chapter of this book comes with the B.Sc. (Information Technology) Semester 4 notes.

The cover and the contents are free to look through. Buy the notes once to read every chapter of every subject in this semester.

Notes + practical solutions + solved papers: ₹798 Already bought it? Sign in

Or notes + practical solutions: ₹499
Or solved papers only: ₹499

Free either way: question papers, the syllabus, and the cover and contents of every book.

The rest of this subject

These notes are cut from the University's printed syllabus. Open the syllabus itself for the same subject.

Issue
Done!