The basic mathematics used to manipulate and display graphical images.

Most interactive computer software for business and industry makes use of computer graphics in the screen displays and for other functions, such as

Consequently, anyone studying a computer language invariably spends time learning how to use at least two-dimensional (2D) graphics.

This section examines some of the basic mathematics used to manipulate and display graphical images.

<aside> 💡 Often,

Example 1

The capital letter N in Figure 1 is determined by eight points, or vertices. The coordinates of the points can be stored in a data matrix, $D$.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3b8a4d20-b1b7-4ed2-bdad-49362fc54ec0/Untitled.png

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/54df286b-c4bf-4d86-9b4c-669b57751a4c/Untitled.png

In addition to $D$, it is necessary to specify which vertices are connected by lines, but we omit this detail. $\blacksquare$

<aside> 💡 The main reason graphical objects are described by collections of straight-line segments is that the standard transformations in computer graphics map line segments onto other line segments.

</aside>

Once the vertices that describe an object have been transformed, their images can be connected with the appropriate straight lines to produce the complete image of the original object.