Grid Distortion

Customize Grid Distortion

Grid10
Mouse0.10
Strength0.15
Relaxation0.90

Props

PropertyTypeDefaultDescription
gridSizenumber20Size of the distortion grid (5-50)
distortionAmountnumber0.5Amount of distortion effect (0-2)
distortionSpeednumber1Speed of distortion animation (0-5)
waveAmplitudenumber0.1Amplitude of wave distortion (0-1)
waveFrequencynumber2Frequency of wave distortion (0.1-10)
mouseRadiusnumber100Radius of mouse interaction effect (50-300)
mouseStrengthnumber0.5Strength of mouse interaction (0-2)
colorstring#ffffffColor of the grid distortion effect
opacitynumber0.8Opacity of the distortion effect (0-1)
enableMousebooleanEnable or disable mouse interaction
enableAnimationbooleanEnable or disable animations
gridTypestringsquareType of grid - 'square', 'hexagon', or 'triangle'
rotationnumber0Rotation angle of the grid (0-360)
scalenumber1Scale factor for the grid (0.5-3)
classNamestringcustom-grid-distortionAdditional CSS class names for styling
widthstring100%Width of the grid distortion container
heightstring600pxHeight of the grid distortion container
qualitystringhighRendering quality - 'low', 'medium', or 'high'

Dependencies

oglreact

Created with ❤️ by Cybershoora