Prism
A beam of light that fans out and splits into a slowly-rotating rainbow past a controllable point. Transparent background — composite over a dark layer.
Props
Prop
Details
position{x: number, y: number}Default:
{"x":0.18,"y":0.18}Where the beam originates
position{x: number, y: number}Default: {"x":0.18,"y":0.18}Where the beam originates
beamWidthnumberDefault:
0.04Thickness of the white beam
beamWidthnumberDefault: 0.04Thickness of the white beam
intensitynumberDefault:
1.6Brightness (above 1 blows the core to white)
intensitynumberDefault: 1.6Brightness (above 1 blows the core to white)
beamColorstringDefault:
#ffffffColour of the beam before it splits
beamColorstringDefault: #ffffffColour of the beam before it splits
startFalloffnumberDefault:
0.15How softly the beam fades in at its source
startFalloffnumberDefault: 0.15How softly the beam fades in at its source
endFalloffnumberDefault:
0.6How quickly the rainbow fades out with distance
endFalloffnumberDefault: 0.6How quickly the rainbow fades out with distance
splitPosition{x: number, y: number}Default:
{"x":0.5,"y":0.42}Where the beam starts to fan out and split (projected onto the beam axis)
splitPosition{x: number, y: number}Default: {"x":0.5,"y":0.42}Where the beam starts to fan out and split (projected onto the beam axis)
spreadnumberDefault:
0.7How widely the rainbow diffuses as it travels past the split point
spreadnumberDefault: 0.7How widely the rainbow diffuses as it travels past the split point
softnessnumberDefault:
0.12How quickly the white beam transitions into the rainbow
softnessnumberDefault: 0.12How quickly the white beam transitions into the rainbow
saturationnumberDefault:
0.95Rainbow saturation — 0 = white, 1 = full colour
saturationnumberDefault: 0.95Rainbow saturation — 0 = white, 1 = full colour
speednumberDefault:
0.1Speed the hue slowly rotates through the rainbow (0 = static)
speednumberDefault: 0.1Speed the hue slowly rotates through the rainbow (0 = static)