In a raster scan display, the screen is divided into a grid of pixels that are scanned line by line from top to bottom. Each pixel is either on or off, controlled by values stored in a frame buffer. The electron beam scans across each line from left to right, then returns to the left side to draw the next line, in a process called horizontal retrace. After completing the frame, the beam returns to the top left corner for the next frame during vertical retrace. Interlacing displays every other line to reduce flicker.