Skip to Content
DocsShadersGradient Wave

Gradient Wave

A beautiful animated vector field visualization creating flowing gradient patterns. This shader generates dynamic color flows using iterative field calculations, resulting in mesmerizing organic wave patterns.


Customization

You can customize the shader behavior with these props:

  • scale: Controls the zoom level of the pattern (default: 6.0)
  • velocityX, velocityY: Control the flow speed in each direction (default: 0.1, 0.2)
  • mode2Speed: Animation speed multiplier (default: 2.5)
  • mode1Detail: Level of detail in calculations (default: 200.0)
  • mode1Twist: Amount of field twisting (default: 50.0)

Credits

Based on MartinRGB’s vector field visualization: https://www.shadertoy.com/view/DttSRB 

Last updated on