gg Shah

Threejs particles waves

Component 190

About

Interactive Three.js particle wave animation with 2500 white dots creating undulating wave patterns against black background, controlled by mouse movement.RetryG

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

Code

How Threejs particles waves is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ParticlesWaves from "@/components/ui/threejs-particles-waves";

const settings = {
  density: 50,
  speed: 1,
  amplitude: 50,
  separation: 100,
  particleColor: "#ffffff",
  bgColor: "#000000",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen">
      <ParticlesWaves {...s} />
    </div>
  );
}