Cathode ray tubes use an electron gun and phosphors to display pixels on a screen. The electron beam is focused and deflected horizontally and vertically to scan across the screen. Raster scan displays refresh the screen by scanning across rows of pixels stored in a frame buffer. Random scan displays draw images by moving and drawing the electron beam between points. Color CRTs use three electron guns and a shadow mask to display red, green, and blue pixels. LCDs use liquid crystals that can be aligned to block or transmit light, while plasma displays excite gas-filled capsules that emit UV light to illuminate phosphors.