Graphic computing is the field of visual computing, where visual images are generated systically as for example integrating or changing the visual and spatial information tested in the real world through the use of computers.
A graphic is when there is a trace or mark that has been made intentionally. The graphic, is intended to represent something that is not.
For several years, computing has accompanied the rest of the branches of knowledge in their evolutionary process, helping to solve problems by facilitating the way to the compression of certain phenomena and streamlining processes that, if not for computers, would consume a considerable time. But not only science, also business, entertainment, advertising, education, industry, among others, have been highly benefited by the collaboration of computing. However, at the beginning this technology was reserved for certain professionals, who based on their knowledge, managed to obtain help from them, making maximum use of their limited resources. Today, computers are present in virtually every place, this is due in large part to the development of computer graphics; This is how the most visited websites are those with a lot of animations and graphics, since they are easier to navigate and pleasant to look at. On the other hand, the highest grossing films are those that have impressive special effects made by computers; In addition, the most popular games are those that have more realistic graphics.
- Although the coordinates of the ends of a line are integers, the continuum of infinite points that form the line will be real numbers.
-We want to find representable points on the screen that are on or near the line, which give the best approximation to the real line.
- It is desirable to draw with precision, but much more important is to do it as quickly as possible.
- The C code of this algorithm could be the following:
Examples:
Own Source
--In a similar way to how we approach the discretization of a line, we will begin by using the equation of the circumference:
Eight-sided symmetry:
-Algorithm of the midpoint.
Example:
Own Source
Now I'm going to show you a small drawing in which I use an algorithm to fill in, the DDA lines and the circumferences:
Own Source
This drawing uses a filling algorithm, which consists in passing the coordinates (x,y) where the painting will start, by parameter, then sending the color to be painted and finally the color of the edge of the figure, what will be the point where you will finish painting. It was done in DevC ++.
Bibliographic References: