ham7a311

Ripple Tank

Backgrounds 5

About

An interactive WebGL water background driven by a real 2D wave equation, where moving the pointer leaves a wake, clicking drops a stone, and idle raindrops ripple across a lit, tiled floor.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Ripple Tank to your project and fits it to your theme.

Code

How Ripple Tank is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { RippleTank } from "@/components/ui/ripple-tank";

export default function Demo() {
  return (
    <div className="w-full h-screen">
      <RippleTank
        colors={["#e8e2d6", "#f6f2ea", "#c9bfae", "#ffffff"]}
        light={true}
        className="h-full min-h-full w-full"
      >
        <div className="pointer-events-none flex h-full items-end p-6">
          <p className="font-mono text-[11px] uppercase tracking-[0.16em] text-black/45">
            Move to stir · click to drop a stone
          </p>
        </div>
      </RippleTank>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    138
  • Route Globe

    Route Globe

    129
  • Glass Tiles

    Glass Tiles

    109
  • Glyph Swell

    Glyph Swell

    50
  • Orbit Ring Stats

    Orbit Ring Stats

    47
  • Ask Bar

    Ask Bar

    39
  • Intent Label

    Intent Label

    30
  • Glass Ribbons

    Glass Ribbons

    30

More in Backgrounds

View all
  • Background snippets

    Background snippets

    109
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    243
  • Elegant Dark Pattern

    Elegant Dark Pattern

    880
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    592
  • Gradient Blur Bg

    Gradient Blur Bg

    31
  • Gradient Backgrounds

    Gradient Backgrounds

    28
  • Background Components

    Background Components

    28
  • Jade Sky

    Jade Sky

    101