Floating Lines

Customize Floating Lines

Bend Radius5.0
Bend Strength-0.50
Animation Speed1.00
Parallax Strength0.20
Mouse Damping0.050

Props

PropertyTypeDefaultDescription
lineCountnumber50Number of floating lines (10-200)
lineWidthnumber2Width of each line in pixels (0.5-10)
lineLengthnumber100Maximum length of lines in pixels (20-500)
speednumber1Animation speed multiplier (0.1-5)
opacitynumber0.6Base opacity of lines (0.1-1)
colorstring#ffffffColor of the floating lines
gradientbooleanEnable or disable gradient effect on lines
gradientColorsstring[]["#ffffff", "#000000"]Colors for gradient effect when enabled
directionstringrandomDirection of line movement - 'horizontal', 'vertical', 'diagonal', or 'random'
waveAmplitudenumber20Amplitude of wave motion (0-100)
waveFrequencynumber0.01Frequency of wave motion (0.001-0.1)
mouseInteractionbooleanEnable or disable mouse interaction effects
mouseRadiusnumber150Radius of mouse interaction effect in pixels (50-300)
mouseForcenumber0.5Strength of mouse interaction force (0-2)
fadeEdgesbooleanEnable or disable edge fading effect
fadeDistancenumber50Distance from edges to start fading (0-200)
pulsebooleanEnable or disable pulsing animation
pulseSpeednumber1Speed of pulse animation (0.1-3)
classNamestringcustom-floating-linesAdditional CSS class names for styling
widthstring100%Width of the floating lines container
heightstring600pxHeight of the floating lines container
qualitystringhighRendering quality - 'low', 'medium', or 'high'

Dependencies

oglreact

Created with ❤️ by Cybershoora