Toggle Sidebar B
AppearanceLight & dark mode D

Liquid Ether

Interactive liquid shader with flowing distortion and customizable colors.

Default

Colors and simulation settings are wired to the controls underneath. Move the pointer over the stage to stir the fluid; it drives itself when left idle.

Light previewReplay previewOpen in new tab
New Creative Components

The web, made fluid at your fingertips.

Get started Learn more

Customize

Color 1
Color 2
Color 3
Mouse Force20
Cursor Size100
Resolution0.5
Auto Speed0.5
Auto Intensity2.2
Pressure32
Viscous Coef30
Viscous Iterations32

API Reference

LiquidEther

PropTypeDefaultDescription
colorsstring[]["#5227FF", "#FF9FFC", "#B497CF"]Array of hex color stops used to build the velocity-to-color palette.
mouseForcenumber20Strength multiplier applied to mouse / touch movement when injecting velocity.
cursorSizenumber100Radius (in pixels at base resolution) of the force brush.
resolutionnumber0.5Simulation texture scale relative to canvas size (lower = better performance, more blur).
dtnumber0.014Fixed simulation timestep used inside the advection / diffusion passes.
BFECCbooleantrueEnable BFECC advection (error-compensated) for crisper flow; disable for slight performance gain.
isViscousbooleanfalseToggle iterative viscosity solve (smoother, thicker motion when enabled).
viscousnumber30Viscosity coefficient used when isViscous is true.
iterationsViscousnumber32Number of Gauss-Seidel iterations for viscosity (higher = smoother, slower).
iterationsPoissonnumber32Number of pressure Poisson iterations to enforce incompressibility.
isBouncebooleanfalseIf true, shows bounce boundaries (velocity clamped at edges).
autoDemobooleantrueEnable idle auto-driving of the pointer when no user interaction.
autoSpeednumber0.5Speed (normalized units/sec) for auto pointer motion.
autoIntensitynumber2.2Multiplier applied to velocity delta while in auto mode.
takeoverDurationnumber0.25Seconds to interpolate from auto pointer to real cursor when user moves mouse.
autoResumeDelaynumber1000Milliseconds of inactivity before auto mode resumes.
autoRampDurationnumber0.6Seconds to ramp auto movement speed from 0 to full after activation.
backgroundColorstring'#FFFFFF'Background color used when lightMode is true.
lightModebooleanfalseDraws the fluid over an opaque background color instead of a transparent one.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Purely decorative canvas. Place it behind content with enough contrast.
  • Rendering pauses when the canvas is off screen or the tab is hidden.