Ultra-wide Edge Stretch
Five identical people across the frame: with a very wide lens, the ones near the edges stretch sideways.
AI prompt
Group photograph taken with a 14mm ultra-wide lens of five friends standing in a row across the frame, the people at the far left and right visibly stretched sideways with wider faces and shoulders while the middle person looks natural, straight horizon and straight building lines, bright daylight, slight low angle. Variant: the same group at 50mm with natural proportions. Negative: curved lines, fisheye look, text, watermark. Reduced motion: still image.About this pattern
Definition
Wide lenses that keep straight lines straight stretch things near the edge of the frame sideways, because the same angle is spread over more of the sensor. A face at the edge of a 14 mm photo looks wider and bigger than one in the middle. For group photos, keep faces away from the edges or use a longer lens.
When to use it
- Stretch grows with the angle from the centre: width scales about 1 divided by cosine squared.
- Short lenses show more people but distort the outer ones.
- Keep faces in the middle third; put scenery, not people, near the edges.
- Stand back and use 35 mm or longer for group portraits.
What the controls do
- A Focal length slider from 14 to 85 mm.
Motion & timing
- Updates immediately.
- Reduced motion: nothing animates.
Tips & variations
- This is different from barrel distortion, where straight lines curve; here the lines stay straight but shapes stretch.
- Post-processing can partly correct the stretch.
Code of this live preview
<div class="bx"><div class="vw" id="vw" role="img" aria-label="Five identical people with edge stretch depending on the lens"></div><label class="rw">Focal length <b id="fv"></b><input id="fs" type="range" min="14" max="85" value="14"></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}
.vw{position:relative;height:120px;border-radius:12px;overflow:hidden;background:linear-gradient(#cfe3f2 0 62%,#9fb78a 62% 100%)}.hd{position:absolute;bottom:14px;width:30px;height:40px;background:#e4b896;border-radius:48% 48% 44% 44%;transform-origin:bottom center}.bd{position:absolute;bottom:0;width:40px;height:34px;background:#3d5a80;border-radius:14px 14px 0 0;transform-origin:bottom center}.ed{position:absolute;top:8px;width:2px;height:100px;background:rgba(0,0,0,.16)}.out{font-size:12px;color:var(--muted);min-height:16px;margin:0}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}const vw=document.getElementById('vw'),fs=document.getElementById('fs'),ANG=[-40,-20,0,20,40];
function up(){const f=+fs.value,W=vw.clientWidth,pxmm=(W/2)/18;let h='';ANG.forEach((a,i)=>{const t=a*Math.PI/180,x=W/2+f*Math.tan(t)*pxmm;if(x<-10||x>W+10)return;const sx=1/Math.pow(Math.cos(t),2),sc=.95+(f-14)/71*.9;h+='<i class="bd" style="left:'+(x-20)+'px;transform:scale('+(sx*sc).toFixed(2)+','+sc.toFixed(2)+')"></i><i class="hd" style="left:'+(x-15)+'px;bottom:'+(14*sc).toFixed(1)+'px;transform:scale('+(sx*sc).toFixed(2)+','+sc.toFixed(2)+')"></i>';});
vw.innerHTML=h;const half=Math.atan(18/f)*180/Math.PI,vis=ANG.filter(a=>Math.abs(a)<=half).length;document.getElementById('fv').textContent=f+' mm \u00b7 half-view '+half.toFixed(0)+'\u00b0';document.getElementById('out').textContent=(vis<5?vis+' of 5 people fit. ':'All 5 fit. ')+(f<24?'Edges are strongly stretched.':f<40?'Edges are slightly stretched.':'Almost no stretch.');}
fs.addEventListener('input',up);addEventListener('resize',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>Ultra-wide Edge Stretch — 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}
.vw{position:relative;height:120px;border-radius:12px;overflow:hidden;background:linear-gradient(#cfe3f2 0 62%,#9fb78a 62% 100%)}.hd{position:absolute;bottom:14px;width:30px;height:40px;background:#e4b896;border-radius:48% 48% 44% 44%;transform-origin:bottom center}.bd{position:absolute;bottom:0;width:40px;height:34px;background:#3d5a80;border-radius:14px 14px 0 0;transform-origin:bottom center}.ed{position:absolute;top:8px;width:2px;height:100px;background:rgba(0,0,0,.16)}.out{font-size:12px;color:var(--muted);min-height:16px;margin:0}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="vw" id="vw" role="img" aria-label="Five identical people with edge stretch depending on the lens"></div><label class="rw">Focal length <b id="fv"></b><input id="fs" type="range" min="14" max="85" value="14"></label><p class="out" id="out"></p></div>
</div>
<script>
const vw=document.getElementById('vw'),fs=document.getElementById('fs'),ANG=[-40,-20,0,20,40];
function up(){const f=+fs.value,W=vw.clientWidth,pxmm=(W/2)/18;let h='';ANG.forEach((a,i)=>{const t=a*Math.PI/180,x=W/2+f*Math.tan(t)*pxmm;if(x<-10||x>W+10)return;const sx=1/Math.pow(Math.cos(t),2),sc=.95+(f-14)/71*.9;h+='<i class="bd" style="left:'+(x-20)+'px;transform:scale('+(sx*sc).toFixed(2)+','+sc.toFixed(2)+')"></i><i class="hd" style="left:'+(x-15)+'px;bottom:'+(14*sc).toFixed(1)+'px;transform:scale('+(sx*sc).toFixed(2)+','+sc.toFixed(2)+')"></i>';});
vw.innerHTML=h;const half=Math.atan(18/f)*180/Math.PI,vis=ANG.filter(a=>Math.abs(a)<=half).length;document.getElementById('fv').textContent=f+' mm \u00b7 half-view '+half.toFixed(0)+'\u00b0';document.getElementById('out').textContent=(vis<5?vis+' of 5 people fit. ':'All 5 fit. ')+(f<24?'Edges are strongly stretched.':f<40?'Edges are slightly stretched.':'Almost no stretch.');}
fs.addEventListener('input',up);addEventListener('resize',up);up();
</script>
</body></html>