Back to library

COMPONENT / GRAPHICS

Pixel Line Stretch

A single sampled pixel line expands into radial bursts, directional bands and a tunnel-like depth field controlled by local pointer position.

Ready
LIVE RENDERERCanvas 2D · VARIANT 01
RUNNING
DPR ≤ 2RESPONSIVEPOINTER SAFE
03 VARIANTSSELECT A STARTING STATE
01
02
03
RENDERERCanvas 2D
DEPENDENCIESReact + Canvas 2D
OUTPUTAdaptive live canvas
MOTIONReduced-safe
WHAT IT DOES

A single sampled pixel line expands into radial bursts, directional bands and a tunnel-like depth field controlled by local pointer position.

BEST FOR
  • Framed media
  • Vector studies
  • Focused product surfaces
KEY FEATURES
  • One-dimensional sample data expands into three spatial modes
  • Pointer movement changes depth and origin without camera jumps
  • Pixel-aligned rendering preserves hard sample edges
  • A component-specific renderer and control contract—not a palette swap of another release
  • Compact and full previews share one visibility-aware production renderer
PERFORMANCE

Adaptive sampling, capped DPR and visibility-based suspension keep the renderer predictable. Test density on low-power mobile hardware before increasing it.

INTERACTION

Pointer and touch coordinates are container-scoped; offscreen renderers stop work and pixel ratio is capped.

ACCESSIBILITY

The visual canvas is decorative by default. Pair it with a semantic heading or description, and reduced motion holds a stable rendered frame.

BEHAVIOR

Built to move without taking over.

USE IT

Sign in, copy the source, rename it, tune the values and ship it inside your own system.