The halftone, up close
LIVE PREVIEWA 0.1 × 0.1 inch print area, magnified to fit your screen.
Move a slider. See how printer dots build a halftone.
A 0.1 × 0.1 inch print area, magnified to fit your screen.
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.
Change each side independently. Both squares show the same 0.1-inch area.
A 0.1 × 0.1 inch print area, magnified to fit your screen.
NEXT CHAPTER
Coming later: upload a picture, compare it with the original, and try two halftone settings side by side.
Planned · uploads are not available yet
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.
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.
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.
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.
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?