본문으로 건너뛰기
Skillpedia
이미지 및 아이콘101k · #1059

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/webgl-liquid-metal/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 #63fe13 as 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 webgl2 is 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬