Skip to content
Skillpedia
Images & icons101k · #596

webgl-holographic-foil

Lets the agent create holographic and shiny visual effects on surfaces. It's ideal for giving elements a futuristic or metallic look.

What it does

This code creates a holographic visual effect on a web page. It simulates the shine of crushed foil that changes color as you move your mouse.

When to use it

  • ✓To create an eye-catching background for a website.
  • ✓To demonstrate advanced visual effects on a page.
  • ✓To add an artistic and modern touch to a project.

Example of what to ask your AI

“Create a holographic effect for my website.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/webgl-holographic-foil/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/webgl-holographic-foil/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It uses a technology called WebGL2 to draw the effect directly in the browser. Moving the cursor changes the viewing angle, which makes the colors shift, similar to a hologram.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add nexu-io/open-design --skill webgl-holographic-foil

Or download just the file:

curl -L https://raw.githubusercontent.com/nexu-io/open-design/main/plugins/_official/examples/webgl-holographic-foil/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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).

FAQ

Do I need to install anything to use it?

No, the code is self-contained and works directly in the browser.

Can I change the colors?

The original text doesn't specify how to change colors, but the main effect is the color shift with the viewing angle.

Does it work on any browser?

It works on browsers that support WebGL2, which includes most modern browsers.

Details

Original description by the author

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.

repo: nexu-io/open-design

Popularity

GitHub stars
101k
Ranking position
#596
License
Apache-2.0
Updated
10/16/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills