Night Windows
A city at night in layers of depth: warm and cool windows that switch on and off on their own, flickering screens and cursor parallax.
- Plan
- Pro · commercial license
- Dependencies
- React only
- Props
- 8 (8 adjustable)
Included in Pro and Lifetime. See pricing
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
warmColor | string | "#ffb25c" | Color of the warm windows (bulbs and lamps). |
coolColor | string | "#9fd2ff" | Color of the cool windows (offices, screens). |
skyColor | string | "#4a2a52" | Color of the sky glow at the horizon. |
density | number | 0.5 | Fraction of windows that are lit (0 to 1). |
activity | number | 1 | How often the windows change (1 = normal). |
parallax | number | 1 | How much the city shifts with the cursor (0 to 2). |
speed | number | 1 | Speed of the camera's sideways drift (0 = still). |
interactive | boolean | true | When true, windows near the cursor light up. |
Installation
With your license
1Set up the Pro registry once
Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.
Use my license2Install Night Windows
npx shadcn@latest add @furin-pro/ night-windowsDependencies
- React
- 18 or later
- WebGL 2
- in the browser
- Other libraries
- none
- License
- commercial
Pro components install into your project: the code is yours and there's nothing else to download.
Keep exploring
Oscilloscope
ProA green-phosphor oscilloscope with true persistence: Lissajous figures that unwind between frequency ratios, a beam that glows brighter where it slows down, a graticule, bloom and CRT tube curvature. The cursor tunes the frequencies and, on release, it locks to the nearest ratio.
Backgrounds
Paper Layers
ProA landscape cut from layers of paper, with fibers, cut edges and soft shadows; the cursor is the light and the layers pull apart as it gets close.
Backgrounds