Toggle Sidebar B
Light & dark mode D

Kaleidoscope

Create a kaleidoscope effect with radial mirrored segments

Create a kaleidoscope effect with radial mirrored segments

Props

PropTypeDefaultDescription
centerposition{"x":0.5,"y":0.5}The center point of the kaleidoscope effect
segmentsrange6Number of radial segments in the kaleidoscope
anglerange0Rotation offset for the entire kaleidoscope pattern
edges"stretch" | "transparent" | "mirror" | "wrap"mirrorHow to handle edges when distortion pushes content out of bounds

Usage

vue
<Shader>
  <Kaleidoscope>
    <Circle />
  </Kaleidoscope>
</Shader>