Every image on your screen is a rectangular grid of pixels — tiny, square, uncompromising. A horizontal or vertical line maps perfectly onto that grid. A diagonal line does not.
When the renderer decides which pixels to light up for a 45-degree edge, it must round each intersection to the nearest whole pixel. The result is a staircase — the jagged zigzag pattern known as aliasing. You see it on game fonts, UI borders, 3D geometry, even SVG icons rendered at small sizes.
Anti-aliasing is any technique that softens that staircase by making boundary pixels partially transparent or blended. The core idea is simple: instead of asking "is this pixel inside or outside the edge?", ask "what fraction of this pixel does the edge cover?" — and color it proportionally.
The word comes from signal processing. A pixel grid is a sampler, and a diagonal edge is a high-frequency signal. Without enough sample points the grid aliases — it misrepresents the signal as a coarser, lower-frequency staircase. Anti-aliasing is the act of increasing or simulating higher sampling density before that misrepresentation happens.
Comments
Loading comments...