Toggle Sidebar B
Light & dark mode D

BarShift

Slices content into parallel bars, each offset independently for a fractured or glitch-like effect

Slices content into parallel bars, each offset independently for a fractured or glitch-like effect

Props

PropTypeDefaultDescription
countrange6Number of bars across the longest viewport dimension
anglerange0Angle of bar orientation in degrees (0 = vertical bars, 90 = horizontal bars)
intensityrange0.15Maximum displacement per bar
seedrange0Randomization seed for per-bar offset variation
speedrange0Animation speed - each bar drifts at its own rate and direction
edges"stretch" | "transparent" | "mirror" | "wrap"mirrorHow to handle edges when distortion pushes content out of bounds

Usage

vue
<Shader>
  <BarShift
    :intensity="0.15"
  >
    <Circle />
  </BarShift>
</Shader>