Vesica

Vesica piscis (lens shape) formed by the intersection of two overlapping circles

Props

PropTypeDefaultDescription
originorigincenterReference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
colorcolor#ffffffFill color of the vesica
centerposition{"x":0.5,"y":0.5}Center position of the vesica
radiusrange0.35Radius of the two overlapping circles
spreadrange0.5Circle separation — 0 = full circle overlap, 1 = infinitely thin lens
rotationrange0Rotation in degrees
softnessrange0Edge softness for antialiasing
strokeThicknessrange0Stroke thickness. Zero means no stroke.
strokeColorcolor#000000Color of the stroke outline
strokePosition"outside" | "center" | "inside"centerPosition of the stroke relative to the shape edge
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"linearColor space for blending fill and stroke colors

Usage

vue
<Shader>
  <Vesica
    color="#ffffff"
    :radius="0.35"
  />
</Shader>