Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Spider Particles Background

Spider Particles Background

A full-screen interactive particle section where dots on a fixed grid light up only within a spotlight around the cursor, and web lines connect the cursor to every nearby dot.

Three.js
DemoDemoDemo

Tune the Real Props

Particle Color

Colors the particles.

Web Color

Colors the cursor connection lines. Needs Show Web on.

Center Color

Colors the cursor center point.

Glow Color

Glow color used when particle glow is enabled. Needs Particles Glow on.

Overview

Spider Particles turns the cursor into a torch over a hidden grid: the particles stay still, appear only inside a spotlight around the pointer (largest at its centre, shrinking towards the edge), and thin web lines run from a centre point at the cursor to each particle within reach. When the pointer leaves, everything fades back to black.

Use it as a standalone interactive section for technical brand moments and experiments. The component renders its own full-screen black section with a "Spider Web" heading, a tagline, a Tracking/Idle indicator, a stats HUD and a cursor position readout, all hard-coded; it takes no children, so your own copy cannot be layered into it without editing the source.

The risk in production is that the effect is invisible until someone moves a mouse over it: with no pointer, visitors see a black section with the built-in heading. The section also hides the native cursor on desktop. With reduced motion the web keeps running but follows the cursor more slowly and reaches 40% less far, and below 1025px the field ignores pointer and touch input and shows an "Open on desktop" notice.


Usage Code

page
1import SpiderParticles from '@/components/effects/spider-particles'2 3const spiderParticlesProps = {4 particleCount:180,5 gridGap:0,6 particleSize:20.0,7 mouseConnectDist:160,8 spotlightRadius:300,9 particlesGlow:false,10 glowColor:0xffffff,11 particleColor:0xffffff,12 webColor:0xffffff,13 centerColor:0xffffff,14}15 16const page = () => {17 return (18 <div>19 <SpiderParticles {...spiderParticlesProps} />20 </div>21 )22}23 24export default page

Example Production Use Case

A network monitoring SaaS can use Spider Particles as an interactive section on its homepage, retitled in the source. As the visitor moves the cursor, a pool of light reveals a grid of nodes and lines reach out from the pointer to each one in range, which suggests a live network without showing a literal diagram.

The outcome is quiet, visitor-driven motion. The section feels technical, while the product claim and signup CTA live in ordinary sections around it. The render loop already pauses offscreen; there is no static fallback, so touch and tablet visitors see the "Open on desktop" notice instead.


Best Used For

  • Desktop-first interactive moments where a cursor spotlight over a particle grid adds atmosphere.
  • Technical or developer-focused pages where an "explore with your cursor" section suits the audience.
  • Spider Particles adds a self-contained interactive beat between content sections without carrying the page's message.

Not For

Not as a background behind your own copy (it takes no children), not for mobile-first pages, and not for pages already carrying heavy video/WebGL cost.


Performance Budget

Particle count is set by particleCount (180 by default) or, when gridGap is above zero, by how many grid cells fit the section, so a small gridGap can create thousands of points. The render loop pauses offscreen and when the tab is hidden, and the cursor position readout re-renders the component on every mouse move.


Accessibility and Mobile

The canvas has no role or label, and the built-in heading, tagline and HUD are real text that screen readers will announce. The section hides the native cursor on desktop. Below 1025px pointer and touch input are ignored, so the particles never appear and an "Open on desktop" notice is shown.


Common Mistakes

  • Expecting to place your own headline over it: the component renders its own heading and HUD and takes no children.
  • Setting a small gridGap on a large screen, which multiplies the particle count.
  • Forgetting that touch and tablet visitors only see a black section with an "Open on desktop" notice.

Changelog

Add prefers-reduced-motion support
Initial release

API Reference

PropTypeDefaultDescription
particleCountnumber180Controls how many particles are drawn.
gridGapnumber0Switches to a spaced lattice when above zero.
particleSizenumber20Makes each dot larger or smaller.
mouseConnectDistnumber160Sets the web connection radius around the cursor.
spotlightRadiusnumber300Controls the cursor spotlight falloff.
particleColorcolor#ffffffColors the particles.
webColorcolor#ffffffColors the cursor connection lines. Needs Show Web on.
centerColorcolor#ffffffColors the cursor center point.
showWebbooleantrueTurns the connection lines on or off.
particlesGlowbooleanfalseEnables glow rendering for particles and cursor points.
glowColorcolor#ffffffGlow color used when particle glow is enabled. Needs Particles Glow on.

Questions, Answered.

When should I use Spider Particles?

Use it when a desktop page benefits from a self-contained interactive section where the cursor reveals a particle grid and casts web lines to nearby points.

Can Spider Particles ship without WebGL?

No. The shipped component renders with a Three.js WebGLRenderer and custom shader materials, so it needs WebGL.

Can I put my own content inside Spider Particles?

Not through props: it takes no children, and the "Spider Web" heading, tagline, stats HUD and "Move your cursor to explore" prompt are hard-coded. Edit or remove them in the source, and use the colour, size, radius and glow props to tune the field itself.

Should Spider Particles pause offscreen?

Yes. Its render loop already pauses when the section is offscreen and when the tab is hidden.

What is the mobile fallback for Spider Particles?

There is no separate mobile version. Below 1025px the field ignores pointer and touch input, so the web never appears, and an "Open on desktop" notice is shown instead.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Dotted Grid Background
canvas

Dotted Grid Background

Backgrounds

Dither Canvas
Pro
canvas-shader

Dither Canvas

Backgrounds

Grid Tunnel
Pro
Three.js@react-three/drei@react-three/fiber

Grid Tunnel

WebGL

Milky Way
Three.jsGSAPLucide-react

Milky Way

WebGL

Progressive Bloom Valley
Pro
Three.jspostprocessing@react-three/drei

Progressive Bloom Valley

WebGL