About
A full-screen animated background component created with React and Three.js. It renders a dynamic, colorful wave pattern using a custom GLSL shader. The component is interactive, allowing its appearance to be controlled via props (or UI buttons in the demo) to change colors based on different states, such as "active" or "upcoming" reminders. It also includes an optional center-dimming effect.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds flowing waves shader to your project and fits it to your theme.
Code
How flowing waves shader is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import InteractiveWaveShader from "@/components/ui/flowing-waves-shader";
const settings = {
hasActiveReminders: false,
hasUpcomingReminders: false,
disableCenterDimming: false,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="h-screen w-screen relative">
<InteractiveWaveShader {...s} />
</div>
);
}








