生产级英文提示词 · 6814 字符
Build Solaia — Architectural Louvre Dimmer, a single-screen interactive tactile hardware experience for a serene architectural glass-walled reading and listening atrium. Rather than a flat digital toggle, the interface presents a physical porcelain Venetian-louvre shutter mounted on a sunlit matte plaster wall, coupling a single continuous closure parameter `p` in `[0, 1]` (`0` = open daylight atrium, `1` = drawn twilight sanctuary) to real-time architectural wall shadows, miniature tilting blind slats, ambient hardware lighting, atmospheric particles, and live photometric telemetry.
**Viewport Composition & Proportions**
Render a full-viewport (`100vw × 100dvh`, `overflow: hidden`) centered monument with generous calm negative space. Position the horizontal capsule toggle horizontally centered (`50%`) and slightly above vertical midpoint (`~37%` viewport height) so the hardware plus its typography footer balance around optical center. Size the outer pill capsule responsively around `clamp(260px, 40vw, 340px)` wide with an exact `2.66:1` aspect ratio (`320px × 120px` desktop baseline) and `9999px` full-pill radius. Leave `~48px` vertical breathing space below the capsule before a centered 3-line status stack spanning `~59%–74%` of viewport height.
**Architectural Wall, Dynamic Venetian Shadows & Atmosphere**
Render the full-screen backdrop via a high-DPI HTML5 Canvas or WebGL fragment shader layered beneath the UI, textured with ultra-fine warm plaster micro-grain to eliminate gradient banding. In daylight (`p = 0`), wash the wall in warm sunlit ivory plaster (`#F5F0E2`) crossed by soft Gaussian-blurred diagonal Venetian-blind shadow bands (`#D7D0C2`) angled at `-18°` (rising lower-left to upper-right) across roughly 6–7 parallel sunlit shafts. Include an architectural vertical window-mullion shadow column on the right third (`x ≈ 72%–79%`, skewed `+9°` clockwise) separating the primary pane from an adjacent right pane so light reads as physically cast by an off-screen window. Scatter 25–35 subtle warm-white floating dust motes (`1.5px–3px`, gentle sinusoidal drift) glowing inside sunlit shafts and fading smoothly as `p` increases. Crucially, do NOT simply fade wall shadows with opacity during closing: drive each diagonal sunlit band's open aperture width directly from `(1 - p)` so bright shafts physically pinch down into razor-thin glowing slits around `p ≈ 0.72` before sealing completely shut. Simultaneously interpolate the room into an intimate warm espresso darkroom (`#342F27` perimeter) illuminated by a soft radial desk-lamp glow (`#554535`) centered behind the switch (`50% 35%`), leaving only barely perceptible ghosted slat seams (`opacity: 0.04`).
**Sculpted Porcelain Louvre Toggle Architecture**
Construct the hardware switch with multi-layered tactile realism whose surface illumination dynamically dims with `p` (never staying harsh white in dusk mode):
- **Outer Porcelain Bezel**: `6.5px` matte ceramic rim (`#F6F0E4` at `p = 0` smoothly dimming to `#B1ABA1` at `p = 1`) with an outward directional cast shadow down-right onto the wall (`rgba(85, 72, 54, 0.24)` in daylight tightening into grounded ambient occlusion in dusk) plus a recessed inner cavity shadow (`inset 0 4px 12px rgba(45, 36, 25, 0.22)`).
- **Recessed Sky Window**: Clipped cleanly inside the pill interior sits a luminous atmospheric sky backdrop—pale cerulean upper sky (`#B6C7DB`) transitioning through misty alabaster (`#E8EAE5`) to a warm sunlit horizon sill (`#E7DCBE`)—gradually occluded as the louvres close.
- **9 Synchronized Miniature Venetian Slats & Ladder Cords**: Stack 9 evenly pitched horizontal louvres inside the recessed cavity. At `p = 0`, tilt slats open (~`78°`) so only crisp porcelain front edges and delicate underside highlights cross the open sky. As `p → 1`, smoothly rotate and expand each slat into an overlapping cylindrical-beveled horizontal blade shaded top-to-bottom (`#ADA69C` ridge to `#958E83` mid to `#766F65` crease shadow), sealing the window opaque. Place two hairline (`1px`) dark-stone vertical ladder cords at `34.5%` and `65.5%` across the track width, layered above the slats and beneath the knob.
- **Sculpted Circular Thumb Knob**: Diameter `~102px` (`85%` of outer capsule height) gliding smoothly across the inner track from left rest (`p = 0`) to right rest (`p = 1`) with a directional drop shadow onto the slats beneath. Sculpt a two-tier ceramic profile: a softly convex outer ring (`#FAF6EE` to `#B5B0A8`) framing a concentric `54%`-diameter recessed concave thumb-dimple with inverted top-left shadow and bottom-right catchlight. Center a `22px` stroke-only (`1.6px`, round caps) SVG emblem inside the dimple that cross-fades with subtle scale and blur across `p = 0.5`: an original architectural zenith-ray aperture (minimal geometric ring with fine upward radial light ticks in warm amber `#C39963`) for daylight, transitioning into a sheltered dusk-horizon arc (minimal crescent dome resting above a hairline sill in muted twilight indigo `#504670`) for closed sanctuary mode.
**Typography, Original Copy & Live Photometric Telemetry**
Load Plus Jakarta Sans (500/600) and JetBrains Mono (400/500) from Google Fonts, preserving exact single-line rhythm across three centered rows:
1. **Eyebrow (`12px` JetBrains Mono uppercase, `letter-spacing: 0.24em`)**: A `6px` status LED dot smoothly interpolating from honey amber (`#D89B52`) to dusk periwinkle (`#A093FC`, soft matching glow in dusk) beside `ROOM SCENE` (`#706959` to `#9D9286`).
2. **Headline (`clamp(30px, 4.2vw, 44px)` Plus Jakarta Sans 500, `-0.03em` tracking)**: `"Clear sky, sunlit atrium."` (`#1C150E`) when `p < 0.5`; `"Shade drawn. Still room."` (`#FAF2E8`) when `p >= 0.5`.
3. **Telemetry Subline (`16px` JetBrains Mono, `font-variant-numeric: tabular-nums`, `#6B6457` to `#9E9285`)**: `"520 lux ambient light · 15:24"` (live local `HH:MM` clock, dynamically interpolating lux during drag) in daylight; `"Dimmed to 14 lux calm · 00:00"` (starting an elapsed `MM:SS` quiet-session timer ticking cleanly every second whenever the shutters close) in dusk.
Animate headline and subline transitions with a `260ms` Gaussian blur-dissolve (`blur(8px)` + opacity dip + subtle `4px` vertical shift) triggered as `p` crosses `0.5`.
**Physics, Interaction & Accessibility**
Drive every visual channel from a critically damped spring (`stiffness: 180`, `damping: 22`, ~`600ms` settle) supporting both single-click toggle and continuous pointer-drag scrubbing (`grab` / `grabbing` cursor on the knob, snapping on release via velocity or `0.5` midpoint), plus keyboard accessibility (`role="switch"`, `aria-checked`, `Space` / `Enter`). Optionally synthesize subtle Web Audio mechanical blind-slat tilt clicks on user gesture, and honor `prefers-reduced-motion`.