# Webgl raymarched hero

> Webgl raymarched hero is an open-source agent skill for design and media. Builds a real-time raymarched 3D metaball hero as one 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-raymarched-hero
- **Repository:** https://github.com/feimacode/open-design-agent-kit
- **GitHub stars:** 1,238
- **License:** MIT
- **Skill name:** webgl-raymarched-hero
- **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 produce a single index.html that draws a full-screen 3D scene entirely inside a WebGL2 fragment shader. The scene is built by sphere tracing a signed distance function, so no meshes or textures are involved. The bundled example.html serves as the reference the agent reads first, and it shows the expected structure: a fullscreen triangle, a map function that smooth-unions moving spheres, finite-difference normals, a soft shadow pass, and an orbiting camera.

The workflow asks the agent to pick a cheap SDF (metaballs by default, or rounded primitives or a displaced surface), cap march iterations and clamp pixel ratio for frame rate, and add diffuse, shadow, rim and specular lighting. It also covers a text overlay tinted to a DESIGN.md palette when one exists, and a self-review checklist covering frame rate, resize behaviour and a fallback message when WebGL2 is unavailable.

The skill expects a browser with WebGL2 support and no external assets or libraries. It is written for the OpenDesign prototype workflow, where the file is previewed in an isolated iframe.

## When your agent uses it

> A real-time raymarched 3D hero — soft-shadowed morphing metaballs with a fresnel rim light, sphere-traced per pixel in a fragment shader with a slow camera orbit. No meshes, no textures. Rendered as a single self-contained `index.html`. Use when the brief asks for a "raymarch", "signed distance field", "SDF", "3D hero", "metaballs", "blobs", or a shader-based 3D scene. 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-raymarched-hero)
- [License: MIT](https://github.com/feimacode/open-design-agent-kit/tree/HEAD/packages/content/assets/open-design/examples/webgl-raymarched-hero)

## Features

- **Sphere-traced SDF rendering:** Renders the scene per pixel in a fragment shader by marching signed distance fields.
- **Metaball and primitive shapes:** Offers smooth-blended metaballs by default, plus rounded primitives and displaced surfaces.
- **Soft shadows and rim light:** Adds diffuse lighting, penumbra shadows, a fresnel rim and a specular highlight.
- **Performance guardrails:** Caps march steps and pixel ratio so the raymarcher can hold a steady frame rate.
- **Typographic hero overlay:** Places a short headline and supporting line over the 3D form, styled to a design system.
- **Self-contained single file:** Outputs one index.html with no external requests, with a fallback if WebGL2 is missing.

## Good for

- Create a 3D animated hero section for a landing page using metaballs
- Build a shader-based blob animation as a website header background
- Make a signed distance field scene with soft shadows and a rim light
- Prototype a dark, real-time 3D title screen for a product page

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/webgl-raymarched-hero` 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-raymarched-hero &&
cp -R "$tmp/packages/content/assets/open-design/examples/webgl-raymarched-hero" ~/.claude/skills/webgl-raymarched-hero &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/webgl-raymarched-hero` 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-raymarched-hero &&
cp -R "$tmp/packages/content/assets/open-design/examples/webgl-raymarched-hero" ~/.agents/skills/webgl-raymarched-hero &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/webgl-raymarched-hero` 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-raymarched-hero &&
cp -R "$tmp/packages/content/assets/open-design/examples/webgl-raymarched-hero" ~/.cursor/skills/webgl-raymarched-hero &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/webgl-raymarched-hero` 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-raymarched-hero
```

Or copy the folder to `~/.gemini/skills/webgl-raymarched-hero` yourself.

### VS Code

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

```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-raymarched-hero &&
cp -R "$tmp/packages/content/assets/open-design/examples/webgl-raymarched-hero" ~/.copilot/skills/webgl-raymarched-hero &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/webgl-raymarched-hero` 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-raymarched-hero` into your agent's skills folder as `webgl-raymarched-hero`. 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 output is a single self-contained index.html with no external requests, meshes or textures.

### When does the skill trigger?

It triggers when a brief asks for a raymarch, signed distance field, SDF, 3D hero, metaballs, blobs or a shader-based 3D scene.

### Does Webgl raymarched hero come with reference code?

Yes. The folder includes example.html, a working SDF metaball raymarcher that the agent is told to read first.

### Does Webgl raymarched hero need external tools or scripts?

No scripts are included and no tools are set. The skill only instructs the agent how to write the HTML file.

### How do I install Webgl raymarched hero in Claude Code?

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

### Does Webgl raymarched hero 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 raymarched hero?

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 raymarched hero?

The closest alternatives to Webgl raymarched hero are Webgl experience, Webgl liquid iridescence, Webgl aurora veil, Webgl neon grid and Webgl holographic foil.

## 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 liquid iridescence](https://ai-powered.com/skills/webgl-liquid-iridescence): Webgl liquid iridescence 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 neon grid](https://ai-powered.com/skills/webgl-neon-grid): Webgl neon grid is an open-source agent skill for design and media.
- [Webgl holographic foil](https://ai-powered.com/skills/webgl-holographic-foil): Webgl holographic foil is an open-source agent skill for design and media.
- [Webgl particle galaxy](https://ai-powered.com/skills/webgl-particle-galaxy): Webgl particle galaxy 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 voronoi cells](https://ai-powered.com/skills/webgl-voronoi-cells): Webgl voronoi cells is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/webgl-raymarched-hero
