webgl-holographic-foil
|
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit nexu-io/open-design/plugins/_official/examples/webgl-holographic-foil .claude/skills/webgl-holographic-foilOr install it for every project:
npx degit nexu-io/open-design/plugins/_official/examples/webgl-holographic-foil ~/.claude/skills/webgl-holographic-foilFile content
Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗
---
name: webgl-holographic-foil
description: |
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
triggers:
- "holographic foil"
- "webgl hero"
od:
mode: prototype
platform: web
scenario: design
preview:
type: html
entry: index.html
reload: debounce-100
design_system:
requires: false
craft:
requires: [animation-discipline]
---
# Holographic Foil
Produce a single self-contained `index.html` — A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
## Why this is a powered artifact
OpenDesign detects `getContext('webgl2')` / heavy WebGL and renders this file in **powered preview** (a cross-origin-isolated iframe). The full GPU + scroll pipeline runs; no opaque-sandbox workarounds are needed.
## Resource map
```
webgl-holographic-foil/
├── SKILL.md ← you're reading this
├── example.html ← the complete, working artifact (READ FIRST)
└── (assets, if any)
```
## Credits / attribution
- Original, self-contained (no third-party assets).
Keep any bundled LICENSE and on-screen credit intact. Replace imagery only with license-clean assets (original / AI, Lummi.ai, Unsplash/Pexels — never scraped imagery).