Background

Warm Beam Over The Palette

A column of warm light stands in dusty air, meets the top edge of a command palette and spills across the keys. The shader computes the beam and the dust; the palette stays plain markup.

What you can change

  • core, glow and deep — the temperature of the light from the core to the embers at the edges
  • background and panel — the colour of the night and of the palette and key surfaces
  • intensity, dust and speed — the strength of the light, the density of the dust and the pace of its breathing

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/background-004?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

The scene is drawn by a WebGL 2 fragment shader while the DOM holds the command palette and the rows of keys. The layers are computed in screen space: a cone with soft edges (the source hangs above the frame, so the beam is already wide at the top), the shiver of the air from low-frequency noise, dust motes from a noise threshold, the heat on the palette edge, slanted shafts along the cone, and the warm spill over the palette and the keys. Colour is stacked in steps (embers, amber, white gold) and passes through Reinhard tone mapping: warm light burns to white faster than cold, and without compression the core loses its colour. The canvas sits above the scene in screen mode, so the light lands on the surfaces rather than glowing from beneath them. The cursor moves an extra spot inside the shader, so React re-renders nothing. Frames are computed only while the component is visible and the tab is active, devicePixelRatio is capped at two, and prefers-reduced-motion leaves a single still frame. Where WebGL 2 is missing, gradients of the same drawing hold the scene. The background under the beam is not empty: a grid with dots runs across it and an invisible field of glyphs — fragments of commands and keys — lies on top. It appears only under the cursor beam: the coordinates go into CSS variables, so the reveal re-renders nothing. The scene content is passed through children.

Tags

  • background
  • light
  • warm
  • amber
  • dust
  • webgl
  • shader
  • command-palette
  • keyboard
  • dark
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…