The walls glow only where the future was wrong. Hold still and the room goes dark as it learns you. Move, and the future moon goes to look.
p = w · φ(x, x − x₋₁, mem). One linear filter shared by every pixel, solved by exact least squares with forgetting.|camera − prediction|, the innovation, above the frame's own noise floor (3×3 average minus the frame mean). The innovation is the only signal that teaches.p + K·(eye − p), with per-pixel K = 1 − R / max(running surprise, this frame's local surprise). On a still noisy room the belief is 7.5× closer to the clean scene than the raw camera, and a sudden new object passes through in its first frame (8% error).A tiny brain that lives at 64×64 and keeps three moons.
The walls light up only where that guess was wrong. Sit still and the room learns you and goes dark. Wave a hand and it lights up, and the future moon drifts over to look.
Everything runs in this page. Frames are never uploaded.