threecn

Cube Wave

A grid of instanced cubes riding a radial wave from the center outward, blending --accent troughs into --primary crests. One draw call.

A grid of instanced cubes riding a radial wave from the center outward. Each cube blends from --accent in the troughs to --primary on the crests — hundreds of cubes, one draw call.

Fullscreen

Customize

Grid16
Gap0.75
Speed1

Props

gridnumber

Cubes per side (total = grid²).

Default16
gapnumber

Spacing between cube centers.

Default0.75
speednumber

Wave speed multiplier.

Default1
classNamestring

Classes for the wrapper element (set its height here).

Default
theme"auto" | "light" | "dark"

Color source. auto reads the live shadcn theme.

Default"auto"

On this page

No Headings
Sponsor

Become a sponsor

threecn is free and open source. Sponsor the project to keep new scenes shipping and get your logo in front of the community.

Become a sponsor

Opens an email to leonelngoya@gmail.com