Small dots. Big difference.

Move a slider. See how printer dots build a halftone.

01 THE HALFTONE LAB

The halftone, up close

LIVE PREVIEW
Screen cell boundary Printer dot boundary

A 0.1 × 0.1 inch print area, magnified to fit your screen.

Try this

Keep LPI at 60 and move DPI from 300 to 1200. The screen cells stay the same size, but the printer has more dot positions to make each halftone dot look smoother.

Two settings that shape a halftone.

01 / DPI

How finely the printer can place dots

DPI means dots per inch. It shows how many tiny dot positions the printer can use in one inch. A higher DPI can make the edges of a halftone dot look smoother.

02 / LPI

How many halftone cells fit in one inch

LPI means lines per inch. It shows how many rows of halftone cells fit in one inch. A higher LPI creates more, smaller cells, so the screen pattern looks finer.

Inside one screen cell

DPI ÷ LPI gives the printer positions along a cell edge. For a simple square cell with an integer ratio, (DPI ÷ LPI)² + 1 gives the theoretical tone levels, including white and solid black.

600 DPI ÷ 60 LPI = 10
10 × 10 = 100 positions
100 + 1 = 101 possible tones

How the dots grow

Printer positions switch on in a fixed order as ink coverage increases. With 8 × 8 positions per cell, the order matches Bouman’s clustered-dot matrix on slide 7, including all 64 ranks. Try 480 DPI and 60 LPI. The dot grows through diamond-shaped layers in a clockwise sequence.

Other cell sizes and fractional ratios use our geometric extension of this order. At exactly 2 × 2 positions per cell, the model instead follows the separate ordered-dither example on slide 5: bottom right, top left, top right, then bottom left.

Reference: C. A. Bouman (2019), Digital Halftoning, Purdue University, slides 5–9. The 8 × 8 order is reproduced; the extension to other sizes is part of this simulation.

Why can fractional settings look uneven?

When DPI ÷ LPI is fractional, screen cells do not line up evenly with the fixed printer grid. At 600 DPI and 70 LPI, a cell is about 8.57 printer positions wide, so some cells receive 8 columns and others 9. Their centres also fall differently between printer positions. The model fills a rounded number of positions in each cell, so dot shapes and actual coverage can vary slightly. These variations are calculated, not random. The displayed tone-level count is only an estimate for fractional ratios.

Canvas can add a separate display effect: fractional drawing coordinates can produce partially shaded edge pixels. The canvas bitmap is also resized to fit the page, so viewport size, browser zoom and display pixel density can affect its appearance. Grid overlays can add visible texture. These display effects do not change which printer positions the model selects.

Browser reference: MDN, Drawing shapes with canvas — Seeing blurry edges?