← All components
Atmospheres / background

Pixel Blast

A dithered field responds with ripples, liquid trails and four pixel shapes.

Open in studio ↗
PLAYGROUND
Live preview
Preparing preview…

Take it with you.

SOURCE ACCESS

Preview freely. Unlock the files.

Enter the shared password to copy the complete source, download every file, and install components in your app.

Access lasts 24 hours. Your preview settings stay with you.

Component notes

  • Give the component a container with an explicit height. It fills that container.
  • The included Demo.tsx recreates the full preview; the main export contains only the background.
  • Keyboard Enter or Space creates a centered ripple. Reduced motion renders a still field; a CSS pattern remains without WebGL.
  • Canvas buffers are capped at 2048 pixels per dimension; pointer trails are bounded. The seed gives repeatable patterns.
  • Changing antialiasing, liquid mode or enabling film grain recreates the graphics pipeline and restarts its clock. Other controls update in place.
React 19WebGL2Three.js 0.183.1postprocessing 6.38.3

React Bits · MIT with Commons Clause. Used with explicit project permission; see bundled notice.

Props

PropTypeDefaultDescription
variantsquare|circle|triangle|diamondsquarePixel shape
colorstring#B19EEFPixel color
pixelSizenumber3Pixel size
patternScalenumber2Pattern scale
patternDensitynumber1Density
speednumber0.5Motion speed
liquidbooleanfalseLiquid distortion
liquidStrengthnumber0.1Liquid strength
liquidRadiusnumber1Liquid radius
liquidWobbleSpeednumber4.5Liquid wobble speed
enableRipplesbooleantrueEnable ripples
rippleIntensityScalenumber1Ripple intensity
rippleThicknessnumber0.1Ripple thickness
rippleSpeednumber0.3Ripple speed
pixelSizeJitternumber0Pixel jitter
edgeFadenumber0.5Edge fade
noiseAmountnumber0Film grain
transparentbooleantrueTransparent background
antialiasbooleantrueAntialiasing
seednumber0Pattern seed
classNamestring''Outer wrapper classes.
styleCSSPropertiesundefinedAdditional outer styles.
autoPauseOffscreenbooleantrueCompatibility prop: offscreen suspension is always enforced.
pausedbooleanfalseFreeze the current frame without accumulating paused time.
replayTokennumber0Change to reset the animation and interactive state.