Magnetic Particle Field

Background particles dynamically attract toward cursor and components in a verlet physics R3F instance field.

Component Showcase

Interactive Playground

Adjust sliders and values to preview changes in real-time

particleCount500

Number of active physics particles.

particleColor#7fff5e

Hex color of the physical particles.

particleSize0.08

Geometric scale radius of octahedrons.

glowIntensity1.5

Emissive physical light intensity.

bg#050505

Backdrop space canvas color.

titleText

Optional alert box title.

eyebrowText

Optional subtitle text.

API Reference (Props)

Component properties and type specifications

PropTypeDefaultDescription
particleCountnumber500Number of active physics particles.
particleColorstring"#7fff5e"Hex color of the physical particles.
particleSizenumber0.08Geometric scale radius of octahedrons.
glowIntensitynumber1.5Emissive physical light intensity.
bgstring"#050505"Backdrop space canvas color.
titleTextstring""Optional alert box title.
eyebrowTextstring""Optional subtitle text.