We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5308b0f commit e8ff83aCopy full SHA for e8ff83a
examples/nextjs/src/app/layout.tsx
@@ -23,15 +23,16 @@ export default function RootLayout({ children }: { children: React.ReactNode }):
23
<Particles
24
fullScreenOverlay
25
options={{
26
- speedRange: [200, 250],
27
- maxParticles: 10000,
28
- generationRate: 0.2,
29
- angleRage: [Math.PI / 4, (3 * Math.PI) / 4],
30
- forceField: [0, -0.02],
31
- ageRange: [0.2, 0.5],
+ rgba: [0, 1, 0, 0.5],
+ maxParticles: 1000,
+ generationRate: 0.25,
+ angleRage: [-2 * Math.PI, 2 * Math.PI],
+ origin: [-1, -1],
+ speedRange: [0.01, 0.1],
32
+ ageRange: [0.01, 0.5],
33
+ forceField: [0, 0],
34
}}
35
/>
- <Particles style={{ height: "500px", width: "600px" }} />
36
</body>
37
</html>
38
);
0 commit comments