# Webgl particle galaxy

> Webgl particle galaxy is an open-source agent skill for design and media. Generates a real-time WebGL2 particle galaxy as a single self-contained HTML file. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/feimacode/open-design-agent-kit/tree/main/packages/content/assets/open-design/examples/webgl-particle-galaxy
- **Repository:** https://github.com/feimacode/open-design-agent-kit
- **GitHub stars:** 1,238
- **License:** MIT
- **Skill name:** webgl-particle-galaxy
- **Collection:** https://github.com/feimacode/open-design-agent-kit
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-05

## About

This skill guides an agent to build a full-screen, animated particle galaxy in one index.html file. The core technique computes each particle's orbit inside the vertex shader from the vertex ID, so the CPU does not loop over points and tens of thousands of points draw in a single call with additive blending for a glowing look.

The skill starts by having the agent read a bundled reference example, then choose a motion model: a default log-spiral galaxy, a flow or attractor expressed as a closed-form function of time, or a looping explosion and reform. It also covers shader setup, DPR-aware point sizing, soft round sprites, shader error logging, and a typographic overlay that uses the active design system colors when one exists.

It expects an agent that can write HTML, WebGL2 and GLSL, and a browser with WebGL2 support. The output has no external requests. The skill ends with a self-review checklist covering frame rate, single draw call, clean program linking, resize behavior and a fallback message when WebGL2 is unavailable.

## When your agent uses it

> A real-time particle galaxy — tens of thousands of additive-blended GPU points spiraling around a bright core, their orbits solved entirely in the vertex shader (from gl_VertexID), so the whole cloud draws in one call. Rendered as a single self-contained `index.html`. Use when the brief asks for a "particle field", "particle galaxy", "point cloud", "instanced points", "starfield", "GPU particles", or a swirling generative point system. OpenDesign serves this in powered-preview mode so the GPU stack actually runs.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/feimacode/open-design-agent-kit/tree/HEAD/packages/content/assets/open-design/examples/webgl-particle-galaxy)
- [License: MIT](https://github.com/feimacode/open-design-agent-kit/tree/HEAD/packages/content/assets/open-design/examples/webgl-particle-galaxy)

## Features

- **Single-draw GPU particles:** Renders tens of thousands of points in one draw call with positions computed in the vertex shader.
- **Spiral galaxy motion:** Provides a log-spiral arm layout with an inner-fast rotation curve as the default motion.
- **Alternative motion models:** Offers attractor-style flow and looping explosion-and-reform options as other motion choices.
- **Additive glow rendering:** Uses premultiplied additive blending and soft gaussian sprites so overlapping points glow.
- **Single-file output:** Produces one self-contained index.html with no external requests and shader error logging.
- **Overlay and palette handling:** Adds a short headline overlay and maps accent colors to a design system when one is present.

## Good for

- Make a animated particle galaxy for a landing page background
- Build a generative starfield that swirls in the browser
- Create a GPU point cloud visual with a short headline on top
- Prototype a flowing particle field driven by time

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/webgl-particle-galaxy` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/webgl-particle-galaxy &&
cp -R "$tmp/packages/content/assets/open-design/examples/webgl-particle-galaxy" ~/.claude/skills/webgl-particle-galaxy &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/webgl-particle-galaxy` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/webgl-particle-galaxy` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/webgl-particle-galaxy &&
cp -R "$tmp/packages/content/assets/open-design/examples/webgl-particle-galaxy" ~/.agents/skills/webgl-particle-galaxy &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/webgl-particle-galaxy` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/webgl-particle-galaxy` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/webgl-particle-galaxy &&
cp -R "$tmp/packages/content/assets/open-design/examples/webgl-particle-galaxy" ~/.cursor/skills/webgl-particle-galaxy &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/webgl-particle-galaxy` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/feimacode/open-design-agent-kit.git --path packages/content/assets/open-design/examples/webgl-particle-galaxy
```

Or copy the folder to `~/.gemini/skills/webgl-particle-galaxy` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/webgl-particle-galaxy`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/webgl-particle-galaxy &&
cp -R "$tmp/packages/content/assets/open-design/examples/webgl-particle-galaxy" ~/.copilot/skills/webgl-particle-galaxy &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/webgl-particle-galaxy` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git
```

Then copy `open-design-agent-kit/packages/content/assets/open-design/examples/webgl-particle-galaxy` into your agent's skills folder as `webgl-particle-galaxy`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs a browser with WebGL2 support. The skill's description says OpenDesign serves it in powered preview mode so the GPU stack runs.

### What files does the skill produce?

It produces a single self-contained index.html file with no external requests.

### When does the skill trigger?

It triggers when a brief asks for a particle field, particle galaxy, point cloud, instanced points, starfield, GPU particles or a swirling generative point system.

### Does Webgl particle galaxy use scripts or external tools?

No scripts are included. The skill bundles a reference example.html that the agent reads before building.

### How do I install Webgl particle galaxy in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/webgl-particle-galaxy to use it in all your projects, or to .claude/skills/webgl-particle-galaxy in one project.

### Does Webgl particle galaxy run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Webgl particle galaxy?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Webgl particle galaxy?

The closest alternatives to Webgl particle galaxy are Webgl experience, Webgl voronoi cells, Webgl distortion grain, Webgl pixel reveal gallery and Webgl halftone drift.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Webgl experience](https://ai-powered.com/skills/webgl-experience): Webgl experience is an open-source agent skill for design and media.
- [Webgl voronoi cells](https://ai-powered.com/skills/webgl-voronoi-cells): Webgl voronoi cells is an open-source agent skill for design and media.
- [Webgl distortion grain](https://ai-powered.com/skills/webgl-distortion-grain): Webgl distortion grain is an open-source agent skill for design and media.
- [Webgl pixel reveal gallery](https://ai-powered.com/skills/webgl-pixel-reveal-gallery): Webgl pixel reveal gallery is an open-source agent skill for design and media.
- [Webgl halftone drift](https://ai-powered.com/skills/webgl-halftone-drift): Webgl halftone drift is an open-source agent skill for design and media.
- [Webgl depth gallery](https://ai-powered.com/skills/webgl-depth-gallery): Webgl depth gallery is an open-source agent skill for design and media.
- [Webgl aurora veil](https://ai-powered.com/skills/webgl-aurora-veil): Webgl aurora veil is an open-source agent skill for design and media.
- [Webgl raymarched hero](https://ai-powered.com/skills/webgl-raymarched-hero): Webgl raymarched hero is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/webgl-particle-galaxy
