Skip to content
ProBackgroundsWebGL

Bokeh City

Night city lights blurred like a real lens: glowing-rimmed discs with aberration, traffic trails, focus that racks in and out on its own, and cursor parallax.

Plan
Pro · commercial license
Dependencies
React only
Props
12 (11 adjustable)

Included in Pro and Lifetime. See pricing

The city never goes dark

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

Props

PropTypeDefaultDescription
warmColorstring"#ffb054"Color of the warm lights (sodium lamps, bulbs, windows).
coolColorstring"#8fc4ff"Color of the cool lights (offices, LEDs).
neonColorsstring[]"[\"#18e0ff\", \"#ff2fa0\"]"Colors of the neon signs; one is picked at random per sign.
countnumber720Number of lights in the scene (200 to 1200).
bladesnumber0Aperture blades: 0 = circle, 5 to 9 = straight-edged polygon.
focusnumber0.5Central focus plane, from 0 (near) to 1 (far).
racknumber0.42How much the focus drifts up and down on its own (0 = fixed).
depthOfFieldnumber1Blur strength: how large the discs get.
speednumber1Speed of the traffic and the focus (0 = still).
parallaxnumber1How much the layers shift with the cursor (0 to 2).
scrimnumber0.45How much the center lights are dimmed so a headline stays readable (0 to 1).
interactivebooleantrueIf true, the cursor moves the parallax and its height changes the focus.

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 Bokeh City

npx shadcn@latest add @furin-pro/bokeh-city

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

  • Brushed metal with an anisotropic highlight that rotates with the cursor.

    Backgrounds

  • The light on a swimming pool floor: nets of focused light that move with the waves, with a slight color dispersion.

    Backgrounds

  • A printed circuit board generated on the fly, with trace bundles, vias and chips. Light pulses travel along the traces and the cursor lights them up.

    Backgrounds