Skip to content
IndexRequest a UIAboutContact

Lens Distortion Grid

A test grid bent by a distortion slider: wide and fisheye lenses bulge outward, some telephotos pinch inward.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI IMAGE OR VIDEO TOOL
Interior photograph of a narrow modern hallway shot on a 14mm ultra-wide rectilinear lens, strong perspective convergence, slightly stretched corners, floor tiles forming a grid that bows subtly outward, ceiling lights leading to a vanishing point, bright even light, crisp detail, architectural photography. Lens variants: circular fisheye (heavy barrel distortion, curved horizon, 180 degree view, playful), 35mm natural (almost no distortion, straight lines), 135mm telephoto (compressed depth, flat perspective, slight pincushion). Negative: tilted verticals unless intended, warped faces, mismatched distortion between objects, black vignette corners.

About this pattern

Definition

Lens distortion is how a lens bends straight lines. Wide-angle and fisheye lenses show barrel distortion (lines bulge outward from the centre); some telephoto lenses show slight pincushion distortion (lines curve inward).

When to use it

  • Barrel distortion adds energy and a feeling of space in architecture, action and interiors; use it deliberately.
  • Fisheye is an extreme, playful look; rectilinear wide lenses keep straight lines straight but stretch the corners.
  • Portraits on very wide lenses distort faces; prefer 50 to 135mm for natural proportions.

What the controls do

  • Presets (Normal, Wide, Fisheye, Tele) and a continuous Distortion slider from pincushion to barrel.

Motion & timing

  • The grid redraws live with the slider.
  • Reduced motion: no difference, nothing animates on its own.

Tips & variations

  • Distortion is strongest at the edges, so keep important subjects and straight lines away from the corners.
  • In prompts, name the lens type (fisheye, ultra-wide, 85mm) rather than only the effect.

Code of this live preview

HTML
<div class="bx"><canvas id="cv" width="300" height="140" role="img" aria-label="Distorted test grid"></canvas><div class="pre" id="pre" role="group" aria-label="Lens preset"><button data-k="0">Normal</button><button data-k="0.18">Wide</button><button data-k="0.55">Fisheye</button><button data-k="-0.1">Tele</button></div><label class="ctl">Distortion <b id="kv">0.00</b><input id="k" type="range" min="-15" max="70" value="0"></label></div>

Related patterns

Focal Length Compare

↗
Focal Length CompareLens & Shot Size

Shot Size Ladder

↗
Shot Size LadderLens & Shot Size

Aperture & Depth of Field

↗
Aperture & Depth of FieldLens & Shot Size