webgl-experience
यह क्या करती है
WebGL तकनीक का इस्तेमाल करके पूरी स्क्रीन पर एनिमेटेड विज़ुअल अनुभव बनाता है। इसमें shaders, 3D सीन या particle effects जैसे रियल-टाइम ग्राफ़िक्स दिखते हैं, और ऊपर सादा टेक्स्ट होता है। यह सब एक ही HTML फ़ाइल में आता है।
कब इस्तेमाल करें
- ✓जब किसी वेबसाइट के लिए आकर्षक, एनिमेटेड बैकग्राउंड चाहिए।
- ✓3D कॉन्सेप्ट्स या ग्राफ़िक्स का इंटरैक्टिव विज़ुअल डेमो बनाने के लिए।
- ✓ब्राउज़र में सीधे चलने वाला रियल-टाइम विज़ुअल इफ़ेक्ट बनाते समय।
Skill का लिंक
https://github.com/nexu-io/open-design/blob/main/design-templates/webgl-experience/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक ऑरोरा फ़ील्ड और सादे शीर्षक के साथ WebGL अनुभव बनाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI WebGL कोड का इस्तेमाल करता है ताकि ग्राफ़िक्स सीधे आपके कंप्यूटर के graphics card पर बनें। वह एक 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,viewporton 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
webgl2is unavailable.
अक्सर पूछे जाने वाले सवाल
WebGL क्या है?
WebGL एक तकनीक है, जो ब्राउज़र में इंटरैक्टिव 2D और 3D ग्राफ़िक्स दिखाने देती है, और इसके लिए graphics card की प्रोसेसिंग ताकत का इस्तेमाल करती है।
shaders क्या होते हैं?
shaders छोटे प्रोग्राम होते हैं जो graphics card पर चलते हैं और तय करते हैं कि 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
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
sample-plugin
101kआपके एजेंट से टेस्ट के लिए metadata file बनवाता है। इससे पक्का होता है कि कोड अलग-अलग स्थितियों में सही चलता है।
aster-atelier
101kआपके एजेंट से क्लासिक लुक वाली एक कलात्मक website बनवाता है। इसमें खूबसूरत इमेज, नीला आसमान और serif fonts इस्तेमाल होते हैं, जिससे सिनेमाई एहसास मिलता है।
audio-jingle
101kआपके एजेंट से जिंगल्स और sound effects जैसा audio बनवाता है। यह music और voice बना सकता है और नतीजा audio file में सेव करता है।
blog-post
101kआपका एजेंट लंबे articles या blog posts लिखने में मदद करता है। इसमें images, quotes और author की जानकारी के लिए जगह भी होती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।