Skip to content
Skillpedia
Images & icons101k Β· #1056

webgl-holographic-foil

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.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

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.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCreate a holographic effect for my website.”

5 new skills a week. 1 minute to read.

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.

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
#1056
License
Apache-2.0
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills