Donut Particles

Turn particles into a sculptural WebGL centerpiece for bold hero sections that need presence before the first scroll.

Published On: July 21, 2026
Last Updated: August 17, 2026
Three.js@react-three/fiber
Donut Particles

Overview

Donut Particles turns a particle field into a sculptural brand object. It is the “yes, this site has a GPU budget” moment, used carefully.

Use Donut Particles when a hero needs one bold visual center rather than a decorative background. Brand launches, creative studios, AI pages, and campaign microsites can use it when the particle form supports the message. The page job is presence: the object should make the brand feel more tangible before the visitor reads the supporting copy.

The production risk is excess. Particle sculptures can cost more than they communicate if density, rotation, postprocessing, and pointer behavior all compete at once. The scene needs a clear focal role, a static fallback, and a strict performance budget.


Install Command

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Usage Code

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Component Code

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Example Production Use Case

A brand launch page can place Donut Particles beside a short hero claim to create a memorable first screen. The torus-like form moves slowly while the copy stays sharp and clickable. The outcome is presence: the brand has a visual object instead of another gradient blob.


Best Used For

  • Bold brand heroes where one particle sculpture can carry the visual identity.
  • AI, creative, or technical launches that need a memorable WebGL centerpiece.
  • Desktop-first hero sections where the 3D object enhances copy instead of replacing it.

Not For

Not for text-heavy pages, dashboards, checkout flows, dense product sections, or mobile-first routes where the particle scene becomes the page’s heaviest asset.

Not for brands that need calm clarity more than a sculptural first impression.


Performance Budget

Cap DPR, tune particle count, avoid expensive materials, pause the render loop offscreen, and dispose of buffers and materials on route change. Test on a mid-range laptop, not only on the machine that wrote the code.


Accessibility and Mobile

Treat the particle object as decorative unless it communicates a real state. Hide decorative canvas content from assistive technology. On mobile and reduced motion, use a static poster, lower particle count, or simplified geometry.


Common Mistakes

  • Making the particle object brighter than the CTA.
  • Using too many particles before checking frame rate.
  • Letting the WebGL scene carry the only visual meaning of the page.

Changelog

v1.1.0

Jul 21, 2026
Add prefers-reduced-motion support

Props

PropTypeDefaultDescription
particleSizenumber1Scale multiplier applied to every particle's rendered size.
donutScalenumber3.5Scale applied to the particle donut.
cameraFovnumber50Camera field of view.
particleColorcolor#9973ffBase color used for the particle glow cycle.
mouseInteractionbooleantrueEnables cursor-driven particle flow on desktop viewports.
speednumber1Playback speed multiplier for rotation and particle motion.
intensitynumber1Strength multiplier for particle glow and cursor interaction force.

Frequently Asked Questions

When should I use Donut Particles?

Use it when a launch page or brand hero needs one sculptural WebGL particle object as the visual center.

Request a Custom WebGL Animation

Need a custom effect? Tell us what to create.