Skip to content
IndexRequest a UIAboutContact

Hand-drawn Wobbly Lines

Clean boxes and lines turned into hand-drawn doodles with an SVG turbulence filter, with a roughness slider.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI IMAGE OR VIDEO TOOL
Hand-drawn sketch style illustration of a simple wireframe, a rounded rectangle for a browser window, two boxes, a circle with a checkmark and an arrow pointing between them, all drawn with slightly wobbly dark blue marker lines of uneven thickness, small gaps where lines meet, light yellow highlight fills offset a little from the outlines, on an off-white paper background, friendly and informal. Variants: a thin pencil line version and a thick marker version. Negative: perfectly straight vector lines, gradients, shadows, text errors, clutter. Reduced motion: static illustration.

About this pattern

Definition

Perfectly straight vector lines can feel cold. A small amount of random wobble makes them look hand-drawn. An SVG displacement filter nudges every point of a shape a little using noise, so rectangles, circles and arrows keep their form but gain a human, sketchy edge.

When to use it

  • feTurbulence builds a smooth noise map and feDisplacementMap shifts the shape by it.
  • A low scale of about 1.5 to 4 pixels looks drawn; high values look broken.
  • Use a lower baseFrequency for slow wobble and a higher one for jitter.
  • Pair with a marker or pencil-like stroke width and slightly rounded line caps.

What the controls do

  • Three style buttons and a Roughness slider.

Motion & timing

  • Updates follow the slider.
  • Reduced motion: nothing animates.

Tips & variations

  • Keep text outside the filter or use it lightly so it stays readable.
  • The filter is applied to vector shapes only; avoid heavy use on large photos.

Code of this live preview

HTML
<svg width="0" height="0" aria-hidden="true" focusable="false"><defs><filter id="wb" x="-5%" y="-5%" width="110%" height="110%"><feTurbulence id="tu" type="fractalNoise" baseFrequency="0.03" numOctaves="2" seed="3" result="n"/><feDisplacementMap id="dm" in="SourceGraphic" in2="n" scale="3" xChannelSelector="R" yChannelSelector="G"/></filter></defs></svg><div class="bx"><div class="pre" id="pre" role="group" aria-label="Style"><button data-p="0" aria-pressed="true">Marker</button><button data-p="1" aria-pressed="false">Pencil</button><button data-p="2" aria-pressed="false">Clean</button></div><svg class="dw" id="dw" viewBox="0 0 300 130" role="img" aria-label="Sketch of two boxes joined by an arrow"><g id="g" fill="none" stroke-linecap="round" stroke-linejoin="round"><rect x="14" y="14" width="272" height="102" rx="10"/><rect x="34" y="40" width="80" height="54" rx="6" fill="#ffe98a"/><circle cx="224" cy="67" r="30" fill="#c9f0d8"/><path d="M212 68l9 9 17-20"/><path d="M118 67h72M180 58l12 9-12 9"/></g></svg><label class="rw">Roughness <b id="rv">3</b><input id="rs" type="range" min="0" max="8" step="0.5" value="3"></label></div>

Related patterns

Line & Texture Styles

↗
Line & Texture StylesIllustration Styles

Icon Stroke Style Controls

↗
Icon Stroke Style ControlsIllustration Styles

Illustration Style Switcher

↗
Illustration Style SwitcherIllustration Styles