Computer Graphics Notes | B.Sc. (Information Technology) Semester 4 | Mumbai University | munotes
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
- How This Practical Is Examined: the Slip, the Journal and the Viva 1
- Pixels, the Frame and How a Picture Reaches the Screen 7
- Practical 1: Installing Python, Matplotlib, OpenCV and Pygame, and a 'Hello, Graphics!' Window 16
- Coordinates: the Screen's Pixels and a Graph's Axes 24
- Practical 2: Drawing Lines, Circles, Rectangles and Polygons 32
- Practical 3: The DDA Line Drawing Algorithm 41
- Practical 4: Bresenham's Line Drawing Algorithm 51
- Practical 5: The Midpoint Circle Algorithm 63
- Practical 6: Polygon Filling: Boundary Fill and Flood Fill 73
- An Object as a Matrix of Points: Homogeneous Coordinates 85
- Practical 7: Translation 94
- Practical 8: Rotation about the Origin and about a Fixed Point 102
- Practical 9: Scaling Up and Down 113
- Practical 10: Reflection across the x-Axis, the y-Axis and the Diagonal 123
- Practical 11: Shearing along the x-Axis and the y-Axis 132
- Practical 12: Composite Transformations 140
- Practical 13: The Cohen-Sutherland Line Clipping Algorithm 149
- Practical 14: The Window-to-Viewport Transformation 160
- Practical 15: Moving a Rectangle with the Arrow Keys 170
Module II Animation, Colour, Curves and Interaction
- How an Animation Works: Frames, the Loop and the Clock 179
- Practical 1: A Ball Moving across the Screen 187
- Practical 2: A Bouncing Ball with Collision Detection 196
- Practical 3: A Rotating Triangle or Square 205
- Practical 4: A Pulsating Object, Scaling in a Loop 215
- Practical 5: Several Objects Moving Independently 224
- Practical 6: The RGB and HSI Colour Models 233
- Practical 7: Drawing and Animating a Bezier Curve 245
- Practical 8: A Simple 2D Game: a Ball Avoiding Obstacles 257
- Practical 9: Creating a 2D Scene: a House, a Tree and the Sun 266
- Practical 10: Parallax Scrolling 274
- Practical 11: An Object Moving along a Predefined Path 282
- Practical 12: Collision Detection between 2D Objects 291
- Practical 13: Shapes that Follow Mouse Clicks 302
- Practical 14: Rendering and Animating Text 311
- 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
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.