import { DotSphere } from "@/components/ui/dot-sphere";
const settings = {
dotGap: 10,
sphereRadius: 200,
dotRadiusMax: 5,
speed: 1,
followMouse: true,
};
export default function DemoOne(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<main className="h-screen w-screen">
<DotSphere
dotGap={s.dotGap}
sphereRadius={s.sphereRadius}
dotRadiusMax={s.dotRadiusMax}
speed={s.speed}
bgColor="blue"
dotColor="white"
followMouse={s.followMouse}
/>
</main>
);
}