Skip to main content

Liquid Background

Organic liquid simulation with vertex displacement on a subdivided plane. HTML content floats above rippling fluid surface with real-time wave dynamics.

Live preview needs the chrome://flags/#canvas-draw-element flag switched on. Without it this item’s screen renders black. Rendering from the CLI switches it on for you. How it works

Add it to your video

It runs for 12 seconds at 1920×1080. Paste this into your composition:
index.html
Move it in time with data-start. Put it on a different timeline row with data-track-index. See data attributes for the rest.

Change the colors

Set these CSS variables on the block:
  • --bg-color — Background. Defaults to #0a0e17.
  • --text-color — Text color. Defaults to #e2e8f0.
Tagged html-in-canvas liquid webgl displacement background.

Related topics