Documentation

Marble

Classic marble swirl and vein texture using noise-warped sine waves

Props

colorAstring
Default:#ffffff
Base background color of the marble
colorBstring
Default:#3a2d54
Secondary marble tone
colorCstring
Default:#0f0f0f
Deepest marble color
scalenumber
Default:2
Scale and density of the marble vein pattern
turbulencenumber
Default:10
Amount of noise-driven distortion applied to the veins
speednumber
Default:0.05
Animation speed
seednumber
Default:0
Random seed for pattern variation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"
Default:linear
Color space for color interpolation

Usage

<Shader>
  <Marble />
</Shader>