Anamorphic Flare & Oval Bokeh
Night lights through a spherical and an anamorphic lens: round bokeh versus tall ovals with a blue streak.
AI prompt
Cinematic night street shot filmed on an anamorphic lens at 2.39:1: out-of-focus street lights and car headlights rendered as soft vertical oval bokeh, a thin blue horizontal lens streak running through the brightest lights, dark teal shadows with warm tungsten highlights, shallow depth of field, a blurred figure in the middle distance, subtle film grain, moody and widescreen. Variant: the same scene on a spherical lens with perfectly round bokeh and no streaks. Negative: round bokeh, digital lens flare stars, oversaturation, text, logos. Reduced motion: static image.About this pattern
Definition
Anamorphic lenses squeeze the image horizontally on the way in and stretch it back out later. That gives them a signature look: out-of-focus lights become tall ovals instead of circles, and bright lights draw a long horizontal streak, often blue.
When to use it
- Bokeh shape: spherical lenses give circles; anamorphic lenses give vertical ovals.
- Flare: a thin horizontal line through bright lights, usually blue or amber.
- Widescreen framing around 2.39:1 usually comes with the look.
- Use on night scenes with small bright lights, where the effect is visible.
What the controls do
- Two lens buttons and a Streak length slider.
Motion & timing
- Changes are instant.
- Reduced motion: nothing animates.
Tips & variations
- Keep the streak subtle; a long streak across every light looks like a filter.
- The look is a choice, not an upgrade; sometimes round bokeh suits the story better.
Code of this live preview
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Lens"><button data-p="0" aria-pressed="true">Anamorphic</button><button data-p="1" aria-pressed="false">Spherical</button></div><div class="sc" id="sc"></div><label class="rw">Streak length <b id="sv">60%</b><input id="sl" type="range" min="0" max="100" value="60"></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{height:130px;border-radius:12px;position:relative;overflow:hidden;background:linear-gradient(#0a1020,#1b2236);isolation:isolate}.sc .bk{position:absolute;border-radius:50%;background:var(--c);opacity:.7;filter:blur(1.5px);transform:translate(-50%,-50%) scaleX(var(--sx))}.sc .fl{position:absolute;height:2px;background:linear-gradient(90deg,transparent,#7fb0ff,#e6f0ff,#7fb0ff,transparent);transform:translate(-50%,-50%);box-shadow:0 0 8px #5f95ff;mix-blend-mode:screen;opacity:var(--fo)}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}const L=[[16,30,34,'#ffcf8a'],[36,58,44,'#ff9a5c'],[56,26,30,'#9fd0ff'],[72,52,46,'#ffe2a8'],[88,34,36,'#ff7a6b'],[28,76,26,'#9fd0ff'],[62,78,32,'#ffd38a']],sc=document.getElementById('sc'),sl=document.getElementById('sl'),bs=[...document.querySelectorAll('#pre button')];let p=0;
sc.innerHTML=L.map(l=>'<i class="bk" style="left:'+l[0]+'%;top:'+l[1]+'%;width:'+l[2]+'px;height:'+l[2]+'px;--c:'+l[3]+'"></i>').join('')+L.filter(l=>l[2]>=32).map(l=>'<i class="fl" style="left:'+l[0]+'%;top:'+l[1]+'%;width:'+(l[2]*5)+'px"></i>').join('');
function up(){sc.style.setProperty('--sx',p===0?.55:1);sc.style.setProperty('--fo',p===0?(sl.value/100):0);sl.disabled=p===1;document.getElementById('sv').textContent=sl.value+'%';document.getElementById('out').textContent=p===0?'Anamorphic: tall oval bokeh and a horizontal blue streak.':'Spherical: round bokeh, no streak.';bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}
bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));sl.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>Anamorphic Flare & Oval Bokeh — 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{height:130px;border-radius:12px;position:relative;overflow:hidden;background:linear-gradient(#0a1020,#1b2236);isolation:isolate}.sc .bk{position:absolute;border-radius:50%;background:var(--c);opacity:.7;filter:blur(1.5px);transform:translate(-50%,-50%) scaleX(var(--sx))}.sc .fl{position:absolute;height:2px;background:linear-gradient(90deg,transparent,#7fb0ff,#e6f0ff,#7fb0ff,transparent);transform:translate(-50%,-50%);box-shadow:0 0 8px #5f95ff;mix-blend-mode:screen;opacity:var(--fo)}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Lens"><button data-p="0" aria-pressed="true">Anamorphic</button><button data-p="1" aria-pressed="false">Spherical</button></div><div class="sc" id="sc"></div><label class="rw">Streak length <b id="sv">60%</b><input id="sl" type="range" min="0" max="100" value="60"></label><p class="out" id="out"></p></div>
</div>
<script>
const L=[[16,30,34,'#ffcf8a'],[36,58,44,'#ff9a5c'],[56,26,30,'#9fd0ff'],[72,52,46,'#ffe2a8'],[88,34,36,'#ff7a6b'],[28,76,26,'#9fd0ff'],[62,78,32,'#ffd38a']],sc=document.getElementById('sc'),sl=document.getElementById('sl'),bs=[...document.querySelectorAll('#pre button')];let p=0;
sc.innerHTML=L.map(l=>'<i class="bk" style="left:'+l[0]+'%;top:'+l[1]+'%;width:'+l[2]+'px;height:'+l[2]+'px;--c:'+l[3]+'"></i>').join('')+L.filter(l=>l[2]>=32).map(l=>'<i class="fl" style="left:'+l[0]+'%;top:'+l[1]+'%;width:'+(l[2]*5)+'px"></i>').join('');
function up(){sc.style.setProperty('--sx',p===0?.55:1);sc.style.setProperty('--fo',p===0?(sl.value/100):0);sl.disabled=p===1;document.getElementById('sv').textContent=sl.value+'%';document.getElementById('out').textContent=p===0?'Anamorphic: tall oval bokeh and a horizontal blue streak.':'Spherical: round bokeh, no streak.';bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}
bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));sl.addEventListener('input',up);up();
</script>
</body></html>