Graphic objects and how they are shown on a computer
Humans receive most of their information about the world through sight, so a computer also spends a great deal of effort on creating, storing and showing pictures. The picture on the screen is built by the video card: it contains a special video processor (GPU) that refreshes the image dozens of times a second (60 times a second on a 60 Hz screen). The device that shows the picture is the monitor and the surface on which the picture appears is the display; a laptop, tablet or phone has no separate monitor, only a display. A display is divided into rows and columns, and the smallest picture dot where a row and a column cross is the pixel; it has its own address and its colour is controlled separately. Each pixel is built from three small parts that give red, green and blue light; mixing their brightness produces almost any colour. In a 24-bit (“true colour”) picture each pixel gets 3 bytes and can take one of 16 777 216 colours. According to the kind of picture produced, graphics is divided into static graphics, computer animation and multimedia; according to the field of use, scientific, business (tijorat), design (konstruktorlik), illustrative and artistic graphics are distinguished.
A tile mosaic in a school yard looks like one picture from far away, but close up it is just separate coloured tiles. When the tiles are small the picture is smooth and sharp, and when they are large it looks rough. A screen picture is built from small dots in the same way.
Mosaic makers, embroiderers and carpet weavers, and graphic designers plan a picture as a sum of small cells.
On squared paper colour in cells to draw the same letter twice: once with the large cells and once with cells half the size. Which version looks smoother?
| Quantity | Calculation | Result |
|---|---|---|
| pixels | 1280·720 | 921 600 |
| one frame, bytes | 921 600·3 | 2 764 800 |
“Pixel counter”: students find the screen size of their own device (phone or laptop) in the settings, work out the number of pixels and write it in a shared table; the device with the most pixels is identified.