Skip to content
ProBackgroundsWebGL

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

Nobody sleeps here

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
warmColorstring"#ffb25c"Color of the warm windows (bulbs and lamps).
coolColorstring"#9fd2ff"Color of the cool windows (offices, screens).
skyColorstring"#4a2a52"Color of the sky glow at the horizon.
densitynumber0.5Fraction of windows that are lit (0 to 1).
activitynumber1How often the windows change (1 = normal).
parallaxnumber1How much the city shifts with the cursor (0 to 2).
speednumber1Speed of the camera's sideways drift (0 = still).
interactivebooleantrueWhen 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 license

2Install Night Windows

npx shadcn@latest add @furin-pro/night-windows

Dependencies

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

  • A strip curtain that opens with the cursor.

    Backgrounds

  • A 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

  • A 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