Ink Bleed on Paper
Crisp, soft and wet-ink lettering made with an SVG filter; a slider sets how far the ink bleeds.
AI prompt
Macro photograph of the word INKWELL printed in black ink on uncoated cream paper, the edges of every letter slightly soft and wobbly where the ink has bled into the fibres, tiny ink dots around the strokes, no digital sharpness, paper texture visible, raking light, shallow depth of field. Variants: crisp offset print with no bleed, soft print with a gentle halo, wet rough ink with ragged edges. Negative: glow effect, drop shadow, perfect vector edges, text errors, coffee stains. Reduced motion: static image.About this pattern
Definition
When ink soaks into paper, edges soften and wobble. An SVG filter that blurs the text, hardens it again with a contrast curve and nudges the edge with noise gives sharp type a rough, printed edge without any image.
When to use it
- Blur then threshold is the trick: the blur spreads the ink, the threshold makes the edge crisp again so it reads as ink, not as a glow.
- A small displacement adds the irregular wobble of fibres.
- Use it for display type; body text should stay clean.
What the controls do
- Three presets (Crisp, Soft, Wet) and a Bleed slider.
Motion & timing
- The effect updates instantly; the filter is static, not animated.
- Reduced motion: nothing to change.
Tips & variations
- Keep body text and form controls outside the filter.
- Large filter areas cost performance, so apply it only to headline elements.
Code of this live preview
<svg width="0" height="0" aria-hidden="true" focusable="false"><filter id="bleed" x="-10%" y="-10%" width="120%" height="120%"><feTurbulence type="fractalNoise" baseFrequency=".05" numOctaves="2" result="n"/><feDisplacementMap id="dm" in="SourceGraphic" in2="n" scale="0" result="d"/><feGaussianBlur id="gb" in="d" stdDeviation="0" result="b"/><feColorMatrix in="b" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 20 -9"/></filter></svg><div class="bx"><div class="pp"><span id="tx">INKWELL</span></div><div class="pre" id="pre" role="group" aria-label="Ink"><button data-p="0" aria-pressed="true">Crisp</button><button data-p="1" aria-pressed="false">Soft</button><button data-p="2" aria-pressed="false">Wet</button></div><label class="rw">Bleed <b id="bv">0</b><input id="bl" type="range" min="0" max="10" value="0"></label></div>:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pp{height:132px;border-radius:6px;display:grid;place-items:center;background:#f1ece0;box-shadow:0 5px 14px rgba(0,0,0,.14)}
.pp span{font-size:46px;font-weight:800;letter-spacing:.02em;color:#1b1b1b;filter:url(#bleed)}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}const V=[0,4,9],bl=document.getElementById('bl'),gb=document.getElementById('gb'),dm=document.getElementById('dm'),bs=[...document.querySelectorAll('#pre button')];let p=0;
function set(){const v=+bl.value;gb.setAttribute('stdDeviation',(v*.35).toFixed(2));dm.setAttribute('scale',(v*.9).toFixed(1));document.getElementById('bv').textContent=v;}
function up(){bl.value=V[p];set();bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}
bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));bl.addEventListener('input',()=>{bs.forEach(b=>b.setAttribute('aria-pressed','false'));set();});up();One complete HTML file. Save it and open it in a browser.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Ink Bleed on Paper — demo</title>
<style>
:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
html,body{height:100%}body{background:var(--bg);color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.stage{min-height:100%;display:grid;place-items:center;padding:24px}button,input,select,textarea{font-family:inherit}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pp{height:132px;border-radius:6px;display:grid;place-items:center;background:#f1ece0;box-shadow:0 5px 14px rgba(0,0,0,.14)}
.pp span{font-size:46px;font-weight:800;letter-spacing:.02em;color:#1b1b1b;filter:url(#bleed)}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
</style></head>
<body><div class="stage">
<svg width="0" height="0" aria-hidden="true" focusable="false"><filter id="bleed" x="-10%" y="-10%" width="120%" height="120%"><feTurbulence type="fractalNoise" baseFrequency=".05" numOctaves="2" result="n"/><feDisplacementMap id="dm" in="SourceGraphic" in2="n" scale="0" result="d"/><feGaussianBlur id="gb" in="d" stdDeviation="0" result="b"/><feColorMatrix in="b" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 20 -9"/></filter></svg><div class="bx"><div class="pp"><span id="tx">INKWELL</span></div><div class="pre" id="pre" role="group" aria-label="Ink"><button data-p="0" aria-pressed="true">Crisp</button><button data-p="1" aria-pressed="false">Soft</button><button data-p="2" aria-pressed="false">Wet</button></div><label class="rw">Bleed <b id="bv">0</b><input id="bl" type="range" min="0" max="10" value="0"></label></div>
</div>
<script>
const V=[0,4,9],bl=document.getElementById('bl'),gb=document.getElementById('gb'),dm=document.getElementById('dm'),bs=[...document.querySelectorAll('#pre button')];let p=0;
function set(){const v=+bl.value;gb.setAttribute('stdDeviation',(v*.35).toFixed(2));dm.setAttribute('scale',(v*.9).toFixed(1));document.getElementById('bv').textContent=v;}
function up(){bl.value=V[p];set();bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}
bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));bl.addEventListener('input',()=>{bs.forEach(b=>b.setAttribute('aria-pressed','false'));set();});up();
</script>
</body></html>