Particle animation for any website · v1.2

Particle Forms

Particles that morph into 3D shapes, text and logos, on any website. Paste one script tag, or use the React or Framer version. They react to the cursor and touch, and morph on loop, scroll, hover or click.

One-time payment · Instant download · Single-project license · Free v1.x updates

Works with

  • FramerCode component, properties panelAvailable now
  • Plain HTML / any site<particle-forms> tag + one scriptAvailable now
  • WebflowCode Embed elementAvailable now
  • WordPressCustom HTML blockAvailable now
  • ShopifyCustom Liquid sectionAvailable now
  • Squarespace, Wix, CarrdCode / embed block (plan must allow custom code)Available now
  • React, Next.js, Vite<ParticleForms /> componentAvailable now

10 starting points

Every loop below is the real component. Each one is a preset name: preset="galaxy", or the same settings in Framer's properties panel.

Particle sphere

The classic 3D particle sphere, folding into a cube and then a knot. Particles move away from the cursor.

preset="sphere" · Forms: Sphere → Cube → Knot · Trigger: Loop · Cursor: Repel

Particle text

Your words, spelled out in particles, morphing into a sphere and then a torus.

preset="text" · Forms: Text → Sphere → Torus · Trigger: Loop

Product shape

A product silhouette that forms out of particles, sweeps into a helix, then gathers into a sphere.

preset="bottle" · Forms: Logo / Image → Helix → Sphere · Stagger: Sweep

Click through

Knot, cube and helix in spark particles. Each click moves to the next form.

preset="knot" · Forms: Knot → Cube → Helix · Trigger: Click · Easing: Expo

Galaxy

A three-arm galaxy that folds into a torus, then a sphere. Made for backgrounds and dark heroes.

preset="galaxy" · Forms: Galaxy → Torus → Sphere · Tilt: 52 · Gradient: Center → Out

Hover morph

A torus that opens into rings, then closes into a sphere. On a live site it morphs on hover, or on tap on phones.

preset="torus" · Forms: Torus → Rings → Sphere · Trigger: Hover · Easing: Overshoot

Light-mode headline

“Make it move.” in dark particles on a light background, rippling into a wave and then a sphere.

preset="headline" · Forms: Text → Wave → Sphere · Blend: Normal

Gradient wordmark

“Launch” in a three-color gradient that bursts into a sphere, then opens into rings.

preset="launch" · Forms: Text → Sphere → Rings · Gradient: Left → Right, 3 stops

Scroll story

Sphere, the word “Scroll”, a logo, then a galaxy: the particles scrub between forms as you scroll.

preset="scroll" · Trigger: Scroll · Track: Sticky Section

The hover and click presets are shown as loops. The settings line tells you how they behave on a live site.

  1. Hold a shape.
  2. Morph on scroll.
  3. Use your own logo.
  4. Scrub forward and back.

This section is Particle Forms with the scroll trigger. No code.

What it does

  • GPU rendering. WebGL2 with an automatic Canvas 2D fallback. No Three.js.
  • 8 3D forms. Sphere, torus, knot, helix, cube, wave, rings and galaxy.
  • Text and logos. Text with line breaks and auto-fit. Logos and images sampled from PNG or SVG, keeping their colors.
  • Smooth morphs. Each particle travels to the nearest point on the next shape, with stagger and easing controls.
  • Four triggers. Loop, scroll (works in sticky sections), hover or click.
  • Interaction. Cursor repel, attract or swirl, click burst, and touch on phones.
  • Stays fast. Auto quality steps down on slower devices, and several instances can share one page.
  • Respectful. It honors Reduce Motion and pauses offscreen.
  • Same settings everywhere. A Framer properties panel, HTML attributes, or React props.

What's in the download

  • particle-forms.min.js: drop-in script for any website (51 KB, 20 KB gzipped)
  • particle-forms.esm.js + TypeScript types, for bundlers
  • react/ParticleForms.tsx: React component (React 18+, no Framer needed)
  • framer/ParticleForms.tsx: the Framer code component
  • demo.html with all 10 presets, quick starts for each platform, sample images
  • Free updates to v1.x

Single-project license (LICENSE.md in the download): one website or project per license.

Install in about a minute

  1. Upload particle-forms.min.js from the download to your site.

  2. Add the script once, and a <particle-forms> tag wherever you want particles.

  3. Pick a preset, or set any option as an attribute: forms, trigger, count, colors.

<script src="/particle-forms.min.js" defer></script>

<particle-forms preset="galaxy" style="height: 600px"></particle-forms>

Squarespace, Wix and Carrd: add the script and the tag in a Code or Embed block (your plan must allow custom code). The download's README has a quick start for every platform and the full settings reference.

Particle Forms

$12 one-time

  • Script tag, React and Framer builds
  • All 10 presets and every setting
  • Free v1.x updates
  • Single-project license
Buy on Polar · $12

Secure checkout by Polar. Instant download after payment.

FAQ

Where does it work?

Anywhere you can add a script tag: Webflow, WordPress, Shopify, Squarespace, Wix, plain HTML. Also React/Next.js and Framer. Site builders need a plan that allows custom code.

Do I need to write code?

No. You paste one snippet. Pick a preset or change settings as HTML attributes, or in Framer's panel.

Does it work on phones?

Yes. It supports touch: swiping scrolls the page, and taps burst and toggle hover. Auto quality lowers resolution and then particle count on slower devices to keep it smooth. You can also set a lower count on your phone breakpoint.

Does it slow my page down?

The script is ~20 KB gzipped, renders on the GPU, and pauses offscreen.

Can I use my own logo or product image?

Yes. Use a PNG, SVG, WebP or JPG from your own site. Images on another domain need CORS headers. Transparent PNG or SVG works best.

What about SEO and accessibility?

The canvas is decorative and hidden from screen readers, so add your headline as real text as well. Visitors with Reduce Motion turned on see a still frame.

Does it use Three.js?

No. It has no dependencies. The script version doesn't need React either.

What's the license?

Single project. The details are in LICENSE.md in the download.

Can I use it on several sites?

Each license covers one website or project. Buy one per site.

Do I get updates?

Yes, free updates for v1.x.

Questions before buying?

Email hi@gunnargray.com.

Hear about updates

New presets, v1.x releases and the occasional new tool. No more than that.

Particle Forms · $12Buy