Flicker field

Signature

Fills a background with brand colour that feels alive without carrying a message. A signature look. Use it only when the brand's style calls for it, never as a default.

Rendered video, with motion blur.

0.00 / 2.00 s

Live preview, driven by the code below. No motion blur.

What it does

A field of tiles steps between six brand tints.

Curve

Expo out

Values

S is the frame's short side, 1080 px at 1080p. Unmeasured inputs in the preview are illustrations, not rules.

FactValue
Purpose
Loop
Acts on
Background
Typical length
2 s (60 frames at 30 fps), preview; runs the whole scene
Caution
No text on the tiles and one colour family only.
PropertyValue
Palette
Six steps from Ground to Accent
Step
0.11 s, per-cell offset up to 0.3 s
Pale tiles
h(c, r) < 0.12
Reveal
0.05(c + r) - 0.25 + 0.08h(c, r) s
Arrival
0.18 s
Scale
0.6 to 1
Preview grid
13 × 7, 9.6% S (104 px) tiles, 12.6% S (136 px) pitch
Export samples
12; 1 when still

Code

ts
export const seg = (t: number, a: number, b: number) => Math.max(0, Math.min(1, (t - a) / (b - a)));

export const lerp = (a: number, b: number, k: number) => a + (b - a) * k;

export const out = (k: number) => (k >= 1 ? 1 : 1 - Math.pow(2, -10 * k));

export const io = (k: number) => (k < 0.5 ? 16 * k ** 5 : 1 - Math.pow(-2 * k + 2, 5) / 2);

export const inn = (k: number) => k * k * k;

export const cubicOut = (k: number) => 1 - Math.pow(1 - k, 3);

export const h = (i: number, j: number) => { const x = Math.sin(i * 127.1 + j * 311.7) * 43758.5453; return x - Math.floor(x); };

export const phase = (t: number, start = 0, duration = 0.6) => seg(t, start, start + duration);

export const easeInOut = (p: number) => p < 0.5 ? 4 * p ** 3 : 1 - (-2 * p + 2) ** 3 / 2;

export const front = (c: number, r: number) => 0.05 * (c + r) - 0.25 + 0.08 * h(c, r);

export function flickerSlots(t: number, c: number, r: number) {
  const on = out(seg(t, front(c, r), front(c, r) + 0.18));
  const step = Math.floor((t + h(c, r) * 0.3) / 0.11);
  const q = h(c * 7 + step, r * 3 - step);
  const index = h(c, r) < 0.12 ? 0 : q < 0.18 ? 0 : q < 0.3 ? 1 : q < 0.42 ? 2 : q < 0.58 ? 3 : q < 0.76 ? 4 : 5;
  return { accentMix: index / 5, opacity: on, scale: lerp(0.6, 1, on) };
}

Best practices

Use it forAvoid
A background group
Text on tiles
A restrained brand field
Mixing colour families

Reduced motion: a simple opacity fade over 0.2 s.