Skip to content
A CRT terminal on a checkered table, dithered with Line Screen in 1-bitThe same terminal before dithering

17Halftone screen

Line Screen Dithering

Line screen renders an image as parallel lines that thicken in the shadows and thin out in the highlights, like a copperplate engraving, a banknote portrait or an old scientific illustration. Set the line spacing and angle, let the bright areas lift the lines like an oscilloscope trace, or make them wave.

Author
Unknown
Year
—
Complexity
medium

How Line Screen dithering works

The image is crossed by parallel lines, a set spacing apart and turned to the screen angle. Every pixel is ranked by its distance to the middle of its line, and it is inked when the image there is darker than its threshold, so each line widens from its middle, one row of pixels at a time, as the tone darkens.

Two options bend the lines. Displacement pushes them sideways where the image is bright, up to four line spacings, which draws the picture as a relief of ridges. Wave ripples them along their length, with an adjustable amplitude and wavelength.

Threshold ranks of one 8×8 line cell at 0°
88888888
2424242424242424
4040404040404040
5656565656565656
4848484848484848
3232323232323232
1616161616161616
00000000
  • The image is crossed by parallel lines 8 pixels apart; each line thickens from its middle as the image gets darker, one row of pixels at a time.
  • A pixel turns white when its brightness exceeds the threshold at its position; the thresholds rank pixels by their distance to the line center. Ranking pixels as they actually fall on the grid keeps every gray level exact.
  • In the editor, set the line spacing (4–64 px) and the angle; displacement lifts the lines where the image is bright, and wave ripples them along their length. With dots lighter than the background, the lines mark the light areas instead.
Pseudocode
for each pixel (x, y):
  # u along the lines, v across, in line spacings
  (u, v) = (x, y) rotated by the screen angle
  v += displacement * blurred_gray / 255
  v += wave * sin(2π * u / wavelength)
  d = distance from v to its line's middle (0…1)
  t = 1 - d
  pixel = gray < t * 255 ? ink : paper
# with a palette, t shifts the color before nearest_color

When to use it (and when not to)

  • Best for: engraving and banknote looks, posters, and ridgeline-style portraits.
  • Works well with: 1-bit, Sepia and Cyanotype.
  • Watch out for: the line spacing in pixels limits how many thicknesses a line can take, so very tight spacings flatten the tones; keep it wider on small images.
  • In animation: Stable without displacement: the lines stay put and only thicken where the image changes.

Line Screen vs other algorithms

The same terminal in 1-bit, center crop at actual size.

Line Screen compared with Halftone, Clustered Dot, Floyd–Steinberg
AlgorithmMethodAnimationLook
Line ScreenAngled line screenStableEngraved lines, adjustable
HalftoneAngled dot screenStableDots instead of lines
Clustered Dot4×4 threshold matrixStableSmall dots on a fixed grid
Floyd–SteinbergError to 4 neighbors (100% carried)FlickersScattered pixels, most detail

Try Line Screen on your image

Open the editor with Line Screen already selected, drop in a photo or an animated GIF, set the screen size and angle, pick a palette and export the result. Free, no account, no watermark, and your image never leaves your device.

Open Line Screen in the editor

Line Screen FAQ

How do I make an engraving effect from a photo?

Open the editor with Line Screen selected, drop in your photo and set the line spacing and angle. A little extra contrast and sharpening make the lines read like a burin cut.

What does displacement do?

It pushes each line sideways where the image is bright, so the lines trace the picture like a row of ridges or an oscilloscope. Combine it with a black background and light lines for the classic look.

Can I export line screens as vectors?

No, PixelSynth exports PNG and GIF. For pen plotters or cutters, trace the PNG in a vector editor; at ×4 or ×8 export the lines are crisp enough to trace cleanly.