Entrance Announcement
MICTE 2080
2080 Magh 07
User:Subekshya Poudel/Teaching Lesson Plan 7
Jump to navigation
Jump to search
Subject : Computer Graphics
Period: Fourth
Topic: Output Primitives
Teaching Item: Line Drawing Algorithms: Digital Differential Analyzer(DDA)
Level: Bachelor 6th sem
Unit: Two
Time: 50 min
No. of Students:
20
Specific Objective
At the end of this lesson students will be able to:
- understand the concept of line drawing algorithms in computer graphics
- implement the DDA algorithm to draw lines on a computer screen
Teaching Materials
- Laptop with graphics software installed
- Presentation slide
- Projector
- Whiteboard and marker
Teaching Learning Activities
- Begin by asking students about previous topic.
- Then introduce the DDA algorithm and its significance in line drawing
- Explain the DDA algorithm step by step, focusing on how it calculates pixel positions to draw a line.
- Discuss the advantages and limitations of the DDA algorithm compared to other line drawing algorithms.
- Demonstrate how to implement the DDA algorithm using graphics software on a computer.
- Show examples of different lines drawn using the DDA algorithm with varying slopes.
- Divide students into small groups providing them with exercises to implement the DDA algorithm on their computers and draw lines with different characteristics (length, slope, etc.).
- Ask students if there is any confusion on today's topic and provide guidance and assistance if needed.
Assessment
1. Explain the steps involved in the Digital Differential Analyzer (DDA) line drawing algorithm.
2. Given two endpoints A(2,3) and B(7,10), calculate and plot the pixels required to draw a line between these points using the DDA algorithm.