About
A bird's-eye view into a tiled pool with four floaters in four moods: an otter drifting on a ring, a penguin swimming hard laps with a foamy wake, a bear asleep on a slowly spinning lilo and a frog that dives and pops up somewhere else. Real wave-equation water with measured caustics. Drag across the water and everyone rocks in your waves. WebGL, React only, honours reduced motion.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Lazy Float Pool to your project and fits it to your theme.
Code
How Lazy Float Pool is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import LazyFloatPool from "@/components/ui/lazy-float-pool"
export default function Demo() {
return (
// w-full matters: 21st centres demos in a flex row, and a flex item left
// at width:auto shrinks to its contents, which for a canvas is nothing.
<div className="relative w-full">
<LazyFloatPool height="720px" touch="draw" />
</div>
)
}
















