3D & WebGLNew

Photon Beam

A fan of thin fibers merges into one beam with glowing pulses running along it. Built with three.js and bloom.

Customize

colorBg
colorLine
colorSignal

Based on Photon Beam (MIT license) · Terms of use

More in Pro

View all

Props

13 properties
PropertyTypeDefaultDescription
colorBgstring"#0a0a0a"Background color.
colorLinestring"#525252"Fiber color.
colorSignalstring"#ffffff"Color of the light pulses.
lineCountnumber80Number of fibers.
signalCountnumber90Number of pulses at once.
spreadHeightnumber30How wide the fan opens on the left.
waveHeightnumber0.15Wave height on the fan.
trailLengthnumber3Pulse tail length.
speednumber1Speed. 0 stops the motion.
bloomStrengthnumber1.6Glow strength.
lineOpacitynumber0.55Fiber opacity.
childrenReactNode—Content on top of the effect.
classNamestring—Classes for the wrapper.

Dependencies

3 required packages

npm install three clsx tailwind-merge

Related components

View all