webgl-liquid-metal
하는 일
녹은 금속이나 크롬처럼 반짝이고 흐르는 금속 표면을 보여 주는 웹 페이지를 만듭니다. 보는 각도에 따라 색 효과가 바뀌며, 모든 것이 한 파일에 들어 있습니다.
사용하는 경우
- ✓'액체 금속'이나 '녹은 크롬' 느낌을 원할 때.
- ✓'홀로그램'이나 '무지갯빛' 효과를 만들 때.
- ✓반사가 있고 흐르는 표면이 필요한 경우.
스킬 링크
https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/webgl-liquid-metal/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“반짝이는 액체 금속 효과가 있는 페이지를 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
WebGL이라는 기술로 화면에 직접 그리며, 빛이 금속 표면과 상호작용하는 방식을 흉내 냅니다. 녹은 금속처럼 보이도록 반짝임과 색을 계산합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Liquid Metal Skill
Produce a single self-contained index.html that renders a real-time metallic surface full-screen — molten chrome with an iridescent sheen — with a clean typographic overlay on top.
Why this is a powered artifact
OpenDesign detects getContext('webgl2') and renders this file in powered preview — a cross-origin-isolated iframe with allow-same-origin. The full GPU pipeline is available; you do not need to work around the opaque sandbox.
Resource map
webgl-liquid-metal/
├── SKILL.md ← you're reading this
└── example.html ← a working domain-warped chrome shader (READ FIRST)
Workflow
Step 0 — Read the reference
Read example.html end to end. Note the shape: a domain-warped fbm height field; a surface normal reconstructed from that field's gradient (finite differences); metallic shading = diffuse chrome ramp + a sharp specular (pow(dot(n,h), 80)) + a fresnel term; and an iridescent cosine palette (0.5 + 0.5*cos(2π(x + phase))) driven by height and fresnel for the thin-film sheen.
Step 1 — Choose the surface
- Molten chrome (default): domain-warped fbm height, hard specular, cool grey base.
- Holographic foil: crank the iridescence, widen the palette phase spread, soften the specular.
- Oil slick: darker base, thinner high-frequency warp, stronger fresnel bands.
Step 2 — Build index.html
- One file, zero external requests. Fullscreen triangle + fragment shader.
- Reconstruct the normal from small height offsets (
e ≈ 0.0016); a sharp specular exponent (≥ 60) is what reads as "metal". - Keep the iridescence tasteful — tie it to fresnel/height so it appears at grazing angles, not everywhere.
- Compile shaders with error logging so a typo fails loudly, not silently black.
Step 3 — Overlay + brand
- Map the accent colors to the active DESIGN.md when one is present; otherwise a restrained metallic palette. The reference tints the hottest specular toward lime
#63fe13as the brand accent. - Headline ≤ 13ch plus one supporting line. Keep the metal as the hero.
Step 4 — Self-review (P0)
- Renders continuously at ~60fps; the FPS badge updates.
- Reads unmistakably as metal: a sharp, moving specular highlight.
- Iridescence is present but restrained (grazing angles), not a rainbow wash.
- Resizes crisply on window resize (no stretching / blur).
- Degrades to a message (not a blank page) if
webgl2is unavailable.
자주 묻는 질문
'domain-warped noise field'란 무엇인가요?
복잡하고 불규칙한 무늬를 만드는 방법으로, 금속 표면에 질감과 움직임을 줍니다.
'iridescent thin-film sheen'은 무슨 뜻인가요?
비눗방울이나 기름 막에서 보이는 것처럼 얇은 막 때문에 색이 바뀌며 빛나는 모습을 뜻합니다.
왜 단일 'index.html' 파일인가요?
다른 외부 파일에 의존하지 않아 공유하고 보여 주기 쉽기 때문입니다.
상세 정보
작성자의 원본 설명
A real-time liquid-metal shader — a domain-warped noise field shaded as molten chrome, with a sweeping specular highlight over an iridescent thin-film (cosine-palette) sheen. No textures. Rendered as a single self-contained `index.html`. Use when the brief asks for "liquid metal", "molten chrome", "iridescent", "holographic", "metallic", "thin-film", or a reflective flowing surface. OpenDesign ser
repo: nexu-io/open-design
인기도
- GitHub 스타
- 101k
- 순위
- #1059
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
sample-plugin
101k에이전트가 테스트용 메타데이터 파일을 만들도록 합니다. 코드가 다양한 상황에서 올바르게 작동하도록 돕습니다.
aster-atelier
101k클래식한 느낌의 예술 웹사이트를 만들도록 에이전트를 돕습니다. 우아한 이미지, 푸른 하늘, 세리프 글꼴로 영화 같은 분위기를 냅니다.
audio-jingle
101k징글(jingle)과 효과음 같은 오디오를 에이전트가 생성하도록 합니다. 음악과 음성을 만들고 결과를 오디오 파일로 저장할 수 있습니다.
blog-post
101k긴 기사나 블로그 글을 쓰도록 에이전트를 돕습니다. 이미지, 인용문, 작성자 정보를 넣을 공간이 포함됩니다.