본문으로 건너뛰기
Skillpedia
에이전트101k · #970

webgl-experience

하는 일

WebGL 기술로 전체 화면 애니메이션 시각 경험을 만듭니다. 셰이더, 3D 장면, 파티클 효과 같은 실시간 그래픽을 보여 주며, 그 위에 간단한 텍스트가 올라갑니다. 이 모든 것이 하나의 HTML 파일로 제공됩니다.

사용하는 경우

  • ✓웹사이트를 위한 눈에 띄는 애니메이션 배경이 필요할 때.
  • ✓3D 개념이나 그래픽을 보여 주는 대화형 시각 데모를 만들 때.
  • ✓브라우저에서 바로 실행되는 실시간 시각 효과를 개발할 때.

스킬 링크

https://github.com/nexu-io/open-design/blob/main/design-templates/webgl-experience/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

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

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

AI에게 요청하는 예시

“오로라 장면과 간단한 제목이 있는 WebGL 경험을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 WebGL 코드를 사용해 컴퓨터의 그래픽 카드로 그래픽을 직접 그립니다. 오버레이 텍스트와 함께 이 전체 화면 애니메이션을 보여 주는 모든 명령이 담긴 HTML 파일을 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

WebGL Experience Skill

Produce a single self-contained index.html that renders a real-time WebGL (or WebGL2) visual full-screen, with a clean typographic overlay on top.

Why this is a powered artifact

OpenDesign detects getContext('webgl2') / new Worker / SharedArrayBuffer and renders this file in powered preview — a cross-origin-isolated iframe with allow-same-origin. That means real Web Workers, SharedArrayBuffer, WASM, and the full GPU pipeline are available. You do not need to work around the opaque sandbox. Prefer webgl2 for modern features; fall back to webgl when the effect allows.

Resource map

webgl-experience/
├── SKILL.md      ← you're reading this
└── example.html  ← a working WebGL2 aurora-field reference (READ FIRST)

Workflow

Step 0 — Read the reference

Read example.html end to end. Note the shape: one full-viewport <canvas>, a fragment-shader draw loop on a fullscreen triangle, a DPR-aware resize, and a requestAnimationFrame tick. The overlay (kicker → h1 → sub) is pure HTML/CSS layered above the canvas via z-index.

Step 1 — Choose the visual

Pick ONE technique that fits the brief:

  • Fragment-shader field (default): domain-warped fbm noise, flow fields, plasma, gradients. Cheapest, always 60fps.
  • Raymarched scene: SDF spheres/boxes with soft shadows for a 3D hero.
  • Instanced geometry: thousands of points/quads driven by a vertex shader.
  • Post-processed image: sample a data-URI texture and distort/dither it.

Step 2 — Build index.html

  • Keep it one file, zero external requests (inline the shader source; embed any texture as a data: URI). Powered mode allows CDN loads, but self-contained previews are faster and portable.
  • Always: alpha:false, DPR clamped to 2, viewport on resize, and a guard that shows a graceful message if the context is null.
  • Compile shaders with error logging (getShaderInfoLog) so a typo fails loudly, not silently black.

Step 3 — Overlay + brand

  • Map the two :root-level accent colors to the active DESIGN.md when one is present; otherwise use a restrained dark palette with a single vivid accent (the reference uses lime #63fe13).
  • Headline ≤ 14ch, one supporting line. Never cover the whole canvas — the visual is the hero.

Step 4 — Self-review (P0)

  • Renders continuously at ~60fps; the FPS badge updates.
  • No WebGL console errors; getError() clean after first frame.
  • Resizes crisply on window resize (no stretching / blur).
  • Readable overlay contrast over the brightest frame.
  • Degrades to a message (not a blank page) if webgl2 is unavailable.
자주 묻는 질문

WebGL이란 무엇인가요?

컴퓨터의 그래픽 카드 성능을 활용해 웹 브라우저에서 대화형 2D 및 3D 그래픽을 보여 주는 기술입니다.

'셰이더'는 무엇인가요?

그래픽 카드에서 실행되어 3D 물체를 그리는 방식을 제어하는 작은 프로그램으로, 색, 질감, 조명 효과를 정합니다.

'실시간'은 무엇을 뜻하나요?

애니메이션이 즉시 생성되어 표시되고, 사용자가 상호작용하거나 시간이 흐르면 계속 갱신된다는 뜻입니다.

상세 정보

작성자의 원본 설명

A full-screen, real-time WebGL/WebGL2 experience — animated shaders, 3D scenes, generative visuals, particle fields — rendered live on the GPU with a typographic overlay. Produced as a single self-contained `index.html`. Use when the brief asks for a "WebGL", "shader", "3D", "generative", "GPU", "interactive canvas", "hero animation", or "real-time visual" experience. OpenDesign serves this in pow

repo: nexu-io/open-design

인기도

GitHub 스타
101k
순위
#970
라이선스
Apache-2.0
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬