Plasma

Animated effect of glowing plasma

Props

  • density

    Density of the plasma pattern

    Type
    number
    Default
    2
  • speed

    Animation speed

    Type
    number
    Default
    2
  • intensity

    Brightness and spread of the plasma glow

    Type
    number
    Default
    1.5
  • warp

    How much the flow distorts and swirls

    Type
    number
    Default
    0.4
  • contrast

    Push darks darker and lights lighter

    Type
    number
    Default
    1
  • balance

    Skew color balance toward A (higher) or B (lower)

    Type
    number
    Default
    50
  • colorA

    Primary color

    Type
    string
    Default
    #7018be
  • colorB

    Secondary color

    Type
    string
    Default
    #000000
  • stops

    Multi-stop gradient colors (overrides Color A / Color B when set)

    Type
    object
    Default
    null
  • colorSpace

    Color space for color interpolation

    Type
    "linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"
    Default
    linear

Usage

<Shader>
  <Plasma
    intensity={1.5}
  />
</Shader>