PROJECTION MAPPER v4.0.2 - plain-English guide ================================================ NEW IN v4.0.2 (load shedding after a freeze of both Edge windows on v4.x) - Control preview capped at about 30 fps and 1 pixel per screen pixel, and it stops drawing when its window is hidden. Less work for the graphics card; the projector window is unchanged (still capped at 1920 wide). - A slow-frame warning in the log (frames over 250 ms) so a graphics stall leaves a trace. HARDWARE-UNTESTED: whether this prevents the freeze. Cause not proven (GPU process or driver). Windows Event Viewer > System > Display event 4101 at the freeze time would confirm a driver reset. NEW IN v4.0.1 (crash hardening, fixes from the first real-PC test of v4.0.0) Wade's PC had a graphics-driver-level crash (every Edge app stopped) while the Halloween video loops were playing; all 7 loops reported a video decode error just before. - VIDEO LOOPS RE-ENCODED: the loop pack is now VP9 .webm instead of H.264 .mp4 (same pictures, 1.1 MB). Press Download again in AI models (scene packs) to replace the old pack. Old pack stays working until you do. - SOFTWARE VIDEO DECODING: the program now starts its browser windows with the graphics card's hardware video decoder switched off, and the experimental Vulkan feature removed. Seven 1024x576 loops are trivial for the CPU. - Idle videos are paused after 20 s and released after 90 s, and pictures not shown for 60 s free their graphics memory. A video that fails to decode restarts its decoder up to 4 times, with a log line each time, instead of staying dead. - If the control page's graphics context is lost (driver reset) the log says so and the page reloads itself when the card is back. The projector window already did this. - Window-size mismatch: the program no longer "corrects" drift on top of a calibration made at a different window size (that bent the picture). It asks once: "Recalibrate now?". - "Failed to fetch" keep-alive errors are handled: after 3 misses (about 9 s) a banner says the program stopped answering, and it clears itself when contact returns. - Optional: to use Chrome instead of Edge, create a text file named browser.txt next to ProjectionMapper.exe containing the word chrome (or edge, or a full path to a Chromium browser .exe), then restart the program. HARDWARE-UNTESTED: whether this removes the crash on his PC. The cause was not proven. The decoder is the prime suspect; if it still crashes, tell me what the log shows just before. NEW IN v4.0.0 (the big build: Show Studio, Show Director, tap-to-select, shows library, audio, Show Mode) Everything works with just the laptop, its webcam and the projector. Phones are an optional extra only. SHOW MAKING - Show Studio (Content tab): describe a show in words. It writes 3-6 scenes fitted to YOUR surfaces, times them (20-120 s each, crossfaded), and can draw new pictures for each surface: free on your graphics card (private), or with Gemini using your room photo (paid, cost shown and confirmed first). Optional: animate each picture as a living photo (slow). Saves the finished show to your shows list. Your previous version is saved as a draft first. - Visual timeline strip under the preview: card width = scene length. Drag to reorder, click to edit, double-click to pin, green = playing now. - Shows library + drafts (panel 6): save named shows, load, add to the current show; an autosaved draft every 20 s so an unfinished show is never lost. - Regional regenerate: select any surface (tap an object to make one), then "Draw a picture for the selected surface" (free, local) or "Make it fit this surface from my room photo (Gemini, paid)". Redo just that one region. It makes a NEW picture for the region; it is not diffusion inpainting of the old pixels. - Gemini with your room photo: sends the room photo and a mask of the selected surface to Google. Asks first and shows the cost (about $0.039 per picture on gemini-2.5-flash-image, about $0.067 on the 3.x flash image models; prices as of Oct 2026, check Google's page). Needs an API key from a billed Google project. PRIVACY: on this path the photos go to Google. The free local path never leaves your computer. SHOW DIRECTOR (house-wide moments, random schedule with min/max gap, theme auto by date) - Lightning (whole house flashes, then rumbles), a ghost that walks window to window, fog creeping, the house heartbeat, eyes opening, Christmas sparkle wave, warm glow, snow gust. Each can be turned off or played now. AUDIO - Mic or music-file analysis: bass/mid/treble, beat detection, brightness punches on the beat, spectrum across the house (bass left, treble right), and a big beat can trigger a Director moment. Music file mode needs no microphone. MAPPING AND MASKS - Tap-to-select: click an object in the room picture, the AI picks it and a new surface appears (it flashes on the projector). Magic wand for odd shapes (inflatables) with a tolerance slider. - Alignment history: every auto-calibration is saved before and after, with a Save button, Restore and delete. Roll back to any earlier alignment. - Calibration uses the laptop webcam (the best-tested path). RUNNING THE SHOW - Show Mode: full-screen dark control screen with a health strip and big buttons (keys B N P S M R, Esc to leave). - Keep-awake (the laptop will not sleep while the app runs) and Run at login. Both Windows-only and HARDWARE-UNTESTED. - Phone remote (OPTIONAL): open the link from the Optional extra section on any phone on your Wi-Fi to run next/blackout/etc. Never required. INTERFACE - Sidebar tabs (Setup / Content / Show / Tools / All) and a Setup checklist. Command palette (Ctrl+K) now covers the new features. - FIXED: five panels (living photo, smoothing, local picture maker, room kit, fix-it output) sat outside the sidebar and could squeeze the preview narrow. They are now in the sidebar under "Extra AI tools". HARDWARE-UNTESTED: local picture drawing on a real graphics card, living-photo animation inside Show Studio, Gemini calls (no key in the test lab), keep-awake and run-at-login, projector look of the moments. NOT IN THIS BUILD: generative video (Veo etc. are manual imports), true diffusion inpainting, depth relighting, person-aware motion trigger, MP4 export. NEW IN v3.1.0 (polish) - Night mode (top bar "Night"): dim red screen so the laptop does not light up the yard. "Big" = larger buttons and text. - Ctrl+K command palette: type "blackout", "next", "night", "save"... and press Enter. "?" shows a shortcut sheet. - Toast pop-ups for errors and completions (bottom right), visible focus outlines. - Schedule: shows now fade in and out over 10 minutes (setting in Schedule panel, 0 = hard on/off) instead of snapping on at sunset. - Panel 8: "Soften ALL surface edges" slider (per-surface slider still works). HARDWARE-UNTESTED: how the night colours look on his laptop screen in a dark yard. NEW IN v3.0.0 (smooth + slow-motion, RIFE AI frame interpolation) Models screen > "Smooth / slow-mo (RIFE)" > Download (about 20 MB, from wadequestbuilds.pages.dev, SHA-256 checked, button only). Then in the Smooth panel pick a video: "Smooth 2x" (double frame rate), "Slow 2x" or "Slow 4x" (same fps, longer), optional seamless loop. Runs on your GPU (WebGPU) with CPU fallback; saves a new clip. Model: RIFE (MIT licence). HARDWARE-UNTESTED: WebGPU speed on the RTX 2060. NEW IN v2.9.0 (motion regions in living photos) ----------------------------------------------- * Living photo now moves the right things. With "Motion regions" ticked (default), the room/scene AI that is already in the app finds the sky, water, trees/plants/grass, curtains and flags in your picture. Clouds drift slowly, water ripples, and trees, curtains and flags sway, while everything else stays sharp. It works together with the camera parallax and the flicker/fog/embers options, and still loops seamlessly. Bright things in the sky (a moon) are kept still on purpose. When it finishes it tells you what it found (for example "sky 76%, trees/curtains/flags 14%"); if it finds none of those it says so and uses the camera motion only. People, faces, animals and buildings do not move. * Parallax is cleaner: at sharp depth edges the camera shift is reduced so near objects tear and stretch less. * New camera motion "Slow rise and settle". * No new downloads or hosts. * NOT TESTED ON REAL HARDWARE: speed on the 2060, how subtle or strong the sway looks on the projector. Tested here: finding regions in a haunted-house scene, a graveyard and a living room, frame differences in the moving regions, loop seam (first and last frame identical), the whole button flow producing a playable video. NEW IN v2.8.0 (living photos, smaller program) ---------------------------------------------- * New panel "Living photo" (AI tab). Pick any picture in your content folder (your own, a downloaded photo, or one you generated) and it becomes a seamless looping video: the camera drifts, swings, circles or pushes in and back, and things close to the camera move more than things far away (2.5D parallax, using the depth AI that is already in the app). Optional looping effects: candle flicker, drifting fog, rising embers. 6, 8 or 12 seconds. The result is saved as a .webm in your content folder, so it works like any other video: "Put on selected surface", or pick it in the media list. * It is a moving-camera effect on the picture, not an AI that invents motion: faces and limbs do not move. It works best on scenes with clear depth (a haunted house, a graveyard, a room). * The first time it needs the depth AI (27 MB, one time, from wadequestbuilds.pages.dev, same as Room detect). Nothing else is downloaded and nothing leaves your computer. It records in real time, so an 8 second loop takes about 8 seconds plus the depth step. The log reports the frame rate; under 20 fps it warns you. * "Export room kit for Gemini": the prompt now also asks Gemini (if your plan can make video, usually with a small daily limit) to animate the 2 or 3 best pictures into 6 to 8 second subtle loops you can drag onto this page. * Smaller program: the built-in browser engine and room-detection model are stored bzip2-compressed (EXE 20.8 MB to 18.3 MB). The first Room detect or depth run after launch takes about a second longer to unpack. * NOT TESTED ON REAL HARDWARE: the speed on your RTX 2060 and WebGPU depth, Edge's WebM recording at 1920, and how it looks on the projector. Tested here: the whole pipeline in Chrome on a software renderer (so slow), loop seam (first and last frame match), parallax and effects frame inspection, the saved video plays. NEW IN v2.7.0 (make pictures on your own graphics card) ------------------------------------------------------- * New panel "Generate pictures on my graphics card" (AI tab, above the room kit button). Type what you want and it draws it on your RTX 2060: free, private, no key, nothing sent anywhere. Pictures are 512x512, about one step each. "Save to my pictures" puts one in your content folder; "Put on selected surface" saves it and assigns it to the surface you have selected. * One-time setup is in AI models: press Download on "SD-Turbo picture generator" (about 2.5 GB). The app downloads it, checks free disk space first (needs about 3.5 GB), can resume if it is interrupted, checks the SHA-256 of all 5 files against hashes built into this program, and only then lets the page use them. There are Cancel and Remove buttons. A file that fails its check is thrown away. * Where it comes from: huggingface.co (pinned to one exact commit of schmuell/sd-turbo-ort-web, which is Microsoft's ONNX Runtime web demo export of Stability AI's SD-Turbo). huggingface.co sends the big files from its own CDN (*.hf.co), so those two are the only hosts the download may contact, nothing else, and only when you press Download. * LICENCE: Stability AI Non-Commercial Research Community License. Personal, non-commercial use is fine (your house, your family). Do not sell the pictures or use them in paid shows. Shown in AI models. * Needs WebGPU with 16-bit shaders (shader-f16) and about 3 GB of free GPU memory. If your driver does not offer it the panel says so in plain words. The model unloads from GPU memory after 5 idle minutes. * Checkbox "Black background, glowing subject" adds words to your prompt so the picture projects well (black is transparent when projected). * The Gemini route is still there for better quality: "Export room kit for Gemini" and the Gemini picture button (needs your key). * NOT TESTED ON REAL HARDWARE (this build machine has no WebGPU): the inference itself (speed, f16, memory, picture quality on the 2060), and the first model load in Edge. The download, redirect handling, resume, hash check, tokenizer and maths were tested here (the real download from huggingface.co was checked). If it fails, the log says exactly where; paste it to me. NEW IN v2.6.3 (room kit for Gemini) ----------------------------------- * "Export room kit for Gemini" button (next to "What should I fix?"). It saves three files into the "exports" folder (it opens the folder and copies the prompt to your clipboard): room-annotated-.png your room photo with every surface outlined and numbered room-clean-.jpg the same photo with no marks gemini-prompt-.txt a detailed prompt * The prompt explains how a projector works (black = no light, so every picture needs a pure black background), gives style rules (bold, glowing, readable from far away, no text), then lists every surface by number with its name, type, where it is in the photo, size in percent, shape ratio, the best aspect ratio to ask for and an idea that suits it, and tells Gemini to start with the largest four surfaces. The Theme box sets the theme (default "spooky Halloween"; type "Christmas" or anything else). * Use it: in Gemini on the web, attach room-annotated and room-clean, paste the prompt, generate, save the pictures, then drag them onto this page (v2.6.2 drag and drop) and assign them to the surfaces. * Shapes and sizes come from the photo, so they are approximate (the photo is taken at an angle). HARDWARE-UNTESTED: opening the folder and the clipboard copy on Windows/Edge (the files are also written even if the clipboard is blocked). Tested here: the three files are written, the marked photo and prompt were checked by eye on the demo room. Not tested: how Gemini responds to the prompt (I cannot use your Gemini Pro). NEW IN v2.6.2 (drag and drop, safer file adding) ------------------------------------------------ * Drag pictures, videos or audio from Explorer anywhere onto the page and they are added to your content folder (same as "Add files..."). Other file types are skipped and the page says how many. * Safer: the add-files endpoint now only takes POST from this app's own page (another website can no longer push files into your content folder), only accepts image, video and audio file types, and caps one file at 2 GB. HARDWARE-UNTESTED: dropping from real Windows Explorer (tested here with a simulated drop in Chrome; real file drops use the same browser event). The refusal paths (wrong type, other website, GET) were tested with curl. NEW IN v2.6.1 (Fix-it check, 19 more pictures) ---------------------------------------------- * "What should I fix?" button next to Start show. It checks the projector window, calibration error and dot count, calibration vs projector size, missing surfaces/scenes, blackout, a pinned scene, AI model checksums, the optional downloads and the optional Gemini key, and lists what to fix in plain English (FIX / check / info). * 19 more drawn Halloween pictures (95 now): reaper and scarecrow under the moon, green and purple moons, ghosts in moonlight, graveyards, giant green and purple jack-o-lanterns, skulls with candles, fire and witch cauldrons, haunted forest, witch over the house, ghost in a web, owl on a green moon. 8 weak ones were thrown out after looking at them. * Saved venues: not added on purpose. "Save" and "Load" on the Project section already store each place (surfaces, calibration, scenes) under its own name; a separate venue list would only duplicate that. HARDWARE-UNTESTED: nothing new is hardware specific, but the Fix-it advice thresholds (error over 4 px / 8 px) are my guesses from your run (5.1 px check error was good), not measured limits. NEW IN v2.6.0 (backups, diagnostics, Start show) ------------------------------------------------ * Start show: one button next to "Open on projector". Opens the projector, turns blackout off, releases a pinned scene and plays the playlist from scene 1. * Backups: "Back up projects and content now" (Updates section). A zip of your projects and content goes in the "backups" folder (newest 10 kept). Your Gemini key is NOT in it. A backup is also made automatically before every update. "Restore a backup..." lets you pick one; it makes a safety backup of the current state first and overwrites files with the same name. * Save diagnostics: one zip with the log, version, system, AI model status and a redacted settings summary (key never included) for pasting into a bug report. It opens the folder. The log only covers this session (it restarts each time the program starts). HARDWARE-UNTESTED: Start show on the real projector, folder opening on Windows. Tested here: backup and restore round trip (found and fixed a bug where a restore could overwrite its own backup), key never in the backup or diagnostics (unit test), page code. NEW IN v2.5.9 (Halloween video loops) ------------------------------------- * 7 animated Halloween loops, each 6 seconds and seamless: drifting fog, three floating ghosts, a flickering candelabra, a fire, a glowing jack-o-lantern, a spider dropping on its thread, and rising embers. They were made from the realistic photo pack plus procedural effects. Black adds no light from a projector, so only the subject glows on your house. * AI models section: "Halloween video loops" > Download (1.3 MB, one time, SHA-256 checked, from your own site). After that the scene builder plays them on windows, walls, garage, fireplace and door surfaces in spooky scenes (about 1 in 10 pictures is a loop; they are picked more often than stills). * Plays muted and loops forever. Works offline once downloaded. HARDWARE-UNTESTED: playback on the Windows/Edge build and on the projector. Tested here: download, SHA check, unpack, scene mixing and video decode in Chrome with a local copy of the site files. NEW IN v2.5.8 (Halloween photo pack) ------------------------------------ * 78 realistic Halloween pictures (ghosts, pumpkins, skeletons, spiders, cobwebs, werewolf, demon, vampire, reaper, witch on the moon, candles, haunted house, graveyard, fog, fire, leaves) on black. Black is not lit by a projector, so they float on your house. They were generated for this app from a free image model (FLUX.1-schnell, Apache-2.0) on your own Cloudflare free allowance, then 26 weak ones (tiny, dim, grey background, odd) were thrown out by hand. * They are NOT inside the program. AI models section: "Halloween photo pack" > Download (2.8 MB, one time, from your own site, SHA-256 checked, flat image files only). After that the scene builder mixes them with the 76 drawn pictures in spooky scenes. Delete the pack folder (packs\) to remove them. * Works offline once downloaded. No keys. Nothing is generated on your PC. HARDWARE-UNTESTED: download and display on the Windows build. Tested here: download, SHA check, unpack, listing and scene mixing against a local copy of the site files. NEW IN v2.5.7 (installer) ------------------------- * "Install on this PC" button (Updates section). It puts the program in C:\Program Files\Projection Mapper, keeps your settings, projects, content and models in %LOCALAPPDATA%\Projection Mapper (your current ones are copied there; the old folder is left alone, never deleted), adds Desktop and Start menu shortcuts, and adds "Projection Mapper" to Windows Settings > Apps with an Uninstall button (uninstall keeps your data folder). * Windows asks permission (the shield prompt) once at install. Only one small step runs with administrator rights: placing the program file. That step re-checks the file's SHA-256 before it writes anything and keeps the old version in the "backup" folder next to the install. * Updates for an installed copy: same Check for updates button, same checks (https only, your site only, SHA-256, backup, rollback). It asks Windows permission once per update. * Not installed? Nothing changes: it keeps running from wherever you put it. HARDWARE-UNTESTED: the whole Windows install/uninstall path (permission prompt, shortcuts, Installed apps entry). The file placing, hash checking, backup and data copy are unit-tested. If the install fails, a log is written to %TEMP%\projection-mapper-install.log and the program keeps running as before. NEW IN v2.5.6 (hotfix) ---------------------- * FIXED: "ReferenceError: renderModels is not defined" at the end of room detection (broke Detect room objects and Auto setup in 2.5.4 and 2.5.5). Room detection now finishes. * Projector window: it is now launched in true browser fullscreen (--start-fullscreen) on its display. Before, Windows gave a window with a title bar and borders, so the picture area was about 1904x1041 and shifted a few pixels instead of exactly 1920x1080. The log line "Projector window connected WxH" should now show the full display size. HARDWARE-UNTESTED: please check that line and the "Projector window rect check" lines. Installer is now v2.5.7. NEW IN v2.5.5 (Halloween picture pack: 76 new pictures, much less repetition) ------------------------------------------------------------------------------ * 76 built-in Halloween pictures, drawn as vector art on black (black = no light, so only the subject is projected): jack-o'-lanterns in 4 faces and 3 colours, pumpkin patch, moon with bats / witch / cat / owl, haunted houses, graveyards, ghosts, eyes in the dark, bats, black cats, spiders and webs, skulls, skeletal and ghost hands, zombie hands, coffin, Grim Reaper, scarecrow, candles, cauldrons, dripping blood and slime, spirit orbs, forests, cemetery gate, crypt door, haunted portraits, and BOO / R.I.P. / Happy Halloween / Trick or Treat signs. They are inside the program: no download, no internet, no keys. * The AI scene builder, Auto setup and the Haunted mood now mix these pictures with the moving effects (about 2 of every 3 surfaces get a picture), pick ones that suit each surface (door, window, wall, garage, mirror, frame ...), and avoid repeating the same one inside a scene or across several builds in a row. The pictures also gently animate (breathe, flicker or drift). * These are drawn art, not photographs. Realistic AI pictures come later with Generate pictures on your Nvidia GPU. Installer is now v2.5.6. NEW IN v2.5.4 (multi-pass calibration, picture motion fix) ---------------------------------------------------------- * Multi-pass calibration (used by Calibrate and by Auto setup; checkbox "Multi-pass" in step 3, on by default). Pass 1 = the normal dot grid. Pass 2 = extra dots at the corners and edges, which pins down the far ends of the picture. Pass 3 = 7 dots at new places that are first used only to check the answer ("Check on 7 unseen dots: X px" in the status and the log); the ones that agree are then added to the fit. About 15 extra dots, roughly 25-40 s more. The 15 s white settle still happens only once, before the first webcam picture. * Fixed: "Picture motion" (Breathing / Flicker / Drift) on pictures did nothing; it works now. Installer is now v2.5.5. NEW IN v2.5.3 (mismatch fix, calibration patterns, AI models screen, long camera settle) ------------------------------------------------------------------------------------- * "Doesn't match" fix: calibrations made before v2.5.0 did not remember the projector window size, so after the window-size fixes they silently landed offset. The app now treats an old calibration as made at the previous window size, logs "Calibration from an older version: assuming it was made at ..." and shows a warning on a size mismatch. If your picture is offset, run Calibrate once. * Test patterns: pick one next to "Test pattern": alignment grid, crosshatch (straight lines and diagonals, shows skew), circles and squares (circles must stay round), nested frames with numbered corners (keystone), checkerboard, brightness steps and colours. * AI models screen ("AI models: what is installed"): every model with size, VERIFIED / NOT DOWNLOADED / PARTIAL / CORRUPT state (SHA-256), where it is stored, and whether it last ran on WebGPU (your GPU) or CPU. Re-download and Open model folder buttons. * First webcam picture of a session: the projector holds a white screen for 15 seconds (changeable next to the webcam button) so exposure and white balance settle, with a countdown. Later pictures only flash. HARDWARE-UNTESTED. Installer is now v2.5.4. NEW IN v2.5.2 (depth AI, bright calibration picture, maximized window) ---------------------------------------------------------------------- * Depth AI (Depth Anything V2 Small, Apache-2.0). In the Room tab, "Use depth AI to find the real corners" is on by default. The first time, the app downloads the 27 MB model (two parts, from the same Projection Mapper site the updater uses, only when you run room detection; every part is SHA-256 checked) into the "models" folder next to the program. After that it is local. Room corners are now found from the depth profile of the wall instead of brightness steps. The log shows "Depth corner score", "Depth map WxH on in N ms" and "Corner planes (from depth)". If the depth AI fails, the app silently falls back to the old brightness method. * Your Nvidia GPU: the control window is now started asking for the high-performance GPU, and the depth AI tries WebGPU first (log: "backend=webgpu"), checks the result is not blank, and falls back to CPU if not. The log shows which one ran and how long it took. (Segmentation still runs on CPU, the verified path.) * Calibration picture: whenever the app takes the room picture from the webcam (take picture button, start of calibration, Auto setup), the projector shows a bright white screen first so the shot is evenly lit. The Room picture view shows that lit shot. If your current picture was not taken lit, the first calibration retakes it once. * The control window opens maximized (not fullscreen). Installer is now v2.5.3. NEW IN v2.5.1 ------------- * "Delete all" button next to the scene buttons: clears every scene after a confirmation question (it keeps one empty scene so you can start again; surfaces and pictures stay). * New program icon: a ghost in a projector beam over a house. It is in the EXE, so it shows in the file list, taskbar and shortcuts, and as the page icon in the browser windows. (Windows can take a moment to refresh the icon cache after an update.) Depth AI and geometry are now v2.5.2, the installer v2.5.3. NEW IN v2.5.0 (window size, calibration quality) ------------------------------------------------ * Calibration remembers the projector window size it was made at. If the window is a different size later (e.g. 1901x1028 instead of 1600x900, the cause of your drift), the log says "WARN projector window is WxH but the calibration was made at ..." and the Calibration panel tells you to make it fullscreen or recalibrate. * Drift is now classified. Small drift is corrected as before. A jump over 25 camera pixels is logged as "LARGE JUMP" (window resized or something bumped); three in a row show a banner telling you to recalibrate. * Windows: the app now uses per-monitor DPI awareness and starts the projector browser at scale 1, then checks the real window rectangle against the monitor up to 5 times and logs each check: "Projector window rect check N: window WxH at X,Y, monitor ..., match=". This targets your 3-display mixed-scaling setup. HARDWARE-UNTESTED. * Calibration is more robust: dots the solver rejects are re-measured once with a bigger dot, then solved again. Fewer "only 5 dots agreed" failures (now needs 5 on a 12-dot grid or a third of a fine grid). Every dot's error is shown ("Residuals") and logged. * Orientation self-test after calibration: the log says whether the camera sees the projector mirrored or rotated. Not in this release (coming in 2.5.1 / 2.5.2): depth + plane fitting, installer. NEW IN v2.4.10 -------------- * Projector window now really goes fullscreen. Your log showed it coming up at 1901x1028 on a 1600x900-class projector display, i.e. with the browser frame still there. The window now reports its real size, and if it is not fullscreen the app presses F11 for it (at most twice). The log line "Projector window geometry: inner WxH, screen WxH, fullscreen=true/false" shows the result, so a screenshot of the log proves it. A full-size window also stops the constant 12-14 px drift corrections that come from the window size changing. * Keep-awake: the projector window holds a browser lock so Edge's "sleeping tabs" and background freezing cannot put it to sleep (your window went silent about 5 minutes after opening, which matches Edge's sleep timer). * Panels remember whether they are open or collapsed between sessions. NEW IN v2.4.9 ------------- * "Now playing" strip at the top of the window: shows the scene the projector is on ("name, 2 of 5") and whether it is on the automatic playlist, pinned, or a scare scene. "Back" and "Next" jump to the previous or next scene right away (the scene stays pinned until you press "Auto", which returns to the automatic playlist). NEW IN v2.4.8 (projector window going blank) -------------------------------------------- * Projector window watchdog: the app now checks the projector window every few seconds. If it dies, freezes or stops answering, it reopens it on the same display and restores the show by itself (at most 3 times in 5 minutes, then it tells you). The log says "WARN projector window problem: ..." with the reason. * Graphics-reset recovery: if the graphics driver resets the projector window's graphics (a common cause of a blank screen on integrated graphics driving several monitors) the window now recovers on its own instead of staying blank. * Smaller render size: the projector window never renders more than 1920 pixels wide (it was 2381x1298 on a 1600x900 projector because of Windows display scaling), which is much lighter for an integrated GPU. * Crash reporting: errors, graphics-context loss, and the projector browser process ending are written to projection-mapper.log (Open app folder). If it still goes blank, copy the log and send it. NEW IN v2.4.7 ------------- * The AI room scene builder now reads Gemini's answer tolerantly too (code fences, raw line breaks, trailing commas, and an answer cut off mid-way: the scenes that are complete are kept). When Gemini still gives nothing usable, the message now says so calmly and the built-in composer makes the scenes (press Build again to retry). NEW IN v2.4.6 ------------- * Room picture view cleaned up. What it is for: it is the EDITING view. It shows your photo of the room with each detected object outlined, so you can select, rename, drag corners, and add or delete objects. It is not what the projector shows (that is Projector view). Before, it also painted every object's effect on the photo, which looked like masks everywhere. Now the default is the photo with thin outlines and the effect shown only on the object you selected. The new "effects on picture" menu next to "outlines" switches between "selected object only", "none (clean)" and "everything". Unselected outlines are thinner and fade when something is selected. NEW IN v2.4.5 ------------- * Fix: effects (ghosts etc.) on the split wall planes looked rotated or sheared. The wall edges were fitted to the ragged top and bottom of the AI wall mask, which could tilt a plane by 15 degrees or more. Plane edge slopes are now limited to a few degrees, and when both edges lean the same way they are made parallel, so a wall stays a believable rectangle in perspective. Use "Auto-orient selected" or drag the corners if a plane still needs a hand adjustment. NEW IN v2.4.4 ------------- * Gemini detection now survives a cut-off or garbled answer: every complete object (name + box) is kept and the broken tail is ignored, so you still get the fireplace, frames and mirrors instead of "Gemini answer could not be read". NEW IN v2.4.3 ------------- * Fix: the projector window no longer opens on a guessed monitor at launch. It now auto-opens ONLY on the display you last used for the projector (matched by position and size). The display you pick in step 1 is remembered as soon as you choose it, and again when you press Open on projector. If nothing is remembered yet, it does not open anything and the log says so. NEW IN v2.4.2 (fixes from your real-room test) ---------------------------------------------- * Gemini detection no longer fails on "Bad control character in string literal": the answer is now read tolerantly (line breaks inside text, code fences, trailing commas, or as a last resort the label/box pairs are pulled out directly). * False "calibration: the projector window did not respond" error fixed: the app now waits longer and retries before giving up, ordered messages to the projector window are never merged, and a stale red error clears when calibration succeeds. * The projector window now starts by itself when the app opens, on the same monitor as last time (matched by position and size; first non-main display if unknown), and asks for full screen (double-click or any key/click in it also goes full screen; F toggles). It never auto-opens on your only screen unless that is where you last used it. Untick "Start the projector window automatically" in step 1 to turn it off. * Projector window no longer goes "quiet" when Windows thinks it is hidden or on another monitor (this made the correction check and calibration time out mid-session): background throttling is off for it, and it now confirms receipt even if drawing is paused. * The Chrome warning bar "unsupported command-line flag --enable-unsafe-webgpu" is gone (the AI runs on the CPU path, no GPU flag needed). NEW IN v2.4.0: ROOM MODE REWORK, SMARTER DETECTION, AUTO SETUP, CORNERS ----------------------------------------------------------------------- FIXES * "ERROR pub failed ... Failed to fetch": the control window could not reach the app's own background program (usually because it had been closed or swapped by an update while the old window stayed open). The window now retries quietly and only shows a red error when the program is really gone, then tells you plainly to close and reopen the app (project is autosaved). * "Found 1 objects (1 wall)": the quantised AI model can return a blank result on some graphics cards. The AI now runs on the CPU path (tested, 1-2 s a pass) and re-runs on CPU by itself if a GPU result ever looks blank. AUTO SETUP (top of the left panel, works in House and Room mode) One tap: opens the projector window, starts the webcam (or uses the phone picture / loaded photo), blacks out the projector and takes a CLEAN picture, auto-calibrates, runs the AI detection, composes scenes. Each step shows done or skipped, and it stops with a plain reason if something is missing. ROOM MODE (House | Room switch) is now its own interface: * Room guide checklist (projector, picture, calibration, objects, scenes). * Room wording and Room quick-idea chips, "Room mood" buttons (Haunted, Cozy Christmas, Party, Calm), show/hide object types, Auto-orient selected. * House-only buttons (Demo house, house detect) are hidden in Room mode. SMARTER ROOM DETECTION * Dim rooms: contrast/brightness is normalised before the AI looks. * Small objects: 5 passes (whole picture plus 4 zoomed tiles). * Wooden shelf boards over a fireplace are named "Mantel"; tiny "mirror" blobs are treated as picture frames; walls/shelves stay upright, frames and mirrors may tilt up to 25 degrees (tilt follows the object's edges). * With a Gemini key saved (Settings), Detect also asks Gemini to find mirrors, picture frames, fireplace, mantel, TV, windows, doors, shelves and curtains BY NAME, boxes them tightly and orients each box from its own edges. This is the strongest option for dim, cluttered rooms. Without a key the built-in AI is weaker: expect to add or fix some objects by hand. CORNERS (Room tab, "Split walls at room corners") The wall is split at the strongest vertical brightness steps (room corners) into separate wall planes. Each plane gets its own perspective quad that shares the corner edge, and an effect assigned to the planes runs continuously across the corner. It is a best guess from one photo: if a plane looks off, drag its corners (they are normal editable surfaces). HONEST LIMITS: Gemini detection and the Windows EXE are untested on real hardware; corner planes use brightness steps, so strong shadows or a very flat corner can fool them; room photos taken while effects are projecting confuse the AI (Auto setup blacks the projector first). NEW IN v2.3.0: ROOM TAB + PHONE CAMERA ----------------------------------------------------------------------- ROOM TAB (House | Room switch at the top of the left panel) 1. Get a picture of the room: load a photo, use the webcam, or use your phone (below). 2. Room tab > "Detect room objects". The AI finds mirrors, picture frames, the fireplace/mantel, windows, doors, shelves, curtains, furniture, floor, wall and ceiling. Each rectangular object gets a rectangle fitted to its own edges, so an effect on a tilted frame is tilted the same way. That is the "auto orient". 3. Room scenes are composed for you: watching eyes in picture frames, a swirling portal in mirrors, fire in the fireplace, a mouth in doors, fog on the wall. A Christmas version glows the frames and warms the fireplace. Buttons: "Compose room scenes" (re-roll), "Demo room" (try without a photo). 4. Two new effects: Mirror portal (swirl + ripples where motion is seen) and Picture frame glow (neon light chasing round the frame). Theme "Room". 5. Pop-in scare scene works in rooms too (mirror flash, frame eyes, fireplace flare). 6. TVs/screens are found but hidden by default so you never light up a TV. HONEST DETECTION NOTES * Method: SegFormer-B0 (ADE20K, 150 object classes) runs on your GPU (CPU fallback), every object type is split into separate objects, and a minimum-area rotated rectangle is fitted to each one. * There is no "mantel" class in the model. A mantel/mantelpiece is found as "fireplace" (works well on a photo). Picture frames are found as painting / poster / bulletin board. Oval portraits are sometimes labelled mirror and vice versa: rename or reassign in the surface list. * Small objects (small frames, far away) can be missed. Use higher Detail, a closer or brighter photo, or "+ Rectangle" to add one by hand. * Round mirrors become their bounding rectangle, effects will fill the rectangle. Use feather / "Draw shape" for exact outlines. PHONE CAMERA (Android or iPhone, no app to install) * Step 2 > "Phone camera". The app shows a web address (https://192.168.x.x:8443/...). Open it in Chrome on your Pixel (same Wi-Fi as the PC). * Chrome warns the certificate is not trusted. That is the PC's own one-time certificate: tap Advanced > Proceed. If Windows Firewall asks, allow Private networks. * On the phone: "Take a photo" sends a full-quality photo. "Start live video" streams about 5-8 frames/second (keep the phone screen on). * In the app: "Use phone picture" makes the latest phone picture the room/house picture. "Use phone as camera" feeds the stream to the auto-calibration and motion watching instead of a webcam (works but is delayed; prop the phone still). * Safety: off until you press the button; the link has a random key; only the phone page and frame upload are open on your network; stays on your local network only; press "Stop phone link" when done. NEW IN v2.2.0 (install it with Check for updates) ------------------------------------------------- Fixes: * The scare scene no longer triggers itself: motion watching pauses while a scare plays and for 2.5 seconds after (the animation looks like movement to the camera). * AI scene names are cut at a whole word instead of mid-word. * Latitude / longitude boxes in the Schedule section show the full number. New: * Quick ideas: six one-click prompts above the AI scene box. * Shuffle: plays the scenes in a new random order each round. * Scare counter in the Reactive section. NEW IN v2.1.0: CHECK FOR UPDATES -------------------------------- In the control window, section "Updates", click "Check for updates". If a newer version is on wadequestbuilds.pages.dev, click "Download and install". The app downloads it, checks its SHA-256 fingerprint, keeps your old version in a folder called "backup", swaps in the new one and restarts itself. Your settings.json (Gemini key), projects and content are not touched. * It only contacts the internet when YOU press the button, and only your own site (wadequestbuilds.pages.dev, https). Gemini calls (optional) are the only other internet use. * If anything goes wrong (no internet, fingerprint mismatch, folder not writable) nothing is changed and the red message explains why; it is also in the log. Windows may show the SmartScreen prompt once for the new version. * This v2.1.0 is the first version with the button. Older versions (v2.0.0 and v1) have to be replaced by hand once. * Not tested on a real Windows PC yet; tested here on Linux with a local test site (check, install, restart, backup, settings kept, bad fingerprint refused). WHAT'S NEW IN v2 (short version; v2.1.0 only adds the updater above) -------------------------------- * AI scene builder: type "haunted house that watches trick-or-treaters" and it builds scenes that fit YOUR house. Windows become eyes, the door becomes a mouth, the garage gets a jack-o-lantern, the roofline glows. * It reacts: with the webcam running it sees people move. Eyes follow them, a spotlight chases them, and a SCARE scene plays when someone walks up. * Optional Gemini key (Settings section) for smarter scenes and generated pictures. Totally optional. Without it everything works offline. * 25 upgrades, listed below. AI SCENE BUILDER (section "AI scene builder") ---------------------------------------------- 1. Get your surfaces in first (AI detect, or Demo house). 2. Type what you want. Words it understands: spooky, ghost, witch, slime, pumpkin, blood, spider, bats, moon, fire, storm, fog, monster, alive, Christmas, snow, cozy, candy, gift, aurora, twinkle, party, calm, wild, and colours (red, orange, green, purple...). Put words in "quotes" to show them as a banner on the garage, for example "HAPPY HALLOWEEN". Say "countdown" for a days-until banner. 3. Click "Build scenes". Click "Another take" for a different version, or "Replace all" to throw away the old scenes first. 4. "Living house + scare scene" adds two special scenes: the Living house (windows = watching eyes, door = hungry mouth that opens when someone moves) and a SCARE scene that only plays on motion. Engines: with a Gemini key it asks Gemini to design the scenes (it is told your surfaces and the effect list; anything it makes up is replaced). With no key, or if Gemini fails, the built-in composer does it, offline, instantly. "Make a picture for the selected surface" uses Gemini image generation (needs a key; Google may require a paid plan for image models) and drops the picture on that surface with a gentle breathing motion. GEMINI KEY (section "Settings: Gemini key") -------------------------------------------- 1. Get a free key at aistudio.google.com/apikey (no card needed). 2. Paste it, click Save. Click "Test connection": it checks the key and makes one tiny test request. 3. Click "Find free models": it tries the available models on your free quota and picks one that works (it prefers the light, cheap ones). Google renames models often, so this finds the current ones instead of guessing. 4. Where it goes: the key is saved in a file called settings.json next to the program (only you can read it). The program only ever sends it to Google (generativelanguage.googleapis.com). It is never shown again in the window (only the last 4 characters). "Remove key" deletes it. Without a key the whole app works; the scene builder uses the built-in composer. The program makes NO other internet connections. REACTIVE (section "Reactive: motion, sound, music") ---------------------------------------------------- * Start the webcam (step 2), tick "Watch for motion". The little graph shows how much movement it sees. Walk in front of it to test. * Keep the camera steady. The projector's own animation can look like movement to the camera. If the scare fires with nobody there, lower Sensitivity. It needs 3 moving frames in a row, and waits (default 20 s) between scares. * "Test scare now" plays the scare scene without needing motion. * Effects marked Reactive: Watching eye (looks toward people), Hungry mouth, Motion spotlight, Scare flash. These only react while motion watching is on. * Day/night: the camera cannot judge daylight while the projector is on, so use the Schedule section: start at sunset (works out sunset for your latitude/longitude, set to El Cajon by default) until a time you choose, on the days you tick. * Music: add an mp3/wav in step 9, pick it, click Play. "Pulse brightness with sound" uses the microphone to make the light beat with noise. THE 25 UPGRADES (numbered changelog) ------------------------------------- 1. Undo / redo (buttons, Ctrl+Z / Ctrl+Y). 2. Keyboard shortcuts (press F1 in the control window for the list). 3. Duplicate surface (copies its content in every scene). 4. Lock surface (no accidental dragging or deleting). 5. Layer order: bring forward / send back. 6. Live scene control: prev / next / pin / resume playlist. BUG FIX: in v1 the box "hold on the scene I'm editing" froze the projector as well. Now it only changes your preview. The projector only holds a scene when you press "Pin on projector". 7. "Flash on projector" to find which surface is which. 8. Export / import scene packs, matched to any house by surface type. 9. Schedule by weekday and time, with "start at sunset". 10. Auto-start: opens the projector window (and webcam, if needed) when the app starts. 11. Output sharpness (full / 75% / 50%) for weaker GPUs. 12. Pause preview (Space). 13. Five new effects: Bats, Blood moon, Embers, Icicles, Ornament bokeh. 14. Text banner content (scrolling or still). 15. Countdown banner (days until Halloween / Christmas). 16. Picture animation: breathing, flicker, drift for your own pictures. 17. Music playback. 18. Sound-reactive brightness (microphone). 19. Webcam motion sensing with live graph. 20. Scare scene that plays on motion, with a cooldown. 21. Four reactive characters (watching eye, hungry mouth, motion spotlight, scare flash). 22. Calibration retries dots the camera missed. 23. Fine calibration grid (20 dots) and a per-dot error report. 24. Camera exposure lock during calibration (if the camera allows it). 25. Drift readings are median-filtered, plus a drift history graph. Plus: the AI scene builder and Gemini settings (not counted above). HOW IT COMPARES TO THE ILLUMIBOT KIT ------------------------------------ Illumibot ($400 box + phone app) works as "Point, Prompt, Play". Matched: guided setup flow; automatic camera alignment and manual corner pinning; AI picking of surfaces (editable); scenes and a scheduler with weekdays and a time window; fades between scenes; audio; saved setups. Exceeded: keeps itself aligned while running (live webcam drift correction); reacts to people (motion scares, follow-the-movement characters); builds scenes per surface type (windows=eyes, door=mouth) instead of one picture over a mask; free; works fully offline; hand-editable warp of every surface; Halloween and Christmas content built in. Not possible in a free local app: Illumibot's cloud AI artwork and video quality (the free local composer uses built-in effects; Gemini pictures are available with your own key but are still, at best, still pictures); the licensed AtmosFX decoration library; multiple projectors in sync; a phone app; the HDMI appliance with offline cloud sync; community scene sharing; projector power on/off control. WHAT HAS NOT BEEN TESTED ON REAL HARDWARE ----------------------------------------- Tested here: the math (sunset, schedule, homography), the scene composer, the shaders and the screens in a headless browser. NOT tested: the Windows EXE itself, a real webcam and projector, motion detection while projecting, camera exposure lock, microphone reactivity, and every live Gemini call (Test connection, scene design, picture generation). Please try those and send screenshots of the log (Copy log) if anything fails. ----------------------------------------- THE BASICS (from v1) ----------------------------------------- What it is ---------- A Windows program that turns your projector into a house-decorating machine. Point the projector at the front of your house, and the app puts spooky (or Christmas) animations exactly onto the windows, door, garage door, roofline, trees and walls, with a hole cut out for each window so nothing spills over. It uses your laptop's graphics card (your Nvidia GPU) to draw everything, and a small AI model to find the windows, doors, walls and trees in a photo for you. Nothing to install. Just run ProjectionMapper-v2.2.0.exe. (It needs Microsoft Edge or Google Chrome, which Windows 10/11 already has.) First time starting it ---------------------- 1. Double-click ProjectionMapper-v2.2.0.exe. Windows may say "Windows protected your PC" because the program is new. Click "More info", then "Run anyway". 2. A control window opens on your laptop screen. 3. Plug in the projector. Press Win + P and choose "Extend". Quick tour (try this first, no camera needed) --------------------------------------------- 1. Step 1, "Projector display": pick the projector in the list, click "Open on projector". A black window appears on the projector, fullscreen. Click "Test pattern": the red border should touch all 4 edges. 2. Step 2: click "Demo house". A pretend house shows up. 3. Step 6: click "Halloween preset" or "Christmas preset". The house lights up on the projector. Each preset has several scenes that play one after another. Using your real house --------------------- There are two ways. Webcam is automatic. A photo needs a little dragging. A) With a webcam (best) 1. Place the webcam where it can see the whole front of the house. Put it on something steady. Do not move it afterwards. 2. Step 2: pick the webcam, click "Start webcam", and allow the camera when asked. 3. Wait until it is fairly dark (dusk is best). 4. Step 3: click "Auto-calibrate with webcam". The projector flashes 12 dots one by one (about 15 seconds). The webcam finds them and learns how the projector lines up with your house. It tells you how accurate it is. 5. Step 4: click "Detect walls, windows, doors, roof, trees". The AI draws outlines on the picture. (The webcam picture becomes the house picture.) 6. Fix anything it got wrong (see "Editing" below). B) With a photo (no webcam) 1. Step 2: "Load photo..." and choose a straight-on picture of the house. 2. Step 4: run the AI detect. 3. Step 3: click "Manual photo alignment". Switch to Projector view. A see-through copy of your photo is projected onto the house. Drag the 4 yellow corners until the projected picture lines up with the real house. Click the button again when done. Editing (the AI is never perfect) --------------------------------- Click a surface in the list or in the preview. - White dots = the outline. Drag to move. Double-click an edge to add a dot. Right-click a dot to remove it. Hold Alt and drag to move the whole shape. - Colored squares = the 4 corners the animation is bent to. Drag to fix the fit on slanted or odd surfaces. - "House picture view" edits on the photo. "Projector view" edits what the projector actually shows, which is handy for fine nudging while you stand outside looking at the house. - "+ Rectangle" and "+ Draw shape" add your own surfaces. Delete key removes. What can play on a surface -------------------------- Halloween: flames, lightning storm, ghostly fog, toxic slime, pumpkin glow, jack-o'-lantern face, haunted window with a moving silhouette, spider web, floating ghosts, dripping blood, glowing eyes in the bushes, creepy heartbeat, glowing roofline outline. Christmas: falling snow, twinkle lights, candy cane stripes, aurora, red and green chase, warm window glow, gold glitter, gift wrap with bow (great for a garage door), starry sky, roofline bulbs that chase, glowing outline. Your own videos and pictures: click "Add files..." in step 9 (mp4/webm/jpg/ png). Then choose them in a surface's content list. They are stored in the "content" folder next to the EXE. You can change colors, speed, size and brightness for each surface. Scenes and playlist (step 6) ---------------------------- A scene says what every surface plays. Add as many scenes as you like. With "Play scenes in order" ticked, the show cycles through them and fades between them. While you edit, "hold on the scene I'm editing" keeps the preview on the scene you are working on. Live error correction (step 7) ------------------------------ Projectors get bumped, tripods sag, wind shakes things. When this is on, the projector briefly shows 12 small reference dots every few seconds (default 20). The webcam measures where they land compared with right after calibration, and the program shifts the whole show to cancel the drift. You will see a very quick flicker of dots. Tick "Black screen during check" for a more reliable but more noticeable reading. "Check now" does one right away. "Reset correction" undoes it. Needs: webcam running, calibrated with the webcam, projector window open. It assumes the WEBCAM stays still. If you bump the webcam, calibrate again. Other settings -------------- Step 8: brightness, gamma, and edge blend (only for two overlapping projectors). Step 10: save and load projects (stored in the "projects" folder). Your work is also saved automatically, and restored the next time you start. Blackout (step 1) turns the whole show off instantly. Folders next to the EXE ----------------------- content\ your own videos/pictures projects\ saved projects projection-mapper.log what the program is doing. If anything goes wrong, send a screenshot of the log (step 10, bottom of the left panel) or this file. browser-profile\ the control window's settings and camera permission. If something does not work -------------------------- - Projector window is on the wrong screen: Close it, pick another display in step 1, press Open again. Or click in it and press F for fullscreen. - Only one display listed: press Win+P, choose Extend, then "Refresh". - "Calibration failed / saw only N dots": make the area darker, aim the camera so it sees the lit house, lower the webcam's auto-exposure if it has a setting. - Camera asks permission every time: click Allow once; it remembers. - AI says it ran on CPU: that is normal and still takes only a few seconds. - Red banner at the top = an error. It is also in the log. - The program closes by itself when you close the control window. Honest limits ------------- - Houses are not flat. Per-surface fit (step 3) helps. Large depth differences (porch vs. wall) may need a nudge of the colored corner squares. - The AI knows 150 common things (wall, window, door, tree, grass...). It does not know "garage door" by name; it guesses from shape. Roofline comes from the top edge of the biggest wall area. - Daylight washes out a projector. This is for after dark.