3D templates / Particles & shaders
Particle Sphere Repel: an interactive 3D cursor template
Nine thousand glowing particles on a sphere that part around the cursor and burst outward on click.
Try it: Hover to part · click to burst. Open the live Particle Sphere Repel full screen.
Where the Particle Sphere Repel works best
AI and data products, science and space themes, and tech conference pages.
How it is built
Nine thousand points sit on a Fibonacci sphere; the vertex shader pushes them away from the cursor’s hit point, so the effect costs almost nothing on the CPU. The whole effect is plain three.js in one module script. It renders only while it is on screen and caps the pixel ratio on high-density displays to protect performance.
Add it to your website
- Add a Code, Embed or Custom HTML block where the effect should sit (Webflow, Framer, WordPress, GoHighLevel, Shopify or plain HTML).
- Paste the snippet. It is one element and one script; three.js loads from a CDN.
- Edit the colours and words in the settings block, then publish.
Frequently asked questions
Is the Particle Sphere Repel template free?
Anyone can open it live and try the interaction. Copying the code is included with a Scrollhaus plan.
Does it work on mobile?
Yes. On touch screens it runs a gentle automatic motion so the scene is never still, and taps trigger the click interaction.
Do I need Spline or three.js experience?
No. It is one HTML element and one module script. Colours, text and images live in a settings block at the top.
More particles & shaders 3D templates
- Lava Metaballs: Raymarched lava blobs that drift, merge and split; the cursor is a blob too and melts into the others.
- Connection Globe: A dotted globe that fires glowing arcs from wherever the cursor lands, like data travelling around the world.
- DNA Helix Unzip: A rotating double helix whose base pairs unzip wherever the cursor passes along it.
- Hologram Projection: A flickering cyan hologram above a projector that turns with the cursor and glitches when touched.
- Firefly Swarm: Hundreds of blinking fireflies that follow the cursor over tall grass and scatter on click.
- Hyperspace Tunnel: A neon ring tunnel with light streaks that bends toward the cursor; a click kicks it into warp speed.