Beam
A beam of light from one point to another.
Props
Prop
Details
startPosition{x: number, y: number}Default:
{"x":0.2,"y":0.5}Starting point of the beam
startPosition{x: number, y: number}Default: {"x":0.2,"y":0.5}Starting point of the beam
endPosition{x: number, y: number}Default:
{"x":0.8,"y":0.5}Ending point of the beam
endPosition{x: number, y: number}Default: {"x":0.8,"y":0.5}Ending point of the beam
startThicknessnumberDefault:
0.2Thickness at the start of the beam
startThicknessnumberDefault: 0.2Thickness at the start of the beam
endThicknessnumberDefault:
0.2Thickness at the end of the beam
endThicknessnumberDefault: 0.2Thickness at the end of the beam
startSoftnessnumberDefault:
0.5Edge softness at the start of the beam
startSoftnessnumberDefault: 0.5Edge softness at the start of the beam
endSoftnessnumberDefault:
0.5Edge softness at the end of the beam
endSoftnessnumberDefault: 0.5Edge softness at the end of the beam
insideColorstringDefault:
#FF0000Color at the center of the beam
insideColorstringDefault: #FF0000Color at the center of the beam
outsideColorstringDefault:
#0000FFColor at the edges of the beam
outsideColorstringDefault: #0000FFColor at the edges of the beam
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
linearColor space for color interpolation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: linearColor space for color interpolation