{"id":2273,"date":"2026-11-04T16:49:07","date_gmt":"2026-11-04T21:49:07","guid":{"rendered":"https:\/\/shutterhawkblindsanddesign.com\/o2\/?page_id=2273"},"modified":"2026-11-25T06:00:39","modified_gmt":"2026-11-25T11:00:39","slug":"window-treatment-visualizer","status":"publish","type":"page","link":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/","title":{"rendered":"Window Treatment Visualizer"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2273\" class=\"elementor elementor-2273\" data-elementor-post-type=\"page\">\n\t\t\t\t<section class=\"elementor-element elementor-element-555e6bcf e-con e-atomic-element e-flexbox-base e-default-section sh-bg-cream sh-section \" data-id=\"555e6bcf\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"555e6bcf\" data-e-type=\"e-flexbox\" data-id=\"555e6bcf\">\n    <div class=\"elementor-element elementor-element-62f4712b e-con e-atomic-element e-flexbox-base e-default-div sh-split e-31fc9767-85c3 \" data-id=\"62f4712b\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"62f4712b\" data-e-type=\"e-flexbox\" data-id=\"62f4712b\">\n    <div class=\"elementor-element elementor-element-4f5834c0 e-con e-atomic-element e-flexbox-base e-default-div sh-col \" data-id=\"4f5834c0\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"4f5834c0\" data-e-type=\"e-flexbox\" data-id=\"4f5834c0\">\n    \t\t\t<p class=\"sh-eyebrow e-paragraph-base e-default-p\" data-interaction-id=\"4991a3f3\" data-e-type=\"widget\" data-id=\"4991a3f3\">Window Treatment Visualizer<\/p>\n\t\t\t\t\t<h1 data-interaction-id=\"63045b5e\" class=\"sh-hero-h1 sh-h1 e-heading-base e-default-h1\" data-e-type=\"widget\" data-id=\"63045b5e\">Try It On Your Own Windows Before You Decide<\/h1>\n\t\t\t\t\t<p class=\"sh-lead sh-body e-paragraph-base e-default-p\" data-interaction-id=\"675e4d86\" data-e-type=\"widget\" data-id=\"675e4d86\">Upload a photo of your room and preview shutters, blinds, and shades in different colors, fabrics, and liners.<\/p>\n\t\t\t\t\t<p class=\"sh-body e-paragraph-base e-default-p\" data-interaction-id=\"2947e5b5\" data-e-type=\"widget\" data-id=\"2947e5b5\">It takes a few minutes and costs nothing. When you find something you like, send it to us and we will tell you what it would take to make it real in your home.<\/p>\n\t\t\n<\/div>\n<div class=\"elementor-element elementor-element-22bc6705 e-con e-atomic-element e-flexbox-base e-default-div sh-sticky sh-col \" data-id=\"22bc6705\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"22bc6705\" data-e-type=\"e-flexbox\" data-id=\"22bc6705\">\n    \t\t\t<img fetchpriority=\"high\" decoding=\"async\" class=\"e-image-base e-default-img sh-hero-img sh-img-cover\" data-interaction-id=\"74ec9c39\" data-e-type=\"widget\" data-id=\"74ec9c39\" id=\"3079\" src=\"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/11\/fabric-cornice-boards-bay-window-768x1024.jpg\" width=\"768\" height=\"1024\" srcset=\"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/11\/fabric-cornice-boards-bay-window-768x1024.jpg 768w, https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/11\/fabric-cornice-boards-bay-window-225x300.jpg 225w, https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/11\/fabric-cornice-boards-bay-window-1152x1536.jpg 1152w, https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/11\/fabric-cornice-boards-bay-window.jpg 1200w\" alt=\"Striped fabric cornice boards over banded shades in a bay window with two upholstered armchairs.\"\/>\t\t\n<\/div>\n\n<\/div>\n\n<\/section>\n<section class=\"elementor-element elementor-element-5994a7f7 e-con e-atomic-element e-flexbox-base e-default-section sh-pad-sm sh-section \" data-id=\"5994a7f7\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"5994a7f7\" data-e-type=\"e-flexbox\" data-id=\"5994a7f7\">\n    \t\t<div class=\"elementor-element elementor-element-2df946e elementor-widget__width-initial elementor-widget elementor-widget-html\" data-id=\"2df946e\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;wdt_animation_effect&quot;:&quot;none&quot;}\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div class=\"shv\"><link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin>\n<link rel=\"stylesheet\" href=\"https:\/\/fonts.googleapis.com\/css2?family=Young+Serif&family=Figtree:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap\">\n<style>\n.shv{\n  --ground:#F2F5F4; --panel:#FFFFFF; --well:#E3E9E8; --ink:#1C2628; --muted:#586664;\n  --line:#D6DEDC; --accent:#2E5E63; --accent-ink:#FFFFFF; --brass:#9A7338; --focus:#2E5E63;\n  --field:#FFFFFF;\n}\n.shv *{box-sizing:border-box}\n.shv [hidden]{display:none!important}\n.shv{background:var(--ground);margin:0}\n.shv{color:var(--ink);font-family:\"Figtree\",system-ui,-apple-system,\"Segoe UI\",sans-serif;font-size:15px;line-height:1.5}\n.shv .wrap{max-width:1280px;margin:0 auto;padding-inline:20px;padding-block:28px 48px}\n.shv .brand{font-family:\"IBM Plex Mono\",ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}\n.shv header.top{display:grid;gap:6px;margin-bottom:22px;max-width:760px}\n.shv .eyebrow{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--brass);margin-top:14px}\n.shv h1{font-family:\"Young Serif\",Georgia,\"Times New Roman\",serif;font-weight:400;font-size:clamp(28px,4.2vw,44px);line-height:1.08;margin:0;text-wrap:balance}\n.shv .lede{color:var(--muted);margin:4px 0 0;max-width:62ch}\n\n.shv .app{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:22px;align-items:start}\n@media (max-width:940px){.shv .app{grid-template-columns:minmax(0,1fr)}}\n\n.shv .stage{background:var(--well);border-radius:12px;padding:12px;position:sticky;top:calc(env(safe-area-inset-top,0px) + 12px)}\n@media (max-width:940px){.shv .stage{position:static}}\n.shv .canvas-box{display:flex;justify-content:center}\n.shv canvas#view{display:block;max-width:100%;max-height:74vh;width:auto;height:auto;border-radius:6px;background:#dde2df}\n.shv canvas#view.editing{cursor:crosshair;touch-action:none}\n.shv .toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}\n.shv .toolbar .spacer{flex:1}\n.shv .summary{font-family:\"IBM Plex Mono\",ui-monospace,Menlo,monospace;font-size:12.5px;color:var(--muted);margin-top:10px;font-variant-numeric:tabular-nums}\n.shv .hint{font-size:13px;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:8px 12px;margin-top:10px}\n\n.shv .btn{font:inherit;font-size:14px;font-weight:600;border-radius:7px;padding:9px 14px;border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer;user-select:none;-webkit-user-select:none}\n.shv .btn:hover{border-color:var(--accent)}\n.shv .btn[aria-pressed=\"true\"]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}\n.shv .btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);width:100%;padding:12px 16px;font-size:15px}\n.shv .btn.primary:hover{filter:brightness(1.07)}\n.shv .btn:focus-visible,.shv .chip:focus-visible,.shv .swatch:focus-visible,.shv .prod:focus-visible,.shv .thumb:focus-visible,.shv input:focus-visible,.shv textarea:focus-visible{outline:2px solid var(--focus);outline-offset:2px}\n\n.shv .panel{background:var(--panel);border:1px solid var(--line);border-radius:12px}\n.shv .step{padding:18px 18px 20px;display:grid;gap:12px}\n.shv .step + .step{border-top:1px solid var(--line)}\n.shv .step h2{margin:0;font-size:15px;font-weight:700;display:flex;gap:10px;align-items:baseline}\n.shv .step h2 .n{font-family:\"IBM Plex Mono\",ui-monospace,monospace;font-size:12px;font-weight:500;color:var(--brass)}\n.shv .note{font-size:13px;color:var(--muted);margin:0}\n\n.shv .drop{border:2px dashed var(--line);border-radius:10px;padding:18px;display:grid;gap:10px;justify-items:center;text-align:center;background:var(--field)}\n.shv .drop.over{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--field))}\n.shv .drop p{margin:0;font-size:13px;color:var(--muted)}\n.shv .shot{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center}\n.shv .shot img{width:96px;aspect-ratio:3\/2;object-fit:cover;border-radius:8px;border:1px solid var(--line)}\n.shv .gated{transition:opacity .2s}\n.shv .panel.nophoto .gated{opacity:.4;pointer-events:none}\n.shv .stage.over canvas#view{outline:3px solid var(--accent);outline-offset:3px}\n.shv .tip{font-size:13px;margin:0;color:var(--ink)}\n.shv .tip b{font-weight:600}\n\n.shv .prods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}\n.shv .prod{font:inherit;text-align:left;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:7px;padding:9px 11px;cursor:pointer;font-weight:600;font-size:14px}\n.shv .prod:hover{border-color:var(--accent)}\n.shv .prod[aria-pressed=\"true\"]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}\n.shv .blurb{font-size:13.5px;color:var(--muted);margin:0;min-height:2.9em}\n\n.shv .swatches{display:flex;flex-wrap:wrap;gap:9px}\n.shv .swatch{width:36px;height:36px;border-radius:50%;border:1px solid rgba(0,0,0,.18);cursor:pointer;padding:0;position:relative}\n.shv .swatch[aria-pressed=\"true\"]{box-shadow:0 0 0 3px var(--panel),0 0 0 5px var(--accent)}\n.shv .swatch-name{font-size:13px;color:var(--muted)}\n.shv .swatch-name b{color:var(--ink);font-weight:600}\n\n.shv .ctl{display:grid;gap:6px}\n.shv .ctl-label{font-size:13px;font-weight:600}\n.shv .chips{display:flex;flex-wrap:wrap;gap:6px}\n.shv .chip{font:inherit;font-size:13px;font-weight:500;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:6px;padding:7px 11px;cursor:pointer}\n.shv .chip:hover{border-color:var(--accent)}\n.shv .chip[aria-pressed=\"true\"]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}\n.shv .range{display:grid;gap:2px}\n.shv .range input{width:100%;accent-color:var(--accent)}\n.shv .range .ends{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}\n\n.shv form{display:grid;gap:10px}\n.shv label.f{display:grid;gap:4px;font-size:13px;font-weight:600}\n.shv input[type=text],.shv input[type=email],.shv textarea{font:inherit;font-size:15px;font-weight:400;color:var(--ink);background:var(--field);border:1px solid var(--line);border-radius:7px;padding:10px 11px;width:100%}\n.shv textarea{resize:vertical;min-height:70px}\n.shv .fine{font-size:12px;color:var(--muted);margin:0}\n.shv .err{font-size:13px;color:#B3412F;margin:0}\n.shv .done{display:grid;gap:12px}\n.shv .done img{width:100%;border-radius:8px;border:1px solid var(--line)}\n.shv .done h3{font-family:\"Young Serif\",Georgia,serif;font-weight:400;font-size:22px;margin:0}\n.shv .done p{margin:0}\n.shv .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}\n\n\/* layout: photo on the left, choices on the right, send form across the bottom *\/\n.shv header.top{gap:4px;margin-bottom:14px;max-width:none}\n.shv .wrap{padding-block:16px 40px}\n.shv .lede{max-width:96ch}\n.shv .eyebrow{margin-top:8px}\n.shv h1{font-size:clamp(26px,3.4vw,38px)}\n.shv .app{grid-template-columns:minmax(0,1fr) 340px;grid-template-areas:\"stage side\" \"send send\";gap:18px 22px}\n.shv .left{grid-area:stage;display:grid;gap:18px;min-width:0}\n.shv .stage{position:static}\n.shv .side{grid-area:side}\n.shv .sendrow{grid-area:send}\n@media (max-width:940px){.shv .app{grid-template-columns:minmax(0,1fr);grid-template-areas:\"stage\" \"side\" \"send\"}}\n.shv canvas#view{max-height:max(300px,min(540px,calc(100vh - 275px)))}\n.shv canvas#view.empty{cursor:pointer}\n.shv .step{padding:14px 16px 16px;gap:10px}\n.shv .app.nophoto .gated{opacity:.4;pointer-events:none}\n.shv .stage .tip{margin-top:10px;color:var(--muted)}\n.shv .stage .tip b{color:var(--ink)}\n.shv .summary{white-space:pre-line}\n.shv .wins{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}\n.shv .wins-label{font-size:13px;font-weight:700;margin-right:4px}\n.shv .btn.sm{font-size:13px;padding:7px 11px}\n.shv .for{font-size:13px;padding:10px 16px;background:color-mix(in srgb,var(--accent) 9%,var(--panel));border-bottom:1px solid var(--line);border-radius:12px 12px 0 0}\n.shv .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}\n.shv .form-grid .full{grid-column:1\/-1}\n.shv .form-grid .notes{grid-column:span 2}\n.shv .form-grid .act{display:grid;gap:8px;align-content:end}\n.shv label.check{display:flex;gap:8px;align-items:flex-start;font-size:13px;font-weight:500}\n.shv label.check input{margin-top:3px;accent-color:var(--accent)}\n.shv .done{grid-template-columns:minmax(0,420px) minmax(0,1fr);align-items:start;gap:18px}\n.shv .done .txt{display:grid;gap:12px}\n.shv .done .btn{text-align:center;text-decoration:none}\n@media (max-width:700px){.shv .form-grid{grid-template-columns:minmax(0,1fr)}.shv .form-grid .notes{grid-column:auto}.shv .done{grid-template-columns:minmax(0,1fr)}}\n<\/style>\n\n\n\n<div class=\"wrap\">\n  <header class=\"top\">\n    <div class=\"brand\">Shutterhawk Blinds &amp; Design<\/div>\n    <div class=\"eyebrow\">Cannot picture it yet?<\/div>\n    <h1>See It On Your Own Windows First<\/h1>\n    <p class=\"lede\">Take a photo of the room you want to change, with the window in the shot, and upload it here. Try different styles and colors until something looks right. When you find a combination you like, send it to us and we will tell you what it would take to make it real in your home.<\/p>\n  <\/header>\n\n  <div class=\"app nophoto\" id=\"app\">\n   <div class=\"left\">\n    <section class=\"stage\" aria-label=\"Your room\">\n      <div class=\"canvas-box\"><canvas id=\"view\" class=\"empty\" width=\"1200\" height=\"800\" role=\"img\" aria-label=\"Room preview\"><\/canvas><\/div>\n      <div class=\"toolbar\">\n        <button class=\"btn\" id=\"compareBtn\" type=\"button\">Hold to see before<\/button>\n        <button class=\"btn\" id=\"editBtn\" type=\"button\" aria-pressed=\"false\">Adjust window outline<\/button>\n        <button class=\"btn\" id=\"resetBtn\" type=\"button\" hidden>Square it up<\/button>\n        <button class=\"btn\" id=\"remoteBtn\" type=\"button\" hidden>Try the remote<\/button>\n        <span class=\"spacer\"><\/span>\n        <button class=\"btn\" id=\"changeBtn\" type=\"button\" hidden>Change photo<\/button>\n      <\/div>\n      <div class=\"hint\" id=\"editHint\" hidden>Drag each corner of the outline onto a corner of the window in your photo. Each corner moves on its own, so the outline can follow a window photographed at an angle. Drag inside the outline to move it. Press <b>Done<\/b> when it lines up.<\/div>\n      <div class=\"wins\" id=\"winsBar\" hidden>\n        <span class=\"wins-label\">Windows in this photo<\/span>\n        <span class=\"chips\" id=\"winChips\"><\/span>\n        <button class=\"btn sm\" id=\"addWin\" type=\"button\">+ Add another window<\/button>\n        <button class=\"btn sm\" id=\"matchWin\" type=\"button\" hidden>Use this look on every window<\/button>\n        <button class=\"btn sm\" id=\"delWin\" type=\"button\" hidden>Remove this window<\/button>\n      <\/div>\n      <div class=\"summary\" id=\"summary\"><\/div>\n      <p class=\"tip\" id=\"tip\"><b>Two things that make a difference.<\/b> Get the whole window in the shot, with some of the room around it, so you can see how it will look in the space. A photo taken at an angle is fine. Drag each corner of the outline onto a corner of the window and the treatment follows the angle. Two or more windows side by side? Add one for each.<\/p>\n      <input type=\"file\" id=\"fileInput\" accept=\"image\/*\" class=\"sr\">\n    <\/section>\n   <\/div>\n\n    <aside class=\"panel side\" id=\"panel\">\n      <div class=\"for\" id=\"forWin\" hidden><\/div>\n      <div class=\"step gated\">\n        <h2><span class=\"n\">1<\/span>Choose a style<\/h2>\n        <div class=\"prods\" id=\"prods\"><\/div>\n        <p class=\"blurb\" id=\"blurb\"><\/p>\n      <\/div>\n\n      <div class=\"step gated\">\n        <h2><span class=\"n\">2<\/span>Choose a color<\/h2>\n        <div class=\"swatches\" id=\"swatches\"><\/div>\n        <div class=\"swatch-name\" id=\"swatchName\"><\/div>\n        <p class=\"note\">Colors on a screen are close, not exact. We bring real samples to your home so you can see them in your own light.<\/p>\n      <\/div>\n      <div class=\"step gated\">\n        <h2><span class=\"n\">3<\/span>Fine-tune it<\/h2>\n        <div id=\"controls\" style=\"display:grid;gap:14px\"><\/div>\n      <\/div>\n    <\/aside>\n\n    <section class=\"panel sendrow\" aria-label=\"Send your design\">\n      <div class=\"step gated\" id=\"sendStep\">\n        <h2><span class=\"n\">4<\/span>Send us your design<\/h2>\n        <form id=\"leadForm\" class=\"form-grid\" novalidate>\n          <p class=\"note full\">We will look at what you made and reach out to talk through sizing, options and a clear, line-item price.<\/p>\n          <label class=\"f\" for=\"fName\">Name<input type=\"text\" id=\"fName\" autocomplete=\"name\" required><\/label>\n          <label class=\"f\" for=\"fEmail\">Email<input type=\"email\" id=\"fEmail\" autocomplete=\"email\" required><\/label>\n          <label class=\"f\" for=\"fHood\">Neighborhood or town<input type=\"text\" id=\"fHood\" autocomplete=\"address-level2\"><\/label>\n          <label class=\"f notes\" for=\"fNotes\">Anything we should know? <span style=\"font-weight:400;color:var(--muted)\">(optional)<\/span><textarea id=\"fNotes\" placeholder=\"How many windows, new build or existing home, timing\"><\/textarea><\/label>\n          <div class=\"act\">\n            <label class=\"check\" for=\"fCopy\"><input type=\"checkbox\" id=\"fCopy\" checked>Email me a copy of my design<\/label>\n            <p class=\"err\" id=\"formErr\" hidden><\/p>\n            <button class=\"btn primary\" type=\"submit\">Send My Design<\/button>\n            <p class=\"fine\">We use your email to send you your design and to follow up about your project, and nothing else.<\/p>\n          <\/div>\n        <\/form>\n        <div class=\"done\" id=\"done\" hidden><\/div>\n      <\/div>\n    <\/section>\n  <\/div>\n<\/div>\n\n\n<script>\n\/* ============================================================\n   SITE SETTINGS - the only lines the developer needs to change\n   formEndpoint: URL that receives each submission as JSON (POST).\n     Set for the Shutterhawk Design Emails WordPress plugin, which\n     emails every design to Shutterhawk and a copy to the visitor.\n     If this file is hosted on a different site than WordPress,\n     use the full address: https:\/\/YOUR-SITE\/wp-json\/shutterhawk\/v1\/design\n     Leave empty to show the thank-you screen without sending.\n   bookingUrl: where \"Schedule a Call\" goes.\n   notifyEmail: the Shutterhawk inbox that gets every design.\n   Every submission must be emailed to two people:\n     1. Shutterhawk, at notifyEmail.\n     2. The visitor, at \"email\", whenever copyToVisitor is true\n        (they ticked \"Email me a copy of my design\").\n   \"sendTo\" already lists both addresses. Each email should\n   include the design picture (\"design\", a JPG image), the\n   summary of what they chose, and their notes.\n   ============================================================ *\/\nconst CONFIG={\n  formEndpoint:\"\/wp-json\/shutterhawk\/v1\/design\",\n  bookingUrl:\"\/consultation\/\",\n  notifyEmail:\"hello@shutterhawkblindsanddesign.com\"\n};\nfunction sendLead(data){\n  if(!CONFIG.formEndpoint) return Promise.resolve(true);\n  return fetch(CONFIG.formEndpoint,{method:\"POST\",headers:{\"Content-Type\":\"application\/json\",\"Accept\":\"application\/json\"},body:JSON.stringify(data)})\n    .then(r=>r.ok).catch(()=>false);\n}\n\/* Tells the page around the embed how tall the tool is, so the iframe never scrolls. *\/\n(function(){let last=0;function post(){const h=Math.ceil(document.documentElement.scrollHeight);if(h!==last){last=h;try{parent.postMessage({shutterhawkTool:true,height:h},\"*\");}catch(e){}}}\n  window.addEventListener(\"load\",post);window.addEventListener(\"resize\",post);\n  if(window.ResizeObserver) new ResizeObserver(post).observe(document.documentElement); else setInterval(post,800);})();\n(function(){\nif(!CanvasRenderingContext2D.prototype.roundRect){\n  CanvasRenderingContext2D.prototype.roundRect=function(x,y,w,h){this.rect(x,y,w,h);};\n}\nconst reduceMotion = window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches;\n\n\/* ---------- color helpers ---------- *\/\nfunction hx(h){const n=parseInt(h.slice(1),16);return [n>>16&255,n>>8&255,n&255];}\nfunction tone(h,amt,a){const c=hx(h),t=amt<0?0:255,k=Math.abs(amt||0);\n  const v=c.map(x=>Math.round(x+(t-x)*k));return `rgba(${v[0]},${v[1]},${v[2]},${a==null?1:a})`;}\nfunction rng(seed){let s=seed;return ()=>{s=(s*16807)%2147483647;return (s-1)\/2147483646;};}\n\n\/* ---------- catalog ---------- *\/\nconst FABRIC=[[\"Linen White\",\"#EDE9E0\"],[\"Oyster\",\"#D7D0C3\"],[\"Sea Oat\",\"#C8B793\"],[\"Driftwood\",\"#9C8E7E\"],[\"Pier Gray\",\"#899196\"],[\"Marsh\",\"#7B8A6C\"],[\"Harbor Navy\",\"#2F4155\"],[\"Charcoal\",\"#3A3C3F\"]];\nconst WOOD=[[\"Bright White\",\"#F6F5F1\"],[\"Soft White\",\"#ECE5D6\"],[\"Weathered Gray\",\"#A6A29A\"],[\"Natural Oak\",\"#B78F5D\"],[\"Honey\",\"#98693A\"],[\"Espresso\",\"#4A3527\"]];\nconst NATURAL=[[\"Bamboo\",\"#C6A673\"],[\"Jute\",\"#A8895D\"],[\"Seagrass\",\"#9C9A70\"],[\"Tidewater\",\"#8E8A82\"],[\"Walnut Reed\",\"#6D5238\"]];\nconst SHEERC=[[\"Snow\",\"#F4F3EF\"],[\"Pearl\",\"#E1DCD1\"],[\"Dove\",\"#B8B7B1\"],[\"Mocha\",\"#8B7665\"]];\n\nconst PRODUCTS={\n  shutters:{label:\"Shutters\",pal:WOOD,ctl:[\"louver\",\"tilt\"],blurb:\"Built to fit the window exactly. Tilt the louvers for light and privacy, and enjoy them for as long as you own the home.\"},\n  blinds:{label:\"Blinds\",pal:WOOD,ctl:[\"slat\",\"tilt\",\"open\",\"mount\",\"cordless\"],blurb:\"Tilt for light, lift for the view. Wood and faux wood in finishes that match your trim.\"},\n  cellular:{label:\"Cellular Shades\",pal:FABRIC,ctl:[\"light\",\"open\",\"mount\",\"motor\"],blurb:\"Honeycomb pleats that hold air, so rooms stay cooler in summer and warmer in winter.\"},\n  roller:{label:\"Roller Shades\",pal:FABRIC,ctl:[\"light\",\"open\",\"mount\",\"motor\"],blurb:\"Clean and simple. One smooth piece of fabric that rolls up out of sight.\"},\n  roman:{label:\"Roman Shades\",pal:FABRIC,ctl:[\"light\",\"open\",\"mount\",\"motor\"],blurb:\"Soft fabric that folds up in neat pleats. Tailored, warm and easy to live with.\"},\n  woven:{label:\"Woven Wood\",pal:NATURAL,ctl:[\"liner\",\"open\",\"mount\",\"motor\"],blurb:\"Natural bamboo, reed and grasses. Texture that brings the outdoors in.\"},\n  sheer:{label:\"Sheer Shades\",pal:SHEERC,ctl:[\"vanes\",\"open\",\"mount\",\"motor\"],blurb:\"Alternating sheer and solid bands. Line them up for a view, overlap them for privacy.\"},\n  drapes:{label:\"Draperies\",pal:FABRIC,ctl:[\"drape\",\"dFabric\",\"dLength\",\"motor\"],blurb:\"Fabric panels that frame the window and soften the whole room.\"}\n};\n\n\/* Each window in the photo keeps its own outline and its own choices. *\/\nconst WK=[\"quad\",\"floorLocal\",\"product\",\"colorIdx\",\"light\",\"mount\",\"open\",\"tilt\",\"louver\",\"slat\",\"liner\",\"dFabric\",\"dLength\",\"motor\"];\nconst base={room:\"living\",photo:null,photoURL:null,edit:false,compare:false,wins:[],active:0};\nconst MAXWIN=6;\nfunction newWin(quad,from){\n  const w=from?JSON.parse(JSON.stringify(from)):{product:\"shutters\",\n    colorIdx:{shutters:0,blinds:3,cellular:2,roller:1,roman:5,woven:0,sheer:1,drapes:6},\n    light:\"filter\",mount:\"inside\",open:.3,tilt:.55,louver:3.5,slat:2,liner:false,dFabric:\"lined\",dLength:\"floor\",motor:false};\n  w.quad=quad;w.floorLocal=0;return w;\n}\nconst state=new Proxy(base,{\n  get(t,k){return WK.includes(k)?t.wins[t.active][k]:t[k];},\n  set(t,k,v){if(WK.includes(k)) t.wins[t.active][k]=v; else t[k]=v;return true;}\n});\nconst LIGHT={sheer:[.5,\"See-through\"],filter:[.86,\"Soft light\"],dark:[1,\"Room darkening\"]};\n\n\/* ---------- canvas ---------- *\/\nconst cv=document.getElementById(\"view\"),mainCtx=cv.getContext(\"2d\"),off=document.createElement(\"canvas\");let ctx=mainCtx;\nfunction W(){return cv.width;} function H(){return cv.height;}\n\nfunction color(){const p=PRODUCTS[state.product];return p.pal[state.colorIdx[state.product]]||p.pal[0];}\nfunction opacity(){\n  const p=state.product;\n  if(p===\"woven\") return state.liner?1:.9;\n  if(p===\"drapes\") return state.dFabric===\"sheer\"?.55:1;\n  if(p===\"sheer\"||p===\"shutters\"||p===\"blinds\") return 1;\n  return LIGHT[state.light][0];\n}\nfunction rect(b){\n  const p=state.product;\n  if(p===\"shutters\"||p===\"drapes\"||state.mount!==\"outside\") return {x:b.x,y:b.y,w:b.w,h:b.h};\n  const mx=Math.max(8,b.w*.07),mt=Math.max(12,b.h*.07);\n  return {x:b.x-mx,y:b.y-mt,w:b.w+2*mx,h:b.h+mt+Math.max(8,b.h*.03)};\n}\n\nfunction cassette(r,c,hh){\n  const g=ctx.createLinearGradient(0,r.y,0,r.y+hh);g.addColorStop(0,tone(c,.18));g.addColorStop(1,tone(c,-.22));\n  ctx.fillStyle=g;ctx.beginPath();ctx.roundRect(r.x-2,r.y,r.w+4,hh,[3,3,2,2]);ctx.fill();\n  ctx.fillStyle=\"rgba(0,0,0,.14)\";ctx.fillRect(r.x-2,r.y+hh-1,r.w+4,2);\n}\nfunction chain(x,y0,len){\n  if(state.motor) return;\n  ctx.save();ctx.strokeStyle=\"rgba(170,176,180,.95)\";ctx.lineWidth=2.4;ctx.setLineDash([2.5,3]);\n  ctx.beginPath();ctx.moveTo(x,y0);ctx.lineTo(x,y0+len);ctx.stroke();ctx.restore();\n}\nfunction fabricTexture(x,y,w,h,alpha){ctx.fillStyle=`rgba(0,0,0,${alpha})`;for(let yy=y;yy<y+h;yy+=3)ctx.fillRect(x,yy,w,1);}\n\nfunction drawRoller(r,c,o,a){\n  const hh=Math.max(10,r.h*.055),avail=r.h-hh,drop=Math.max(6,avail*(1-o)),y0=r.y+hh;\n  const g=ctx.createLinearGradient(r.x,0,r.x+r.w,0);g.addColorStop(0,tone(c,-.06,a));g.addColorStop(.5,tone(c,.05,a));g.addColorStop(1,tone(c,-.06,a));\n  ctx.fillStyle=g;ctx.fillRect(r.x,y0,r.w,drop);\n  fabricTexture(r.x,y0,r.w,drop,.025);\n  ctx.fillStyle=tone(c,-.32);ctx.fillRect(r.x,y0+drop-6,r.w,7);\n  cassette(r,c,hh);chain(r.x+r.w-9,y0,Math.min(r.h*.65,avail));\n}\nfunction drawCellular(r,c,o,a){\n  const hh=Math.max(9,r.h*.045),avail=r.h-hh,ch=Math.max(7,r.h\/26);\n  const stack=avail*o*.07,y0=r.y+hh+stack,drop=Math.max(ch,(avail-stack)*(1-o)),y1=y0+drop;\n  ctx.fillStyle=tone(c,-.08,a);ctx.fillRect(r.x,r.y+hh,r.w,stack);\n  ctx.fillStyle=\"rgba(0,0,0,.08)\";for(let y=r.y+hh;y<y0;y+=2.5)ctx.fillRect(r.x,y,r.w,1);\n  for(let yy=y0;yy<y1;yy+=ch){\n    const hgt=Math.min(ch,y1-yy),g=ctx.createLinearGradient(0,yy,0,yy+ch);\n    g.addColorStop(0,tone(c,.08,a));g.addColorStop(.55,tone(c,-.01,a));g.addColorStop(1,tone(c,-.17,a));\n    ctx.fillStyle=g;ctx.fillRect(r.x,yy,r.w,hgt);\n  }\n  ctx.fillStyle=tone(c,-.12);ctx.beginPath();ctx.roundRect(r.x,y1-3,r.w,8,3);ctx.fill();\n  cassette(r,c,hh);\n}\nfunction drawRoman(r,c,o,a){\n  const hh=Math.max(10,r.h*.05),avail=r.h-hh,y0=r.y+hh,fold=Math.max(22,avail\/6),ph=fold*.42;\n  const k=o<.03?0:Math.max(1,Math.round(o*avail\/fold*.85));\n  let flat=Math.max(0,avail*(1-o)-k*ph*.2);\n  if(flat+k*ph>avail) flat=avail-k*ph;\n  const g=ctx.createLinearGradient(r.x,0,r.x+r.w,0);g.addColorStop(0,tone(c,-.05,a));g.addColorStop(.5,tone(c,.04,a));g.addColorStop(1,tone(c,-.05,a));\n  ctx.fillStyle=g;ctx.fillRect(r.x,y0,r.w,flat);\n  fabricTexture(r.x,y0,r.w,flat,.02);\n  for(let y=y0+fold;y<y0+flat-4;y+=fold){const sg=ctx.createLinearGradient(0,y-6,0,y+2);sg.addColorStop(0,\"rgba(0,0,0,0)\");sg.addColorStop(1,\"rgba(0,0,0,.09)\");ctx.fillStyle=sg;ctx.fillRect(r.x,y-6,r.w,8);}\n  let yy=y0+flat;\n  for(let i=0;i<k;i++){\n    const pg=ctx.createLinearGradient(0,yy,0,yy+ph);pg.addColorStop(0,tone(c,.1,a));pg.addColorStop(.6,tone(c,-.04,a));pg.addColorStop(1,tone(c,-.26,a));\n    ctx.fillStyle=pg;ctx.beginPath();ctx.roundRect(r.x-2,yy-2,r.w+4,ph+2,[0,0,ph*.5,ph*.5]);ctx.fill();yy+=ph*.78;\n  }\n  if(k===0){ctx.fillStyle=tone(c,-.2,a);ctx.fillRect(r.x,y0+flat-3,r.w,3);}\n  ctx.fillStyle=tone(c,-.04);ctx.fillRect(r.x-2,r.y,r.w+4,hh);ctx.fillStyle=\"rgba(0,0,0,.12)\";ctx.fillRect(r.x-2,r.y+hh-2,r.w+4,2);\n  chain(r.x+r.w-9,y0,Math.min(r.h*.6,avail));\n}\nfunction weave(x,y,w,h,c,a,seed){\n  const R=rng(seed);\n  for(let yy=y;yy<y+h;yy+=3.2){ctx.fillStyle=tone(c,(R()-.5)*.24,a);ctx.fillRect(x,yy,w,Math.min(2.5,y+h-yy));}\n  ctx.fillStyle=\"rgba(50,35,20,.28)\";for(let xx=x+w\/30;xx<x+w;xx+=w\/15)ctx.fillRect(xx,y,1.2,h);\n}\nfunction drawWoven(r,c,o,a){\n  const vh=Math.max(16,r.h*.085),avail=r.h-vh,y0=r.y+vh,drop=Math.max(8,avail*(1-o));\n  if(state.liner){ctx.fillStyle=tone(c,.55);ctx.fillRect(r.x,y0,r.w,drop);}\n  weave(r.x,y0,r.w,drop,c,a,3);\n  ctx.fillStyle=tone(c,-.35);ctx.fillRect(r.x,y0+drop-5,r.w,6);\n  weave(r.x-3,r.y,r.w+6,vh,c,1,9);\n  ctx.fillStyle=\"rgba(0,0,0,.2)\";ctx.fillRect(r.x-3,r.y+vh-2,r.w+6,3);\n  chain(r.x+r.w-9,y0,Math.min(r.h*.6,avail));\n}\nfunction drawSheer(r,c,o,a){\n  const hh=Math.max(10,r.h*.055),avail=r.h-hh,y0=r.y+hh,drop=Math.max(8,avail*(1-o)),y1=y0+drop,b=Math.max(12,r.h\/11);\n  ctx.fillStyle=tone(c,.2,.3);ctx.fillRect(r.x,y0,r.w,drop);\n  ctx.fillStyle=\"rgba(255,255,255,.08)\";for(let x=r.x;x<r.x+r.w;x+=3)ctx.fillRect(x,y0,1,drop);\n  const ob=b*(.5+.52*state.tilt);\n  for(let yy=y0;yy<y1;yy+=b){\n    const hgt=Math.min(ob,y1-yy),g=ctx.createLinearGradient(0,yy,0,yy+ob);\n    g.addColorStop(0,tone(c,.04,.96));g.addColorStop(1,tone(c,-.12,.96));ctx.fillStyle=g;ctx.fillRect(r.x,yy,r.w,hgt);\n  }\n  ctx.fillStyle=tone(c,-.3);ctx.fillRect(r.x,y1-5,r.w,6);\n  cassette(r,c,hh);chain(r.x+r.w-9,y0,Math.min(r.h*.6,avail));\n}\nfunction drawBlinds(r,c,o,t){\n  const wasMotor=state.motor;state.motor=false;\n  const hh=Math.max(10,r.h*.045),avail=r.h-hh,pitch=Math.max(6,r.h*state.slat*.88\/60);\n  const stack=avail*o*.11,ys=r.y+hh+stack,ye=Math.max(ys+pitch,r.y+hh+avail*(1-o*.88));\n  ctx.fillStyle=tone(c,-.06);ctx.fillRect(r.x,r.y+hh,r.w,stack);\n  ctx.fillStyle=\"rgba(0,0,0,.14)\";for(let y=r.y+hh;y<ys;y+=2.2)ctx.fillRect(r.x,y,r.w,1);\n  ctx.strokeStyle=tone(c,-.18);ctx.lineWidth=2;\n  [.17,.83].forEach(f=>{ctx.beginPath();ctx.moveTo(r.x+r.w*f,r.y+hh);ctx.lineTo(r.x+r.w*f,ye);ctx.stroke();});\n  const vh=Math.min(pitch*1.06,pitch*(.16+.92*t));\n  for(let yy=ys;yy<ye-pitch*.4;yy+=pitch){\n    const top=yy+(pitch-vh)\/2,g=ctx.createLinearGradient(0,top,0,top+vh);\n    g.addColorStop(0,tone(c,.14));g.addColorStop(.5,tone(c,0));g.addColorStop(1,tone(c,-.2));\n    ctx.fillStyle=g;ctx.fillRect(r.x+1,top,r.w-2,vh);\n    ctx.fillStyle=\"rgba(0,0,0,.1)\";ctx.fillRect(r.x+1,top+vh,r.w-2,1.5);\n  }\n  const g=ctx.createLinearGradient(0,ye,0,ye+pitch*.8);g.addColorStop(0,tone(c,.1));g.addColorStop(1,tone(c,-.25));\n  ctx.fillStyle=g;ctx.fillRect(r.x,ye,r.w,pitch*.8);\n  cassette(r,c,hh);\n  if(!state.motor){\n    ctx.strokeStyle=tone(c,-.25);ctx.lineWidth=2;ctx.beginPath();ctx.moveTo(r.x+r.w*.93,r.y+hh);ctx.lineTo(r.x+r.w*.93,ye+r.h*.12);ctx.stroke();\n    ctx.fillStyle=tone(c,-.2);ctx.beginPath();ctx.roundRect(r.x+r.w*.93-4,ye+r.h*.12,8,16,3);ctx.fill();\n    ctx.fillStyle=\"rgba(235,235,232,.95)\";ctx.fillRect(r.x+r.w*.07-2,r.y+hh,4,r.h*.36);\n  }\n  state.motor=wasMotor;\n}\nfunction drawShutters(r,c,t){\n  const fw=Math.max(8,r.w*.035);\n  const fg=(x,y,w,h,horiz)=>{const g=horiz?ctx.createLinearGradient(0,y,0,y+h):ctx.createLinearGradient(x,0,x+w,0);g.addColorStop(0,tone(c,.08));g.addColorStop(1,tone(c,-.12));ctx.fillStyle=g;ctx.fillRect(x,y,w,h);};\n  fg(r.x-fw,r.y-fw,r.w+2*fw,fw,true);fg(r.x-fw,r.y+r.h,r.w+2*fw,fw,true);fg(r.x-fw,r.y,fw,r.h,false);fg(r.x+r.w,r.y,fw,r.h,false);\n  ctx.strokeStyle=\"rgba(0,0,0,.16)\";ctx.lineWidth=1.5;ctx.strokeRect(r.x,r.y,r.w,r.h);\n  const ratio=r.w\/r.h,n=ratio>1.05?4:(r.w<r.h*.33?1:2),pw=r.w\/n,s=Math.max(6,pw*.085),rail=s*1.3;\n  const divider=r.h\/r.w>1.1||(n===4&&r.h>r.w*.8);\n  for(let i=0;i<n;i++){\n    const px=r.x+i*pw,a0=r.y+rail,b0=r.y+r.h-rail;\n    const sections=divider?[[a0,r.y+r.h*.5-rail*.5],[r.y+r.h*.5+rail*.5,b0]]:[[a0,b0]];\n    sections.forEach(([a,b])=>{\n      const pitch0=Math.max(8,r.h*state.louver*.84\/60),cnt=Math.max(2,Math.round((b-a)\/pitch0)),p=(b-a)\/cnt;\n      const vh=Math.min(p*1.04,p*(.24+.84*t));\n      for(let k=0;k<cnt;k++){\n        const top=a+k*p+(p-vh)\/2,g=ctx.createLinearGradient(0,top,0,top+vh);\n        g.addColorStop(0,tone(c,.16));g.addColorStop(.45,tone(c,0));g.addColorStop(1,tone(c,-.24));\n        ctx.fillStyle=g;ctx.fillRect(px+s,top,pw-2*s,vh);\n        ctx.fillStyle=`rgba(0,0,0,${.06+.1*(1-t)})`;ctx.fillRect(px+s,top+vh,pw-2*s,1.5);\n      }\n      ctx.strokeStyle=tone(c,-.12);ctx.lineWidth=3;ctx.beginPath();ctx.moveTo(px+pw\/2,a+p*.5);ctx.lineTo(px+pw\/2,b-p*.5);ctx.stroke();\n    });\n    fg(px,r.y,s,r.h,false);fg(px+pw-s,r.y,s,r.h,false);\n    fg(px+s,r.y,pw-2*s,rail,true);fg(px+s,r.y+r.h-rail,pw-2*s,rail,true);\n    if(divider) fg(px+s,r.y+r.h*.5-rail*.5,pw-2*s,rail,true);\n    ctx.strokeStyle=\"rgba(0,0,0,.2)\";ctx.lineWidth=1.2;ctx.strokeRect(px+.5,r.y+.5,pw-1,r.h-1);\n  }\n}\nfunction drawDrapes(r,c,o,a){\n  const rodY=r.y-Math.max(18,r.h*.1),x0=r.x-r.w*.24,x1=r.x+r.w*1.24,span=x1-x0,half=span\/2;\n  const stackW=r.w*.33,pw=stackW+(half-stackW+8)*(1-o);\n  const bottom=state.dLength===\"floor\"?state.floorLocal-3:r.y+r.h+Math.max(18,r.h*.1);\n  const top=rodY+4;\n  const panel=(x,w)=>{\n    const n=Math.max(4,Math.round(w\/(16+14*o))),g=ctx.createLinearGradient(x,0,x+w,0);\n    for(let i=0;i<=n;i++)g.addColorStop(i\/n,i%2?tone(c,.1,a):tone(c,-.17,a));\n    ctx.fillStyle=g;ctx.beginPath();ctx.moveTo(x,top);ctx.lineTo(x+w,top);ctx.lineTo(x+w,bottom);\n    for(let i=n;i>0;i--){const xa=x+w*(i\/n),xb=x+w*((i-1)\/n);ctx.quadraticCurveTo((xa+xb)\/2,bottom+(i%2?5:-2),xb,bottom);}\n    ctx.closePath();ctx.fill();\n    const vg=ctx.createLinearGradient(0,top,0,top+30);vg.addColorStop(0,\"rgba(0,0,0,.14)\");vg.addColorStop(1,\"rgba(0,0,0,0)\");ctx.fillStyle=vg;ctx.fillRect(x,top,w,30);\n    ctx.strokeStyle=\"#4A443D\";ctx.lineWidth=2;for(let i=0;i<=n;i++){ctx.beginPath();ctx.arc(x+w*(i\/n),rodY,5,0,7);ctx.stroke();}\n  };\n  panel(x0,pw);panel(x1-pw,pw);\n  ctx.strokeStyle=\"#3D3833\";ctx.lineWidth=6;ctx.lineCap=\"round\";ctx.beginPath();ctx.moveTo(x0-16,rodY);ctx.lineTo(x1+16,rodY);ctx.stroke();ctx.lineCap=\"butt\";\n  ctx.fillStyle=\"#3D3833\";[x0-20,x1+20].forEach(x=>{ctx.beginPath();ctx.arc(x,rodY,9,0,7);ctx.fill();});\n}\nfunction coverage(){\n  const p=state.product,o=state.open,t=state.tilt,a=opacity();\n  if(p===\"shutters\") return t*.95;\n  if(p===\"blinds\") return (1-o*.9)*(.15+.85*t);\n  if(p===\"sheer\") return (1-o)*(.45+.5*t);\n  return (1-o)*a*(p===\"woven\"&&!state.liner?.7:1);\n}\nfunction cssVar(n){return getComputedStyle(document.documentElement).getPropertyValue(n).trim()||\"#888\";}\nfunction drawEmpty(){\n  const w=W(),h=H();\n  ctx.fillStyle=cssVar(\"--panel\");ctx.fillRect(0,0,w,h);\n  ctx.save();ctx.setLineDash([16,12]);ctx.lineWidth=4;ctx.strokeStyle=cssVar(\"--line\");\n  ctx.beginPath();ctx.roundRect(36,36,w-72,h-72,16);ctx.stroke();ctx.restore();\n  const cx=w\/2,cy=h\/2;\n  ctx.strokeStyle=cssVar(\"--muted\");ctx.lineWidth=5;\n  ctx.beginPath();ctx.roundRect(cx-74,cy-134,148,104,12);ctx.stroke();\n  ctx.beginPath();ctx.moveTo(cx-40,cy-134);ctx.lineTo(cx-28,cy-152);ctx.lineTo(cx+28,cy-152);ctx.lineTo(cx+40,cy-134);ctx.stroke();\n  ctx.beginPath();ctx.arc(cx,cy-80,30,0,7);ctx.stroke();\n  ctx.textAlign=\"center\";ctx.fillStyle=cssVar(\"--ink\");\n  ctx.font='400 40px \"Young Serif\",Georgia,serif';\n  ctx.fillText(\"Start with a photo of your room\",cx,cy+18);\n  ctx.fillStyle=cssVar(\"--muted\");ctx.font='400 22px \"Figtree\",system-ui,sans-serif';\n  ctx.fillText(\"Click here to choose a photo, or drag one onto this spot.\",cx,cy+58);\n  ctx.fillText(\"Get the whole window in the shot, with some of the room around it.\",cx,cy+92);\n}\n\/* ---------- perspective: the outline is four free corners ---------- *\/\nfunction rectQuad(x,y,w,h){return [[x,y],[x+w,y],[x+w,y+h],[x,y+h]];}\nfunction homography(src,dst){\n  const A=[],b=[];\n  for(let i=0;i<4;i++){const [x,y]=src[i],[u,v]=dst[i];\n    A.push([x,y,1,0,0,0,-u*x,-u*y]);b.push(u);A.push([0,0,0,x,y,1,-v*x,-v*y]);b.push(v);}\n  for(let c=0;c<8;c++){let p=c;for(let r=c+1;r<8;r++)if(Math.abs(A[r][c])>Math.abs(A[p][c]))p=r;\n    [A[c],A[p]]=[A[p],A[c]];[b[c],b[p]]=[b[p],b[c]];const d=A[c][c];if(Math.abs(d)<1e-12) return null;\n    for(let r=0;r<8;r++){if(r===c)continue;const f=A[r][c]\/d;if(!f)continue;for(let k=c;k<8;k++)A[r][k]-=f*A[c][k];b[r]-=f*b[c];}}\n  const h=b.map((v,i)=>v\/A[i][i]);h.push(1);return h;\n}\nfunction proj(h,x,y){const w=h[6]*x+h[7]*y+1;return w<=1e-6?null:[(h[0]*x+h[1]*y+h[2])\/w,(h[3]*x+h[4]*y+h[5])\/w];}\nfunction tri(img,s0,s1,s2,d0,d1,d2){\n  const [x0,y0]=s0,[x1,y1]=s1,[x2,y2]=s2,den=(x1-x0)*(y2-y0)-(x2-x0)*(y1-y0);if(Math.abs(den)<1e-9) return;\n  const a=((d1[0]-d0[0])*(y2-y0)-(d2[0]-d0[0])*(y1-y0))\/den,c=((d2[0]-d0[0])*(x1-x0)-(d1[0]-d0[0])*(x2-x0))\/den;\n  const b=((d1[1]-d0[1])*(y2-y0)-(d2[1]-d0[1])*(y1-y0))\/den,d=((d2[1]-d0[1])*(x1-x0)-(d1[1]-d0[1])*(x2-x0))\/den;\n  const e=d0[0]-a*x0-c*y0,f=d0[1]-b*x0-d*y0;\n  const cx=(d0[0]+d1[0]+d2[0])\/3,cy=(d0[1]+d1[1]+d2[1])\/3;\n  const ex=p=>{const dx=p[0]-cx,dy=p[1]-cy,l=Math.hypot(dx,dy)||1;return [p[0]+dx\/l*.8,p[1]+dy\/l*.8];};\n  const m=mainCtx,q0=ex(d0),q1=ex(d1),q2=ex(d2);\n  m.save();m.beginPath();m.moveTo(q0[0],q0[1]);m.lineTo(q1[0],q1[1]);m.lineTo(q2[0],q2[1]);m.closePath();m.clip();\n  m.setTransform(a,b,c,d,e,f);m.drawImage(img,0,0);m.restore();\n}\n\/* Draws the treatment flat on a side canvas, then bends it onto the four corners. *\/\nfunction drawTreatment(){\n  const q=state.quad,dist=(a,b)=>Math.hypot(a[0]-b[0],a[1]-b[1]),p=state.product;\n  const lw=Math.max(40,(dist(q[0],q[1])+dist(q[3],q[2]))\/2),lh=Math.max(40,(dist(q[0],q[3])+dist(q[1],q[2]))\/2);\n  const botY=(q[2][1]+q[3][1])\/2,floorOff=Math.max(lh*.08,Math.min(.22*H(),H()*.985-botY));\n  const dr=p===\"drapes\",mL=dr?lw*.45:lw*.14,mT=dr?lh*.3:lh*.16,mB=dr?Math.max(lh*.2,floorOff+lh*.06):lh*.14;\n  const OW=lw+2*mL,OH=mT+lh+mB,sc=Math.min(1,2400\/Math.max(OW,OH));\n  off.width=Math.ceil(OW*sc);off.height=Math.ceil(OH*sc);\n  const oc=off.getContext(\"2d\");oc.setTransform(sc,0,0,sc,0,0);oc.clearRect(0,0,OW,OH);\n  state.floorLocal=mT+lh+floorOff;\n  const r=rect({x:mL,y:mT,w:lw,h:lh}),c=color()[1],a=opacity(),o=state.open;\n  ctx=oc;\n  try{({shutters:()=>drawShutters(r,c,state.tilt),blinds:()=>drawBlinds(r,c,o,state.tilt),cellular:()=>drawCellular(r,c,o,a),roller:()=>drawRoller(r,c,o,a),\n      roman:()=>drawRoman(r,c,o,a),woven:()=>drawWoven(r,c,o,a),sheer:()=>drawSheer(r,c,o,a),drapes:()=>drawDrapes(r,c,o,a)})[p]();}\n  finally{ctx=mainCtx;}\n  const hm=homography([[mL*sc,mT*sc],[(mL+lw)*sc,mT*sc],[(mL+lw)*sc,(mT+lh)*sc],[mL*sc,(mT+lh)*sc]],q);\n  if(!hm) return;\n  const N=dr?18:14,M=dr?18:14,gx=off.width\/N,gy=off.height\/M,P=[];\n  for(let j=0;j<=M;j++){P.push([]);for(let i=0;i<=N;i++)P[j].push(proj(hm,i*gx,j*gy));}\n  for(let j=0;j<M;j++)for(let i=0;i<N;i++){\n    const s00=[i*gx,j*gy],s10=[(i+1)*gx,j*gy],s01=[i*gx,(j+1)*gy],s11=[(i+1)*gx,(j+1)*gy];\n    const d00=P[j][i],d10=P[j][i+1],d01=P[j+1][i],d11=P[j+1][i+1];\n    if(!d00||!d10||!d01||!d11) continue;\n    tri(off,s00,s10,s11,d00,d10,d11);tri(off,s00,s11,s01,d00,d11,d01);\n  }\n}\nfunction outline(q){ctx.beginPath();q.forEach((pt,i)=>i?ctx.lineTo(pt[0],pt[1]):ctx.moveTo(pt[0],pt[1]));ctx.closePath();}\nfunction render(){\n  const w=W(),h=H();ctx=mainCtx;ctx.setTransform(1,0,0,1,0,0);ctx.clearRect(0,0,w,h);\n  if(!state.photo){drawEmpty();updateSummary();return;}\n  ctx.drawImage(state.photo,0,0,w,h);\n  const keep=base.active;\n  if(!state.compare){\n    let cov=0;\n    try{for(let i=0;i<base.wins.length;i++){base.active=i;drawTreatment();cov=Math.max(cov,coverage());}}\n    finally{base.active=keep;ctx=mainCtx;}\n    if(cov>.05){ctx.fillStyle=`rgba(16,20,24,${cov*.17})`;ctx.fillRect(0,0,w,h);}\n  }\n  if(state.edit){\n    const many=base.wins.length>1;\n    ctx.save();\n    base.wins.forEach((win,i)=>{\n      if(i===keep) return;\n      outline(win.quad);ctx.lineWidth=2;ctx.strokeStyle=\"rgba(255,255,255,.75)\";ctx.stroke();\n    });\n    const q=base.wins[keep].quad;outline(q);\n    ctx.lineWidth=3;ctx.strokeStyle=\"rgba(0,0,0,.6)\";ctx.stroke();ctx.setLineDash([10,7]);ctx.strokeStyle=\"#FFFFFF\";ctx.stroke();ctx.setLineDash([]);\n    q.forEach(([x,y])=>{ctx.fillStyle=\"#FFFFFF\";ctx.strokeStyle=\"#2E5E63\";ctx.lineWidth=3;ctx.beginPath();ctx.arc(x,y,12,0,7);ctx.fill();ctx.stroke();});\n    if(many) base.wins.forEach((win,i)=>{\n      const cx=win.quad.reduce((a,p)=>a+p[0],0)\/4,cy=win.quad.reduce((a,p)=>a+p[1],0)\/4;\n      ctx.fillStyle=i===keep?\"#2E5E63\":\"rgba(28,38,40,.78)\";ctx.beginPath();ctx.arc(cx,cy,20,0,7);ctx.fill();\n      ctx.fillStyle=\"#FFFFFF\";ctx.font='700 22px \"Figtree\",system-ui,sans-serif';ctx.textAlign=\"center\";ctx.textBaseline=\"middle\";ctx.fillText(String(i+1),cx,cy+1);\n    });\n    ctx.restore();\n  }\n  updateSummary();\n}\n\n\/* ---------- window outline editing ---------- *\/\nfunction toCanvas(e){const bb=cv.getBoundingClientRect();return {x:(e.clientX-bb.left)*cv.width\/bb.width,y:(e.clientY-bb.top)*cv.height\/bb.height,k:cv.width\/bb.width};}\nfunction inside(q,x,y){let s=false;for(let i=0,j=3;i<4;j=i++){const [xi,yi]=q[i],[xj,yj]=q[j];if(((yi>y)!==(yj>y))&&(x<(xj-xi)*(y-yi)\/(yj-yi)+xi)) s=!s;}return s;}\nfunction goodQuad(q){\n  let sign=0;\n  for(let i=0;i<4;i++){const a=q[i],b=q[(i+1)%4],c=q[(i+2)%4];\n    if(Math.hypot(b[0]-a[0],b[1]-a[1])<30) return false;\n    const cr=(b[0]-a[0])*(c[1]-b[1])-(b[1]-a[1])*(c[0]-b[0]);if(Math.abs(cr)<1) return false;\n    const s=Math.sign(cr);if(sign&&s!==sign) return false;sign=s;}\n  return sign>0;\n}\nlet drag=null;\nfunction hitWindow(p){\n  if(inside(base.wins[base.active].quad,p.x,p.y)) return base.active;\n  for(let i=base.wins.length-1;i>=0;i--) if(inside(base.wins[i].quad,p.x,p.y)) return i;\n  return -1;\n}\ncv.addEventListener(\"pointerdown\",e=>{\n  if(!state.photo) return;\n  const p=toCanvas(e);\n  if(!state.edit){const i=hitWindow(p);if(i>=0&&i!==base.active) selectWin(i);return;}\n  const q=state.quad,hit=q.findIndex(([x,y])=>Math.hypot(x-p.x,y-p.y)<26*p.k);\n  if(hit>=0) drag={mode:hit,start:p,orig:q.map(c=>c.slice())};\n  else{\n    const i=hitWindow(p);if(i<0) return;\n    if(i!==base.active) selectWin(i);\n    drag={mode:\"move\",start:p,orig:state.quad.map(c=>c.slice())};\n  }\n  cv.setPointerCapture(e.pointerId);e.preventDefault();\n});\ncv.addEventListener(\"pointermove\",e=>{\n  if(!drag) return;\n  const p=toCanvas(e),dx=p.x-drag.start.x,dy=p.y-drag.start.y,o=drag.orig;\n  const cl=(v,m)=>Math.max(0,Math.min(m,v));\n  let q;\n  if(drag.mode===\"move\"){\n    const xs=o.map(c=>c[0]),ys=o.map(c=>c[1]);\n    const mx=Math.max(-Math.min(...xs),Math.min(W()-Math.max(...xs),dx)),my=Math.max(-Math.min(...ys),Math.min(H()-Math.max(...ys),dy));\n    q=o.map(([x,y])=>[x+mx,y+my]);\n  }else{\n    q=o.map(c=>c.slice());q[drag.mode]=[cl(o[drag.mode][0]+dx,W()),cl(o[drag.mode][1]+dy,H())];\n    if(!goodQuad(q)) return;\n  }\n  state.quad=q;render();\n});\n[\"pointerup\",\"pointercancel\"].forEach(ev=>cv.addEventListener(ev,()=>{drag=null;}));\nconst resetBtn=document.getElementById(\"resetBtn\");\nresetBtn.addEventListener(\"click\",()=>{const q=state.quad,xs=q.map(c=>c[0]),ys=q.map(c=>c[1]);\n  const x=Math.min(...xs),y=Math.min(...ys);state.quad=rectQuad(x,y,Math.max(...xs)-x,Math.max(...ys)-y);render();});\n\nconst editBtn=document.getElementById(\"editBtn\"),editHint=document.getElementById(\"editHint\");\nfunction setEdit(on){state.edit=on;editBtn.setAttribute(\"aria-pressed\",on);editBtn.textContent=on?\"Done\":\"Adjust window outline\";editHint.hidden=!on;resetBtn.hidden=!on;cv.classList.toggle(\"editing\",on);render();}\neditBtn.addEventListener(\"click\",()=>setEdit(!state.edit));\n\n\/* ---------- compare + remote ---------- *\/\nconst cmp=document.getElementById(\"compareBtn\");\nconst setCmp=v=>{if(state.compare!==v){state.compare=v;render();}};\ncmp.addEventListener(\"pointerdown\",e=>{e.preventDefault();setCmp(true);});\n[\"pointerup\",\"pointerleave\",\"pointercancel\"].forEach(ev=>cmp.addEventListener(ev,()=>setCmp(false)));\ncmp.addEventListener(\"keydown\",e=>{if(e.key===\" \"||e.key===\"Enter\"){e.preventDefault();setCmp(true);}});\ncmp.addEventListener(\"keyup\",()=>setCmp(false));\n\nconst remoteBtn=document.getElementById(\"remoteBtn\");let anim=null;\nremoteBtn.addEventListener(\"click\",()=>{\n  const win=base.wins[base.active],from=win.open,to=from>.5?0:1;\n  if(anim) cancelAnimationFrame(anim);\n  if(reduceMotion){win.open=to;syncOpen();render();return;}\n  const t0=performance.now(),dur=1600;\n  const step=now=>{const k=Math.min(1,(now-t0)\/dur),e=k<.5?2*k*k:1-Math.pow(-2*k+2,2)\/2;win.open=from+(to-from)*e;if(win===base.wins[base.active])syncOpen();render();if(k<1)anim=requestAnimationFrame(step);};\n  anim=requestAnimationFrame(step);\n});\nfunction syncOpen(){const el=document.getElementById(\"ctl-open\");if(el) el.value=Math.round(state.open*100);}\n\n\/* ---------- the photo ---------- *\/\nconst fileInput=document.getElementById(\"fileInput\"),appEl=document.getElementById(\"app\"),stageEl=document.querySelector(\".stage\"),\n      changeBtn=document.getElementById(\"changeBtn\");\nchangeBtn.addEventListener(\"click\",()=>fileInput.click());\ncv.addEventListener(\"click\",()=>{if(!state.photo) fileInput.click();});\nfunction usePhoto(img){\n  base.photo=img;\n  const h=Math.round(1200*img.height\/img.width);\n  cv.width=1200;cv.height=Math.max(500,Math.min(1600,h));\n  const keepLook=base.wins[base.active];\n  base.wins=[newWin(rectQuad(cv.width*.3,cv.height*.18,cv.width*.4,cv.height*.46),keepLook)];base.active=0;\n  appEl.classList.remove(\"nophoto\");cv.classList.remove(\"empty\");\n  cmp.hidden=false;editBtn.hidden=false;changeBtn.hidden=false;winsBar.hidden=false;\n  buildAll();setEdit(true);\n}\nfunction loadPhoto(f){\n  if(!f||!\/^image\\\/\/.test(f.type)) return;\n  const rd=new FileReader();\n  rd.onload=()=>{const img=new Image();img.onload=()=>{\n      const sc=document.createElement(\"canvas\"),w=1600,h=Math.round(w*img.height\/img.width);\n      sc.width=w;sc.height=h;sc.getContext(\"2d\").drawImage(img,0,0,w,h);\n      const small=new Image();\n      small.onload=()=>{base.photoURL=sc.toDataURL(\"image\/jpeg\",.7);usePhoto(small);};\n      small.src=sc.toDataURL(\"image\/jpeg\",.9);\n    };img.src=rd.result;};\n  rd.readAsDataURL(f);\n}\nfileInput.addEventListener(\"change\",()=>{const f=fileInput.files&&fileInput.files[0];loadPhoto(f);fileInput.value=\"\";});\nstageEl.addEventListener(\"dragover\",e=>{e.preventDefault();stageEl.classList.add(\"over\");});\n[\"dragleave\",\"dragend\"].forEach(ev=>stageEl.addEventListener(ev,()=>stageEl.classList.remove(\"over\")));\nstageEl.addEventListener(\"drop\",e=>{e.preventDefault();stageEl.classList.remove(\"over\");loadPhoto(e.dataTransfer.files&&e.dataTransfer.files[0]);});\n\n\/* ---------- more than one window ---------- *\/\nconst winsBar=document.getElementById(\"winsBar\"),winChips=document.getElementById(\"winChips\"),addWin=document.getElementById(\"addWin\"),\n      delWin=document.getElementById(\"delWin\"),matchWin=document.getElementById(\"matchWin\"),forWin=document.getElementById(\"forWin\");\nfunction buildWins(){\n  const n=base.wins.length;\n  winChips.innerHTML=base.wins.map((w,i)=>`<button type=\"button\" class=\"chip\" data-win=\"${i}\" aria-pressed=\"${i===base.active}\">Window ${i+1}: ${PRODUCTS[w.product].label}<\/button>`).join(\"\");\n  delWin.hidden=n<2;matchWin.hidden=n<2;addWin.disabled=n>=MAXWIN;\n  forWin.hidden=n<2;forWin.innerHTML=`Your choices below apply to <b>Window ${base.active+1}<\/b>. Click another window in the photo, or its button, to change that one.`;\n}\nfunction buildAll(){buildProducts();buildSwatches();buildControls();buildWins();}\nfunction selectWin(i){base.active=i;buildAll();render();}\nwinChips.addEventListener(\"click\",e=>{const b=e.target.closest(\"[data-win]\");if(b) selectWin(+b.dataset.win);});\naddWin.addEventListener(\"click\",()=>{\n  if(base.wins.length>=MAXWIN) return;\n  const cur=base.wins[base.active],xs=cur.quad.map(c=>c[0]),ys=cur.quad.map(c=>c[1]);\n  const x0=Math.min(...xs),x1=Math.max(...xs),y0=Math.min(...ys),y1=Math.max(...ys),bw=x1-x0,gap=W()*.03;\n  let q;\n  if(x1+bw+gap<=W()) q=cur.quad.map(([x,y])=>[x+bw+gap,y]);\n  else if(x0-bw-gap>=0) q=cur.quad.map(([x,y])=>[x-bw-gap,y]);\n  else{\n    \/* no room beside it: split this outline into two side by side *\/\n    const [a,b2,c,d]=cur.quad,lerp=(p,s,t)=>[p[0]+(s[0]-p[0])*t,p[1]+(s[1]-p[1])*t];\n    q=[lerp(a,b2,.52),b2,c,lerp(d,c,.52)];\n    cur.quad=[a,lerp(a,b2,.48),lerp(d,c,.48),d];\n  }\n  base.wins.push(newWin(q,cur));base.active=base.wins.length-1;\n  buildAll();setEdit(true);\n});\ndelWin.addEventListener(\"click\",()=>{\n  if(base.wins.length<2) return;\n  base.wins.splice(base.active,1);base.active=Math.max(0,base.active-1);buildAll();render();\n});\nmatchWin.addEventListener(\"click\",()=>{\n  const cur=base.wins[base.active];\n  base.wins=base.wins.map(w=>w===cur?w:newWin(w.quad,cur));buildAll();render();\n});\n\n\/* ---------- step 2 + 3 ---------- *\/\nconst prods=document.getElementById(\"prods\"),blurb=document.getElementById(\"blurb\"),sw=document.getElementById(\"swatches\"),swName=document.getElementById(\"swatchName\");\nfunction buildProducts(){\n  prods.innerHTML=\"\";\n  Object.entries(PRODUCTS).forEach(([k,p])=>{\n    const b=document.createElement(\"button\");b.type=\"button\";b.className=\"prod\";b.textContent=p.label;b.setAttribute(\"aria-pressed\",state.product===k);\n    b.addEventListener(\"click\",()=>{state.product=k;buildAll();render();});prods.appendChild(b);\n  });\n  blurb.textContent=PRODUCTS[state.product].blurb;\n}\nfunction buildSwatches(){\n  sw.innerHTML=\"\";const p=PRODUCTS[state.product];\n  p.pal.forEach(([n,hex],i)=>{\n    const b=document.createElement(\"button\");b.type=\"button\";b.className=\"swatch\";b.style.background=hex;b.title=n;b.setAttribute(\"aria-label\",n);\n    b.setAttribute(\"aria-pressed\",state.colorIdx[state.product]===i);\n    b.addEventListener(\"click\",()=>{state.colorIdx[state.product]=i;buildSwatches();render();});sw.appendChild(b);\n  });\n  swName.innerHTML=`${state.product===\"shutters\"||state.product===\"blinds\"?\"Finish\":\"Color\"}: <b>${color()[0]}<\/b>`;\n}\n\n\/* ---------- step 4 ---------- *\/\nconst controls=document.getElementById(\"controls\");\nfunction chips(label,key,opts){\n  return `<div class=\"ctl\"><div class=\"ctl-label\">${label}<\/div><div class=\"chips\">${opts.map(([v,t])=>`<button type=\"button\" class=\"chip\" data-key=\"${key}\" data-val=\"${v}\" aria-pressed=\"${String(state[key])===String(v)}\">${t}<\/button>`).join(\"\")}<\/div><\/div>`;\n}\nfunction slider(id,label,key,lo,hi){\n  return `<div class=\"ctl range\"><label class=\"ctl-label\" for=\"${id}\">${label}<\/label><input type=\"range\" id=\"${id}\" min=\"0\" max=\"100\" value=\"${Math.round(state[key]*100)}\" data-key=\"${key}\"><div class=\"ends\"><span>${lo}<\/span><span>${hi}<\/span><\/div><\/div>`;\n}\nfunction buildControls(){\n  const p=state.product,out=[];\n  PRODUCTS[p].ctl.forEach(c=>{\n    if(c===\"open\") out.push(slider(\"ctl-open\",p===\"blinds\"?\"Raise or lower the blinds\":\"Raise or lower the shade\",\"open\",\"All the way down\",\"All the way up\"));\n    if(c===\"drape\") out.push(slider(\"ctl-open\",\"Open or close the panels\",\"open\",\"Closed\",\"Pulled back\"));\n    if(c===\"tilt\") out.push(slider(\"ctl-tilt\",p===\"shutters\"?\"Tilt the louvers\":\"Tilt the slats\",\"tilt\",\"Open to the view\",\"Closed for privacy\"));\n    if(c===\"vanes\") out.push(slider(\"ctl-tilt\",\"Line up the bands\",\"tilt\",\"More view\",\"More privacy\"));\n    if(c===\"light\") out.push(chips(\"How much light gets through\",\"light\",[[\"sheer\",\"See-through\"],[\"filter\",\"Soft light\"],[\"dark\",\"Room darkening\"]]));\n    if(c===\"mount\") out.push(chips(\"Where it mounts\",\"mount\",[[\"inside\",\"Inside the window frame\"],[\"outside\",\"Over the frame\"]]));\n    if(c===\"louver\") out.push(chips(\"Louver size\",\"louver\",[[\"2.5\",\"2\u00bd inch\"],[\"3.5\",\"3\u00bd inch\"],[\"4.5\",\"4\u00bd inch\"]]));\n    if(c===\"slat\") out.push(chips(\"Slat size\",\"slat\",[[\"2\",\"2 inch\"],[\"2.5\",\"2\u00bd inch\"]]));\n    if(c===\"liner\") out.push(chips(\"Privacy liner\",\"liner\",[[\"false\",\"No liner\"],[\"true\",\"Add a liner\"]]));\n    if(c===\"dFabric\") out.push(chips(\"Fabric\",\"dFabric\",[[\"lined\",\"Lined\"],[\"sheer\",\"Sheer\"]]));\n    if(c===\"dLength\") out.push(chips(\"Length\",\"dLength\",[[\"floor\",\"To the floor\"],[\"sill\",\"Just below the window\"]]));\n    if(c===\"motor\") out.push(chips(\"How you open and close it\",\"motor\",[[\"false\",\"Cord or wand\"],[\"true\",\"Motorized\"]]));\n    if(c===\"cordless\") out.push(`<p class=\"note\">Blinds come corded or cordless. They cannot be motorized. For a treatment you open with a remote, try one of the shades.<\/p>`);\n  });\n  if(p===\"shutters\") out.push(`<p class=\"note\">Shutters open and close by tilting the louvers, so there is nothing to raise or lower.<\/p>`);\n  controls.innerHTML=out.join(\"\");\n  remoteBtn.hidden=!(state.motor&&PRODUCTS[p].ctl.includes(\"motor\"));\n}\ncontrols.addEventListener(\"click\",e=>{\n  const b=e.target.closest(\".chip\");if(!b) return;\n  const k=b.dataset.key;let v=b.dataset.val;\n  if(v===\"true\"||v===\"false\") v=v===\"true\"; else if(!isNaN(parseFloat(v))&&\/^[\\d.]+$\/.test(v)) v=parseFloat(v);\n  state[k]=v;buildControls();render();\n});\ncontrols.addEventListener(\"input\",e=>{const k=e.target.dataset.key;if(!k) return;state[k]=e.target.value\/100;render();});\n\n\/* ---------- summary ---------- *\/\nconst sumEl=document.getElementById(\"summary\");\nfunction details(){\n  const p=state.product,d=[];\n  if(p===\"shutters\") d.push(`${String(state.louver).replace(\".5\",\"\u00bd\")} inch louvers`);\n  if(p===\"blinds\"){d.push(`${String(state.slat).replace(\".5\",\"\u00bd\")} inch slats`);}\n  if([\"cellular\",\"roller\",\"roman\"].includes(p)) d.push(LIGHT[state.light][1]);\n  if(p===\"woven\") d.push(state.liner?\"Privacy liner\":\"No liner\");\n  if(p===\"drapes\"){d.push(state.dFabric===\"sheer\"?\"Sheer\":\"Lined\");d.push(state.dLength===\"floor\"?\"Floor length\":\"Below the window\");}\n  if(![\"shutters\",\"drapes\"].includes(p)) d.push(state.mount===\"outside\"?\"Over the frame\":\"Inside the frame\");\n  if(PRODUCTS[p].ctl.includes(\"motor\")) d.push(state.motor?\"Motorized\":\"Cord or wand\");\n  return d;\n}\nfunction oneSummary(){return [PRODUCTS[state.product].label,color()[0],...details()].join(\"  \u00b7  \");}\nfunction summaryText(){\n  if(base.wins.length===1) return oneSummary();\n  const keep=base.active,out=[];\n  try{for(let i=0;i<base.wins.length;i++){base.active=i;out.push(`Window ${i+1}: ${oneSummary()}`);}}finally{base.active=keep;}\n  return out.join(\"\\n\");\n}\nfunction updateSummary(){\n  if(!state.photo){sumEl.textContent=\"\";cv.setAttribute(\"aria-label\",\"Add a photo of your window to begin\");return;}\n  const t=summaryText();sumEl.textContent=t;cv.setAttribute(\"aria-label\",\"Room preview: \"+t.replace(\/\\n\/g,\". \"));}\n\n\/* ---------- step 4 ---------- *\/\nconst form=document.getElementById(\"leadForm\"),done=document.getElementById(\"done\"),err=document.getElementById(\"formErr\");\nconst escH=t=>String(t).replace(\/[<>&\"]\/g,c=>({\"<\":\"&lt;\",\">\":\"&gt;\",\"&\":\"&amp;\",'\"':\"&quot;\"})[c]);\nform.addEventListener(\"submit\",e=>{\n  e.preventDefault();\n  const name=document.getElementById(\"fName\").value.trim(),email=document.getElementById(\"fEmail\").value.trim(),copy=document.getElementById(\"fCopy\").checked;\n  if(!name||!\/^\\S+@\\S+\\.\\S+$\/.test(email)){err.textContent=!name?\"Add your name so we know who to reach out to.\":\"Add a valid email address so we can send your design.\";err.hidden=false;return;}\n  err.hidden=true;\n  const was=state.edit;state.edit=false;render();const snap=cv.toDataURL(\"image\/jpeg\",.85);state.edit=was;render();\n  const first=name.split(\/\\s+\/)[0];\n  const sum=summaryText();\n  done.innerHTML=`<img decoding=\"async\" alt=\"Your design\" src=\"${snap}\">\n    <div class=\"txt\">\n    <h3>Thanks, ${escH(first)}. We have your design.<\/h3>\n    <p class=\"summary\" style=\"margin:0\">${escH(sum)}<\/p>\n    <p>${copy?`A copy is on its way to ${escH(email)}. `:\"\"}We will look it over and reach out to talk through sizing, options and pricing. If you would rather talk now, pick a time that works for you.<\/p>\n    <a class=\"btn primary\" href=\"${CONFIG.bookingUrl}\" target=\"_top\">Schedule a Call<\/a>\n    <a class=\"btn\" href=\"${snap}\" download=\"my-shutterhawk-design.jpg\">Save a copy of my design<\/a>\n    <button class=\"btn\" type=\"button\" id=\"againBtn\">Try another look<\/button>\n    <\/div>`;\n  const keep=base.active,windows=[];\n  try{base.wins.forEach((w,i)=>{base.active=i;windows.push({window:i+1,product:PRODUCTS[state.product].label,color:color()[0],options:details()});});}finally{base.active=keep;}\n  const PAYLOAD={tool:\"Window Treatment Visualizer\",name,email,neighborhood:document.getElementById(\"fHood\").value.trim(),notes:document.getElementById(\"fNotes\").value.trim(),\n    copyToVisitor:copy,notifyEmail:CONFIG.notifyEmail||null,sendTo:[CONFIG.notifyEmail,copy?email:\"\"].filter(Boolean),summary:sum,windows,design:snap,photo:state.photoURL||null,page:location.href,sent:new Date().toISOString()};\n  sendLead(PAYLOAD).then(ok=>{if(!ok){const n=document.createElement(\"p\");n.className=\"err\";n.textContent=\"Your design did not reach us. Please try again, or call the showroom.\";done.querySelector(\".txt\").prepend(n);}});\n  form.hidden=true;done.hidden=false;\n  document.getElementById(\"againBtn\").addEventListener(\"click\",()=>{done.hidden=true;form.hidden=false;});\n});\n\n\/* ---------- init ---------- *\/\nbase.wins=[newWin(rectQuad(360,150,480,370))];\ncmp.hidden=true;editBtn.hidden=true;\nbuildAll();render();\nif(document.fonts&&document.fonts.ready) document.fonts.ready.then(render);\n})();\n<\/script><\/div>\t\t\t\t<\/div>\n\t\t\n<\/section>\n<section class=\"elementor-element elementor-element-1eb47619 e-con e-atomic-element e-flexbox-base e-default-section sh-bg-cream sh-section \" data-id=\"1eb47619\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"1eb47619\" data-e-type=\"e-flexbox\" data-id=\"1eb47619\">\n    <div class=\"elementor-element elementor-element-7d74674d e-con e-atomic-element e-flexbox-base e-default-div sh-gap-lg sh-inner \" data-id=\"7d74674d\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"7d74674d\" data-e-type=\"e-flexbox\" data-id=\"7d74674d\">\n    <div class=\"elementor-element elementor-element-4b6c98a2 e-con e-atomic-element e-flexbox-base e-default-div sh-narrow sh-inner \" data-id=\"4b6c98a2\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"4b6c98a2\" data-e-type=\"e-flexbox\" data-id=\"4b6c98a2\">\n    \t\t\t<h2 data-interaction-id=\"2194a89a\" class=\"sh-h2 e-heading-base e-default-h2\" data-e-type=\"widget\" data-id=\"2194a89a\">Tips for a Good Preview<\/h2>\n\t\t\n<\/div>\n<div class=\"elementor-element elementor-element-1e59ee4d e-con e-atomic-element e-flexbox-base e-default-div sh-cards \" data-id=\"1e59ee4d\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"1e59ee4d\" data-e-type=\"e-flexbox\" data-id=\"1e59ee4d\">\n    <article class=\"elementor-element elementor-element-14af8852 e-con e-atomic-element e-flexbox-base e-default-article sh-card \" data-id=\"14af8852\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"14af8852\" data-e-type=\"e-flexbox\" data-id=\"14af8852\">\n    <div class=\"elementor-element elementor-element-71887fef e-con e-atomic-element e-flexbox-base e-default-div sh-card-body \" data-id=\"71887fef\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"71887fef\" data-e-type=\"e-flexbox\" data-id=\"71887fef\">\n    \t\t\t<h3 data-interaction-id=\"faaf21d\" class=\"sh-h3 e-heading-base e-default-h3\" data-e-type=\"widget\" data-id=\"faaf21d\">Get the Whole Window in the Shot<\/h3>\n\t\t\t\t\t<p class=\"sh-small e-paragraph-base e-default-p\" data-interaction-id=\"10e540a2\" data-e-type=\"widget\" data-id=\"10e540a2\">Include some of the room around the window, so you can see how the treatment will look in the space, not just on the glass.<\/p>\n\t\t\n<\/div>\n\n<\/article>\n<article class=\"elementor-element elementor-element-4c0e8795 e-con e-atomic-element e-flexbox-base e-default-article sh-card \" data-id=\"4c0e8795\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"4c0e8795\" data-e-type=\"e-flexbox\" data-id=\"4c0e8795\">\n    <div class=\"elementor-element elementor-element-5f8411c2 e-con e-atomic-element e-flexbox-base e-default-div sh-card-body \" data-id=\"5f8411c2\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"5f8411c2\" data-e-type=\"e-flexbox\" data-id=\"5f8411c2\">\n    \t\t\t<h3 data-interaction-id=\"7d19e32a\" class=\"sh-h3 e-heading-base e-default-h3\" data-e-type=\"widget\" data-id=\"7d19e32a\">An Angle Is Fine<\/h3>\n\t\t\t\t\t<p class=\"sh-small e-paragraph-base e-default-p\" data-interaction-id=\"2f808f43\" data-e-type=\"widget\" data-id=\"2f808f43\">Drag each corner of the outline onto a corner of the window, and the treatment follows the angle of your photo.<\/p>\n\t\t\n<\/div>\n\n<\/article>\n<article class=\"elementor-element elementor-element-641f7cba e-con e-atomic-element e-flexbox-base e-default-article sh-card \" data-id=\"641f7cba\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"641f7cba\" data-e-type=\"e-flexbox\" data-id=\"641f7cba\">\n    <div class=\"elementor-element elementor-element-3452c928 e-con e-atomic-element e-flexbox-base e-default-div sh-card-body \" data-id=\"3452c928\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"3452c928\" data-e-type=\"e-flexbox\" data-id=\"3452c928\">\n    \t\t\t<h3 data-interaction-id=\"46c2ccdd\" class=\"sh-h3 e-heading-base e-default-h3\" data-e-type=\"widget\" data-id=\"46c2ccdd\">Colors Are Close, Not Exact<\/h3>\n\t\t\t\t\t<p class=\"sh-small e-paragraph-base e-default-p\" data-interaction-id=\"7743e3f9\" data-e-type=\"widget\" data-id=\"7743e3f9\">Screens vary. We bring real samples to your home so you can see every finish and fabric in your own light.<\/p>\n\t\t\n<\/div>\n\n<\/article>\n\n<\/div>\n\n<\/div>\n\n<\/section>\n<section class=\"elementor-element elementor-element-4ea2beac e-con e-atomic-element e-flexbox-base e-default-section sh-section \" data-id=\"4ea2beac\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"4ea2beac\" data-e-type=\"e-flexbox\" data-id=\"4ea2beac\">\n    <div class=\"elementor-element elementor-element-e394047 e-con e-atomic-element e-flexbox-base e-default-div sh-gap-lg sh-inner \" data-id=\"e394047\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"e394047\" data-e-type=\"e-flexbox\" data-id=\"e394047\">\n    <div class=\"elementor-element elementor-element-1f637234 e-con e-atomic-element e-flexbox-base e-default-div sh-narrow sh-inner \" data-id=\"1f637234\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"1f637234\" data-e-type=\"e-flexbox\" data-id=\"1f637234\">\n    \t\t\t<h2 data-interaction-id=\"4658c63e\" class=\"sh-h2 e-heading-base e-default-h2\" data-e-type=\"widget\" data-id=\"4658c63e\">What Happens After You Send It<\/h2>\n\t\t\n<\/div>\n<div class=\"elementor-element elementor-element-6db43815 e-con e-atomic-element e-flexbox-base e-default-div sh-cards e-2ffddfe9-6e70 \" data-id=\"6db43815\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"6db43815\" data-e-type=\"e-flexbox\" data-id=\"6db43815\">\n    <div class=\"elementor-element elementor-element-602db26d e-con e-atomic-element e-flexbox-base e-default-div sh-step \" data-id=\"602db26d\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"602db26d\" data-e-type=\"e-flexbox\" data-id=\"602db26d\">\n    \t\t\t<p class=\"sh-step-num e-paragraph-base e-default-p\" data-interaction-id=\"27577ef5\" data-e-type=\"widget\" data-id=\"27577ef5\">1<\/p>\n\t\t\t\t\t<h3 data-interaction-id=\"58d9f04d\" class=\"sh-h3 e-heading-base e-default-h3\" data-e-type=\"widget\" data-id=\"58d9f04d\">We Look It Over<\/h3>\n\t\t\t\t\t<p class=\"sh-body e-paragraph-base e-default-p\" data-interaction-id=\"e99c419\" data-e-type=\"widget\" data-id=\"e99c419\">Your design comes straight to our team, along with the photo you used, so we start where you left off.<\/p>\n\t\t\n<\/div>\n<div class=\"elementor-element elementor-element-42de27cf e-con e-atomic-element e-flexbox-base e-default-div sh-step \" data-id=\"42de27cf\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"42de27cf\" data-e-type=\"e-flexbox\" data-id=\"42de27cf\">\n    \t\t\t<p class=\"sh-step-num e-paragraph-base e-default-p\" data-interaction-id=\"82ed98a\" data-e-type=\"widget\" data-id=\"82ed98a\">2<\/p>\n\t\t\t\t\t<h3 data-interaction-id=\"388eaf07\" class=\"sh-h3 e-heading-base e-default-h3\" data-e-type=\"widget\" data-id=\"388eaf07\">We Talk It Through<\/h3>\n\t\t\t\t\t<p class=\"sh-body e-paragraph-base e-default-p\" data-interaction-id=\"62536cef\" data-e-type=\"widget\" data-id=\"62536cef\">We reach out to go over sizing, options, and a clear, line-item price before you commit to anything.<\/p>\n\t\t\n<\/div>\n<div class=\"elementor-element elementor-element-65e09887 e-con e-atomic-element e-flexbox-base e-default-div sh-step \" data-id=\"65e09887\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"65e09887\" data-e-type=\"e-flexbox\" data-id=\"65e09887\">\n    \t\t\t<p class=\"sh-step-num e-paragraph-base e-default-p\" data-interaction-id=\"61f9e91\" data-e-type=\"widget\" data-id=\"61f9e91\">3<\/p>\n\t\t\t\t\t<h3 data-interaction-id=\"6c8618f3\" class=\"sh-h3 e-heading-base e-default-h3\" data-e-type=\"widget\" data-id=\"6c8618f3\">We Make It Real<\/h3>\n\t\t\t\t\t<p class=\"sh-body e-paragraph-base e-default-p\" data-interaction-id=\"1069c1b1\" data-e-type=\"widget\" data-id=\"1069c1b1\">Our own insured crew measures, installs, cleans up, and makes sure everything works the way it should.<\/p>\n\t\t\n<\/div>\n\n<\/div>\n\n<\/div>\n\n<\/section>\n<section class=\"elementor-element elementor-element-4781a6de e-con e-atomic-element e-flexbox-base e-default-section sh-pad-lg sh-bg-navy sh-section \" data-id=\"4781a6de\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"4781a6de\" data-e-type=\"e-flexbox\" data-id=\"4781a6de\">\n    <div class=\"elementor-element elementor-element-61a5fe91 e-con e-atomic-element e-flexbox-base e-default-div sh-narrow sh-center sh-inner \" data-id=\"61a5fe91\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"61a5fe91\" data-e-type=\"e-flexbox\" data-id=\"61a5fe91\">\n    \t\t\t<h2 data-interaction-id=\"5ec3e878\" class=\"sh-on-dark sh-h2 e-heading-base e-default-h2\" data-e-type=\"widget\" data-id=\"5ec3e878\">Rather Talk It Through?<\/h2>\n\t\t\t\t\t<p class=\"sh-on-dark sh-body e-paragraph-base e-default-p\" data-interaction-id=\"65df8415\" data-e-type=\"widget\" data-id=\"65df8415\">You do not need a finished design to call. Tell us which room is not working and we will help you narrow the choices.<\/p>\n\t\t<div class=\"elementor-element elementor-element-62668b75 e-con e-atomic-element e-flexbox-base e-default-div sh-mt sh-row e-38f1ed29-c7f5 \" data-id=\"62668b75\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"62668b75\" data-e-type=\"e-flexbox\" data-id=\"62668b75\">\n    \t\t\t<a href=\"https:\/\/shutterhawkblindsanddesign.com\/o2\/contact\/\" target=\"_self\" class=\"sh-btn e-button-base e-default-a\" data-interaction-id=\"22f67f41\" data-e-type=\"widget\" data-id=\"22f67f41\">\n\tBook Your Consultation\n<\/a>\n\t\t\n<\/div>\n\t\t\t<p class=\"sh-muted sh-on-dark sh-small e-paragraph-base e-default-p\" data-interaction-id=\"6229b507\" data-e-type=\"widget\" data-id=\"6229b507\"><em>Or visit our Wilmington showroom to see the real thing.<\/em><\/p>\n\t\t\n<\/div>\n\n<\/section>\n\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Window Treatment Visualizer Try It On Your Own Windows Before You Decide Upload a photo of your room and preview shutters, blinds, and shades in different colors, fabrics, and liners. It takes a few minutes and costs nothing. When you find something you like, send it to us and we will tell you what it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-2273","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v29.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Window Treatment Visualizer - Shutterhawk Blinds and Design<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Window Treatment Visualizer - Shutterhawk Blinds and Design\" \/>\n<meta property=\"og:description\" content=\"Window Treatment Visualizer Try It On Your Own Windows Before You Decide Upload a photo of your room and preview shutters, blinds, and shades in different colors, fabrics, and liners. It takes a few minutes and costs nothing. When you find something you like, send it to us and we will tell you what it [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/\" \/>\n<meta property=\"og:site_name\" content=\"Shutterhawk Blinds and Design\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T11:00:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/10\/IMG_8322-1024x683.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/window-treatment-visualizer\\\/\",\"url\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/window-treatment-visualizer\\\/\",\"name\":\"Window Treatment Visualizer - Shutterhawk Blinds and Design\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/window-treatment-visualizer\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/window-treatment-visualizer\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/IMG_8322-1024x683.jpg\",\"datePublished\":\"2026-11-04T21:49:07+00:00\",\"dateModified\":\"2026-11-25T11:00:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/window-treatment-visualizer\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/window-treatment-visualizer\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/window-treatment-visualizer\\\/#primaryimage\",\"url\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/IMG_8322.jpg\",\"contentUrl\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/IMG_8322.jpg\",\"width\":1200,\"height\":800,\"caption\":\"Navy banded shades on a wall of sunroom windows behind a navy sofa with yellow pillows.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/window-treatment-visualizer\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Window Treatment Visualizer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/#website\",\"url\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/\",\"name\":\"Shutterhawk Blinds and Design\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/#organization\",\"name\":\"Shutterhawk Blinds and Design\",\"url\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/shutterhawk-logo.png\",\"contentUrl\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/shutterhawk-logo.png\",\"width\":832,\"height\":100,\"caption\":\"Shutterhawk Blinds and Design\"},\"image\":{\"@id\":\"https:\\\/\\\/shutterhawkblindsanddesign.com\\\/o2\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Window Treatment Visualizer - Shutterhawk Blinds and Design","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/","og_locale":"en_US","og_type":"article","og_title":"Window Treatment Visualizer - Shutterhawk Blinds and Design","og_description":"Window Treatment Visualizer Try It On Your Own Windows Before You Decide Upload a photo of your room and preview shutters, blinds, and shades in different colors, fabrics, and liners. It takes a few minutes and costs nothing. When you find something you like, send it to us and we will tell you what it [&hellip;]","og_url":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/","og_site_name":"Shutterhawk Blinds and Design","article_modified_time":"2026-11-25T11:00:39+00:00","og_image":[{"url":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/10\/IMG_8322-1024x683.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/","url":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/","name":"Window Treatment Visualizer - Shutterhawk Blinds and Design","isPartOf":{"@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/#website"},"primaryImageOfPage":{"@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/#primaryimage"},"image":{"@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/#primaryimage"},"thumbnailUrl":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/10\/IMG_8322-1024x683.jpg","datePublished":"2026-11-04T21:49:07+00:00","dateModified":"2026-11-25T11:00:39+00:00","breadcrumb":{"@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/#primaryimage","url":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/10\/IMG_8322.jpg","contentUrl":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/10\/IMG_8322.jpg","width":1200,"height":800,"caption":"Navy banded shades on a wall of sunroom windows behind a navy sofa with yellow pillows."},{"@type":"BreadcrumbList","@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/window-treatment-visualizer\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/shutterhawkblindsanddesign.com\/o2\/"},{"@type":"ListItem","position":2,"name":"Window Treatment Visualizer"}]},{"@type":"WebSite","@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/#website","url":"https:\/\/shutterhawkblindsanddesign.com\/o2\/","name":"Shutterhawk Blinds and Design","description":"","publisher":{"@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shutterhawkblindsanddesign.com\/o2\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/#organization","name":"Shutterhawk Blinds and Design","url":"https:\/\/shutterhawkblindsanddesign.com\/o2\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/#\/schema\/logo\/image\/","url":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/10\/shutterhawk-logo.png","contentUrl":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-content\/uploads\/2026\/10\/shutterhawk-logo.png","width":832,"height":100,"caption":"Shutterhawk Blinds and Design"},"image":{"@id":"https:\/\/shutterhawkblindsanddesign.com\/o2\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-json\/wp\/v2\/pages\/2273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-json\/wp\/v2\/comments?post=2273"}],"version-history":[{"count":20,"href":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-json\/wp\/v2\/pages\/2273\/revisions"}],"predecessor-version":[{"id":2601,"href":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-json\/wp\/v2\/pages\/2273\/revisions\/2601"}],"wp:attachment":[{"href":"https:\/\/shutterhawkblindsanddesign.com\/o2\/wp-json\/wp\/v2\/media?parent=2273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}