Toggle Sidebar B
AppearanceLight & dark mode D

Acid Squares

A crystalline corridor of stacked squares receding into depth.

Default

Every prop is wired to the controls underneath. The corridor is raymarched in a WebGL fragment shader and dents under the cursor.

Light previewReplay previewOpen in new tab
New Creative Components

A luminous crystal corridor of stacked squares.

Get started Learn more

Customize

Color 1
Color 2
Color 3
Detail
Speed0.7
Wave Depth1
Color Shift0
Zoom1.3
Density10
Spread0.3
Step Size0.002
Glow1
Exposure2700
Brightness1
Contrast1
Opacity1
Collapse Strength0.1
Cursor Radius0.35
Blur0
Grain Intensity0.05

API Reference

AcidSquares

PropTypeDefaultDescription
color1string'#5227FF'Violet core color used for the dim depths of the corridor.
color2string'#A855F7'Pink mid-tone color used for the glowing crystal faces.
color3string'#FFFFFF'White highlight color used for the hottest edges.
detail"low" | "medium" | "high"'medium'Raymarch quality tier (20 / 32 / 48 steps). Higher looks richer but costs more.
speednumber0.7Speed of the forward drift through the lattice.
waveDepthnumber1How far the view gently drifts in and back out as the corridor breathes. 0 holds it still.
zoomnumber1.3Field of view into the corridor. Higher zooms in.
densitynumber10.0How tightly the boxes of the lattice are packed.
glownumber1.0Gain applied to the accumulated light along each ray.
exposurenumber2700Tone-mapping exposure. Higher values darken the render.
spreadnumber0.3Controls how the ray step grows each iteration; strongly shapes the look.
stepSizenumber0.002Minimum ray step. Larger values thin out the glow.
colorShiftnumber0Rate of the gentle brightness shimmer cycling over time.
contrastnumber1Contrast applied around the mid-tones of the final image.
brightnessnumber1.0Overall brightness multiplier before tone mapping.
opacitynumber1.0Overall opacity of the effect over the transparent background.
mouseInteractionbooleantrueEnables a soft depression that sinks the lattice downward around the pointer.
mouseStrengthnumber0.1How deeply the cursor presses the lattice down inside the affected area.
mouseRadiusnumber0.35Size of the area around the pointer that collapses, as a fraction of the view height.
blurnumber0Softens the whole effect with a post-process Gaussian blur. 0 is crisp; 1 is a soft haze.
grainbooleantrueAdds a faint animated film grain over the final image for a subtle analog texture.
grainIntensitynumber0.05Amplitude of the grain overlay. 0 disables it entirely.
lightModebooleanfalseRenders the effect over an opaque white background instead of a transparent one.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Purely decorative canvas. Place it behind content with enough contrast.