Particle Studio

Shapes made of particles, for your own site

Build a sculpture in the studio and download it, or install the Claude skill and ask Claude to add one to your website. This page covers both, where to find 3D shapes, and prompts you can copy.

Use the arrows or drag sideways. Move over the shape.

Start in the studio

  1. Pick two shapes. Choose one of the ten ready pairs, pick any two of the 20 library shapes, or upload your own image or 3D model for either side.
  2. Set the look. Glyphs, up to four colours, how strongly the colours group, particle count, background glyphs and the hover effect.
  3. Choose how it morphs. Down follows the page scroll. Side gives arrow buttons and swipe.
  4. Export. You get one zip. Put its files in a folder on your site and add the two lines below where the sculpture should appear.
<script type="module" src="particle-sculpture.js"></script>
<particle-sculpture config="sculpture.json"></particle-sculpture>

For a scroll-driven sculpture, make the element taller than the screen, for example style="height: 300vh". The canvas stays in place while the page scrolls through it.

Let Claude do it: the skill

The skill gives Claude the sculpture element, all 20 shapes and the instructions for wiring them into a site. With it installed, you describe what you want and Claude copies the files in, writes the settings and places the sculpture on your page.

  1. Download it. particle-sculpture-skill.zip (about 3 MB), or take the skill/particle-sculpture folder from GitHub.
  2. Install it. In Claude Code, unzip it so the folder sits at ~/.claude/skills/particle-sculpture (or .claude/skills/particle-sculpture inside one project). In the Claude apps, upload the zip in Settings, under Capabilities, in the Skills list.
  3. Ask. Start a new chat and use one of the prompts below. Naming the skill is optional, but it makes sure Claude uses it.

Prompts to copy

Change the parts in [brackets]. Each one works with the skill installed.

Get shapes from Sketchfab

Sketchfab hosts many free 3D models. Any model with one clear outline can become a shape.

  1. Search, then filter. Search for the object and turn on the Downloadable filter, so you only see models you can take.
  2. Check the licence. It is shown in the details under the viewer. See the table below.
  3. Download as GLB. Press Download 3D Model (a free account is needed) and choose GLB. The glTF option is a zip of several files and will not load here.
  4. Upload it. In the studio, use Upload first shape or Upload second shape. Files up to 25 MB work. If the shape arrives lying down, a rotated copy can be baked from the command line (see GitHub), or ask Claude to do it with the skill.
  5. Keep the credit. For a CC BY model, note the title, the author, the model's address and the licence, and show them on your site.
LicenceCan you use it?
CC0Yes. No conditions.
CC BYYes, with a visible credit to the author.
CC BY-SAOnly if you accept that your adapted shape carries the same licence.
Any NC licenceNot on a commercial site.
Any ND licenceNo. Turning a model into particles changes it, which ND does not allow.

A credit can read: "Rocket" by Jane Doe (link to the model), CC BY 4.0. Changes: sampled to points. This is general guidance, not legal advice; the licence text on the model's page is what counts.

What makes a good shape: one solid object with a recognisable outline. Thin or hollow things (bicycles, cages, trees with leaves) turn into a haze at 20,000 points.

Questions

What can I upload?

Images as PNG, JPG or SVG up to 10 MB, and 3D models as GLB or OBJ up to 25 MB. A logo or silhouette on a plain or transparent background works best for images. A GLB must be a single file and must not use Draco or meshopt compression.

Are my uploads sent anywhere?

No. Files are read in your browser and turned into points there. Nothing is uploaded to a server.

What is in the export?

The element (particle-sculpture.js, with three.js inside), your settings (sculpture.json), the two shapes (subject-a.pts, subject-b.pts), a preview image used as a fallback (poster.png), the three.js licence, and a credits file when a shape needs one. Keep them together in one folder.

The sculpture is blank on my site. Why?

Most often a file path is wrong, so the settings or a shape file returns "not found". Check that all the files sit in one folder and that the two lines point at it. The page must be opened from a web server; opening the HTML file straight from your disk blocks the files from loading.

My scroll sculpture scrolls away instead of staying put.

Something that contains it has overflow set to hidden, auto or scroll, which stops it from pinning. Remove that from the containers around the element. Also check the element is taller than the screen.

Does it work on phones, and with reduced motion?

Phones and narrow screens draw at most 8,000 particles so it stays light. If a visitor has asked their device for reduced motion, the shapes crossfade instead of flying and nothing moves on its own. Both happen automatically.

Which browsers does it support?

It needs WebGL 2, which current Chrome, Edge, Firefox and Safari provide. It has only been tested in Chrome so far. Where it cannot run, the preview image from the export is shown instead.

Can I show more than two shapes?

One element holds two. For a longer sequence, stack several elements, or see how the five shapes page chains pairs in code.

Do I need to credit anything?

The brain, lightbulb and car shapes come from CC BY 4.0 models, so a credit must be shown where you publish them. The export dialog gives you the exact text. The other 17 library shapes are generated in code and need no credit. Keep LICENSES.txt with the files for three.js.

What does it cost, and what is the licence?

It is free. The code is MIT licensed and on GitHub.