How it works
Implement in Webflow
Apply the attributes to the elements inside the page
Below is a list ofelements andoptions to apply the fluid gradient background effect.
componentI want thisElementto get the fluid gradient background effect.CTA BUTTON (OPTIONAL)I want thisElementto temporarily change color intensity on hover/focus.OptionhoverI want to enable pointer-driven interaction on devices with a fine pointer (mouse).Optiondpr maxI want to cap the renderer pixel ratio.Optionbrush sizeI want to state the size of the brush when interacting with the fluid.Optionbrush strengthI want to state how strongly the brush pushes the fluid.Optionfluid decayI want to control how quickly the motion "fades away".Optiontrail lengthI want to state how long the visible streaks of motion remain before fading.Optionfluid stop decayI want to state how quickly the fluid slows down when the pointer stops moving.Optionflow speedI want to state a global “time speed” multiplier for the simulation.Optionsoft reset framesI want to state how many frames the fluid should “fade out” during a reset.Optionsoft reset strengthI want to state how strongly the fade is applied each frame during a soft reset.Optiondistortion amountI want to state how much the color sampling is warped by the fluid (how “wavy” the gradient looks).Optioncolors 1...4I want to state the 4-color palette used to render the gradient. Colors are converted to linear space for accurate mixing.Optioncolor intensityI want to state the global multiplier on final color brightness/saturation feel. Also animated by the CTA hooks.OptionsoftnessI want to state color transitions to reduce harsh edges and banding.Optionidle speedI want to state the subtle background motion even without pointer input.Optiontransition duration (cta on hover)I want to state the animation duration for the intensity change (used by GSAP) when hovering over the CTA button.Optiontransition easing (cta on hover)I want to state the easing for the intensity tween.OptionguiI want to enable the on-page control panel for tuning.Optiongui positionI want to place the GUI panel in a corner.Optiongui titleI want to state the title displayed on the GUI panel