About
An animated 3D dotted wave background built with Three.js that flows like water. Theme-aware and lightweight, perfect for adding subtle motion depth to your UI.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Dotted Surface to your project and fits it to your theme.
Code
How Dotted Surface is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import DottedSurface from "@/components/ui/dotted-surface";
const settings = {
size: 8,
opacity: 0.8,
sizeAttenuation: true,
vertexColors: true,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="h-screen w-screen">
<DottedSurface
size={s.size}
opacity={s.opacity}
sizeAttenuation={s.sizeAttenuation}
vertexColors={s.vertexColors}
/>
</div>
);
}








