Abstraction Ladder: Faces
One face drawn at four levels of abstraction, from shaded detail down to two dots and a line.
AI prompt
Illustration sheet showing the same friendly face at four levels of abstraction in a row: first a detailed shaded portrait with hair strands and brows, second a flat simplified version with solid colour shapes, third a round icon with two eyes and a smile, fourth a minimal glyph of two dots and a curved line, same proportions and warm palette throughout, labelled under each, flat vector style on a pale background. Negative: different characters, inconsistent proportions, text errors, backgrounds with clutter. Reduced motion: static sheet.About this pattern
Definition
Abstraction is how much detail an illustration keeps. Removing detail step by step shows which features carry the idea: a face still reads as a face with only two dots and a curve. Each level suits a different size and job, from a portrait to a favicon.
When to use it
- Detailed: shading, hair texture and brows for large editorial art.
- Simplified: flat shapes and no gradients for spot illustrations.
- Icon: a circle and three marks for avatars and buttons.
- Glyph: the minimum that still reads, for tiny sizes and emoji.
What the controls do
- A Detail slider with four levels and a caption for each.
Motion & timing
- The levels change instantly with a 150ms cross-fade.
- Reduced motion: no cross-fade.
Tips & variations
- Choose the level by the smallest size the image will be shown at.
- Keep the same proportions between levels so the set looks related.
Code of this live preview
<div class="bx"><div class="sc"><svg viewBox="0 0 120 120" width="150" height="150" aria-hidden="true"><defs><radialGradient id="sk" cx="40%" cy="35%"><stop offset="0" stop-color="#f6cfae"/><stop offset="1" stop-color="#d79a74"/></radialGradient></defs><g class="l1"><path d="M22 58c0-30 20-44 38-44s38 14 38 44c-6-18-20-24-38-24S28 40 22 58z" fill="#4b2e1f"/><path d="M26 56c2-10 6-16 10-20M94 56c-2-10-6-16-10-20M44 30c2 6 0 10-2 14" fill="none" stroke="#2f1c12" stroke-width="1.5"/></g><g class="l2"><path d="M22 58c0-30 20-44 38-44s38 14 38 44c-6-18-20-24-38-24S28 40 22 58z" fill="#4b2e1f"/></g><circle class="face" cx="60" cy="66" r="36" fill="#e9b992"/><circle class="shade" cx="60" cy="66" r="36" fill="url(#sk)"/><g class="eyes"><ellipse class="e12" cx="46" cy="64" rx="5" ry="4" fill="#fff"/><ellipse class="e12" cx="74" cy="64" rx="5" ry="4" fill="#fff"/><circle cx="46" cy="64" r="2.6" fill="#2b1a10"/><circle cx="74" cy="64" r="2.6" fill="#2b1a10"/></g><g class="l1"><path d="M38 56q8-6 16-1M66 55q8-5 16 1" fill="none" stroke="#3a2416" stroke-width="2.2" stroke-linecap="round"/><path d="M60 68q-3 8 1 10" fill="none" stroke="#b97d58" stroke-width="2" stroke-linecap="round"/></g><path class="mouth" d="M46 82q14 12 28 0" fill="none" stroke="#7a3a2a" stroke-width="3" stroke-linecap="round"/></svg></div><label class="rw">Detail <b id="dv">Detailed</b><input id="dt" type="range" min="1" max="4" value="1"></label><p class="out" id="out"></p></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}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}ul,ol,p,h4{margin:0;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.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}
.sc{display:grid;place-items:center;height:160px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}.sc svg *{transition:opacity .15s}
.bx[data-l="2"] .l1,.bx[data-l="3"] .l1,.bx[data-l="4"] .l1,.bx[data-l="3"] .l2,.bx[data-l="4"] .l2,.bx[data-l="2"] .shade,.bx[data-l="3"] .shade,.bx[data-l="4"] .shade,.bx[data-l="4"] .e12{opacity:0}.bx[data-l="3"] .face{fill:#f2c14e}.bx[data-l="4"] .face{fill:#f2c14e}.bx[data-l="4"] .eyes circle{r:4.5}
.out{font-size:12px;color:var(--muted)}@media (prefers-reduced-motion:reduce){.sc svg *{transition:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}const N=['Detailed','Simplified','Icon','Glyph'],T=['Shading, hair and brows: for large editorial art.','Flat shapes, no gradients: for spot illustrations.','Circle and three marks: for avatars and buttons.','Two dots and a curve: for tiny sizes and emoji.'],dt=document.getElementById('dt'),bx=document.querySelector('.bx');
function up(){const l=+dt.value;bx.dataset.l=l;document.getElementById('dv').textContent=N[l-1];document.getElementById('out').textContent=T[l-1];}dt.addEventListener('input',up);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>Abstraction Ladder: Faces — 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}}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}ul,ol,p,h4{margin:0;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.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}
.sc{display:grid;place-items:center;height:160px;border-radius:12px;background:var(--surface);border:1px solid var(--line)}.sc svg *{transition:opacity .15s}
.bx[data-l="2"] .l1,.bx[data-l="3"] .l1,.bx[data-l="4"] .l1,.bx[data-l="3"] .l2,.bx[data-l="4"] .l2,.bx[data-l="2"] .shade,.bx[data-l="3"] .shade,.bx[data-l="4"] .shade,.bx[data-l="4"] .e12{opacity:0}.bx[data-l="3"] .face{fill:#f2c14e}.bx[data-l="4"] .face{fill:#f2c14e}.bx[data-l="4"] .eyes circle{r:4.5}
.out{font-size:12px;color:var(--muted)}@media (prefers-reduced-motion:reduce){.sc svg *{transition:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="sc"><svg viewBox="0 0 120 120" width="150" height="150" aria-hidden="true"><defs><radialGradient id="sk" cx="40%" cy="35%"><stop offset="0" stop-color="#f6cfae"/><stop offset="1" stop-color="#d79a74"/></radialGradient></defs><g class="l1"><path d="M22 58c0-30 20-44 38-44s38 14 38 44c-6-18-20-24-38-24S28 40 22 58z" fill="#4b2e1f"/><path d="M26 56c2-10 6-16 10-20M94 56c-2-10-6-16-10-20M44 30c2 6 0 10-2 14" fill="none" stroke="#2f1c12" stroke-width="1.5"/></g><g class="l2"><path d="M22 58c0-30 20-44 38-44s38 14 38 44c-6-18-20-24-38-24S28 40 22 58z" fill="#4b2e1f"/></g><circle class="face" cx="60" cy="66" r="36" fill="#e9b992"/><circle class="shade" cx="60" cy="66" r="36" fill="url(#sk)"/><g class="eyes"><ellipse class="e12" cx="46" cy="64" rx="5" ry="4" fill="#fff"/><ellipse class="e12" cx="74" cy="64" rx="5" ry="4" fill="#fff"/><circle cx="46" cy="64" r="2.6" fill="#2b1a10"/><circle cx="74" cy="64" r="2.6" fill="#2b1a10"/></g><g class="l1"><path d="M38 56q8-6 16-1M66 55q8-5 16 1" fill="none" stroke="#3a2416" stroke-width="2.2" stroke-linecap="round"/><path d="M60 68q-3 8 1 10" fill="none" stroke="#b97d58" stroke-width="2" stroke-linecap="round"/></g><path class="mouth" d="M46 82q14 12 28 0" fill="none" stroke="#7a3a2a" stroke-width="3" stroke-linecap="round"/></svg></div><label class="rw">Detail <b id="dv">Detailed</b><input id="dt" type="range" min="1" max="4" value="1"></label><p class="out" id="out"></p></div>
</div>
<script>
const N=['Detailed','Simplified','Icon','Glyph'],T=['Shading, hair and brows: for large editorial art.','Flat shapes, no gradients: for spot illustrations.','Circle and three marks: for avatars and buttons.','Two dots and a curve: for tiny sizes and emoji.'],dt=document.getElementById('dt'),bx=document.querySelector('.bx');
function up(){const l=+dt.value;bx.dataset.l=l;document.getElementById('dv').textContent=N[l-1];document.getElementById('out').textContent=T[l-1];}dt.addEventListener('input',up);up();
</script>
</body></html>