Pixels and Subpixels: Turning Electrical States into Light
Billions of electrons sit trapped in microscopic memory cages, or flow rapidly as high and low voltages. But electrons are invisible. To actually see the result of our computing, we have to turn those electrical states into light.
If you bring your eye incredibly close to your screen, or look at it under a magnifying glass, you will see that it is not a smooth, solid picture. It is a massive grid made up of millions of tiny squares called pixels.
Inside every single pixel, there are three microscopic light bulbs (or LEDs): one Red, one Green, and one Blue. By mixing the brightness of these three colors, your screen can trick the human eye into seeing almost any color in the universe.
Figure 1: Close-up structure of an LCD/OLED pixel showing individual R, G, and B subpixel emitters.
From Binary to Voltage: How Bytes Control Light
How does hardware control the brightness of each subpixel? Through byte values (0 to 255). An 8-bit number represents 256 voltage levels: 0 produces zero voltage (completely black), while 255 produces maximum voltage (maximum brightness).
When all three colors emit at maximum brightness (255, 255, 255), the human eye mixes them and perceives pure white. When all three are 0 (0, 0, 0), the screen displays pure pitch black.
Figure 2: Data pipeline from RAM to GPU framebuffer to display controller scanout.
Related articles in Computer Science
- 2D vs 1D Memory: Why DLD and Assembly See Memory Differently — Why memory is a 2D grid in DLD but a 1D byte array in assembly, and how memory controllers connect the two views.
- GPU Compute, Latency, and Throughput — Understand GPU acceleration, memory constraints, inference latency, and throughput for AI workloads.
- Two's Complement: How Computers Represent Negative Integers — Two's complement is how CPUs store signed integers: count backward past zero, negate by inverting and adding 1, and let one adder handle signed math.