Introducing v3 — a new editor, faster engine, and more.

See what's new

RadialWipe

Sweep the content away in a clock-hand arc around a center point

Props

progressnumber
Default:0.5
How far the sweep has travelled (0 = fully visible, 1 = fully wiped away)
startAnglenumber
Default:0
Angle in degrees where the sweep begins
direction"cw" | "ccw" | "both"
Default:cw
Which way the sweep rotates
center{x: number, y: number}
Default:{"x":0.5,"y":0.5}
Point the sweep rotates around
feathernumber
Default:0.1
Softness of the sweeping edge
invertboolean
Default:false
Reverse which side of the sweep is wiped

Usage

<Shader>
  <RadialWipe>
    <Circle />
  </RadialWipe>
</Shader>