Toggle Sidebar B
AppearanceLight & dark mode D

Laser Flow

Dynamic laser light that flows onto a surface, customizable effect.

Default

Pick the Box or Basic layout, then tune the beam, wisps and fog with the controls underneath. In the Box layout, moving the pointer reveals an image under the beam.

Light previewReplay previewOpen in new tab

Customize

Demo Example
Color
Horizontal Sizing0.5
Vertical Sizing2
Wisp Density1
Wisp Speed15
Wisp Intensity5
Flow Speed0.35
Flow Strength0.25
Fog Intensity0.45
Fog Scale0.3
Fog Fall Speed0.6
Decay1.1
Falloff Start1.2

API Reference

LaserFlow

PropTypeDefaultDescription
horizontalBeamOffsetnumber0.1Horizontal offset of the beam (0-1 of canvas width).
verticalBeamOffsetnumber0.0Vertical offset of the beam (0-1 of canvas height).
horizontalSizingnumber0.5Horizontal sizing factor of the beam footprint.
verticalSizingnumber2.0Vertical sizing factor of the beam footprint.
wispDensitynumber1Density of micro-streak wisps.
wispSpeednumber15.0Speed of wisp motion.
wispIntensitynumber5.0Brightness of wisps.
flowSpeednumber0.35Speed of the beam's flow modulation.
flowStrengthnumber0.25Strength of the beam's flow modulation.
fogIntensitynumber0.45Overall volumetric fog intensity.
fogScalenumber0.3Spatial scale for the fog noise.
fogFallSpeednumber0.6Drift speed for the fog field.
mouseTiltStrengthnumber0.01How much mouse x tilts the fog volume.
mouseSmoothTimenumber0.0Pointer smoothing time (seconds).
decaynumber1.1Beam decay shaping for sampling envelope.
falloffStartnumber1.2Falloff start radius used in inverse-square blending.
dprnumberautoDevice pixel ratio override (defaults to window.devicePixelRatio). Rebuilds the renderer when changed.
colorstring'#FF79C6'Beam color (hex).
backgroundColorstring'#000000'Canvas background color used for theme-aware compositing.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Purely decorative canvas. Place it behind content with enough contrast.