General: Home | Google trends | Bhagavada Gita | UK Box office | || Travel: Places to visit | Beaches | Mountains | Waterfalls | Walking trails UK | Hotels | || Literature: Philosophers | Books | || Food: Italian Food | Indian Food | Spanish Food | Cocktails | || History: Chinese history | Indian history | || Education: UK universities | US universities | ||

Google trend - DDA

DDA starts registration for 32000 new flats, including luxury options ...

The flats will be sold through an e-auction and on a first-come-first-serve basis, and are located in Dwarka, Loknayak Puram, and Narela in Delhi.

Read more at Livemint


दिल्ली में मकान खरीदने का शानदार मौका, DDA की हाउसिंग स्कीम में आज से ...

DDA Housing Scheme 2023: दिल्ली विकास प्राधिकरण (DDA) 32 हजार फ्लैटों की बिक्री करने जा रहा है। डीडीए हाउसिंग स्कीम में अभी पहले चरण में 5 ...

Read more at नवभारत टाइम्स


Explain DDA in 500 words
DDA, or Digital Differential Analyzer, is an algorithm used for rasterization of lines and curves in computer graphics. It is a simple and efficient method that calculates the coordinates of pixels to be displayed on a screen, based on the start and end points of a line or curve.
The primary purpose of DDA is to determine the coordinates of pixels that lie on a line or curve, so that they can be displayed on a screen. This is done by incrementing the x and y coordinates of each pixel from the start point to the end point. The algorithm calculates the slope of the line or curve, and then increments the coordinates accordingly.
The DDA algorithm works by first calculating the difference between the x-coordinates and y-coordinates of the start and end points. This difference is then used to determine the number of steps needed to reach the end point. The algorithm then increments the x and y coordinates by a fixed step size in each iteration until the end point is reached.
The basic formula used in DDA is:
x = x + dx
y = y + dy
Where dx is the change in x-coordinate and dy is the change in y-coordinate. These values are calculated by dividing the difference between the end and start points by the number of steps. The values of dx and dy are determined based on the magnitude of the slope of the line or curve.
To implement DDA, the start and end points of the line or curve are given as input. The algorithm then calculates the difference in x and y coordinates, and determines the number of steps required to reach the end point. The coordinates of each pixel are then calculated using the formula mentioned above, and the corresponding pixels are displayed on the screen.
One advantage of DDA is its simplicity. The algorithm is straightforward and easy to implement, making it suitable for real-time applications and simple graphics systems. It also has a low computational complexity, making it efficient for rasterization of lines and curves.
However, DDA has some limitations. One limitation is that it can only be used to rasterize lines and curves with a slope between 0 and This means that lines and curves with slopes greater than 1 or less than 0 cannot be accurately represented using DDA. Another limitation is that DDA can introduce rounding errors, leading to inaccuracies in the displayed pixels. This can result in jagged or distorted lines and curves.
In conclusion, DDA is a simple and efficient algorithm used for rasterization of lines and curves in computer graphics. It calculates the coordinates of pixels based on the start and end points of a line or curve, and incrementally updates the coordinates using a fixed step size. While DDA has limitations in terms of slope range and potential rounding errors, it is still widely used in real-time applications and simple graphics systems due to its simplicity and efficiency.
General: Home | Google trends | Bhagavada Gita | UK Box office | || Travel: Places to visit | Beaches | Mountains | Waterfalls | Walking trails UK | Hotels | || Literature: Philosophers | Books | || Food: Italian Food | Indian Food | Spanish Food | Cocktails | || History: Chinese history | Indian history | || Education: UK universities | US universities | ||