webgl-expert
Expert guide for WebGL API development including 3D graphics, shaders (GLSL), rendering pipeline, textures, buffers, performance optimization, and canvas…
Skill by 12-Studio
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/12-studio-webgl-expert
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/webgl-expert
What's inside
- Skill name
webgl-expert- Description
- Expert guide for WebGL API development including 3D graphics, shaders (GLSL), rendering pipeline, textures, buffers, performance optimization, and canvas rendering. Use when working with WebGL, 3D graphics, canvas rendering, shaders, GPU programming, or when user mentions WebGL, OpenGL ES, GLSL, vertex shaders, fragment shaders, texture mapping, or 3D web graphics.
- License
- MIT
- Instructions
- 477 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- basic-triangle.md · examples/
- textured-cube.md · examples/
- reference.md
- shader-template.glsl · templates/
SKILL.md (first lines)
# WebGL Expert
Expert guide for WebGL (Web Graphics Library) API development, covering both WebGL 1.0 and WebGL 2.0 for high-performance 2D and 3D graphics rendering in web browsers.
## Overview
WebGL is a JavaScript API that enables hardware-accelerated 3D graphics rendering within HTML canvas elements without requiring plugins. It closely conforms to OpenGL ES 2.0 (WebGL 1.0) and OpenGL ES 3.0 (WebGL 2.0) standards.
**Key capabilities:**
- Hardware-accelerated 2D and 3D rendering
- Programmable shader pipeline (GLSL)
- Texture mapping and advanced materials
- Lighting and transformation systems
- High-performance graphics for games and visualizations
- Cross-platform compatibility (all modern browsers)
## Core Interfaces
### WebGLRenderingContext (WebGL 1.0)
The foundational interface for WebGL operations, obtained via canvas context:
```javascript
const canvas = document.querySelector('canvas');
const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
if (!gl) {
console.error('WebGL not supported');
}
```
### WebGL2RenderingContext (WebGL 2.0)
Enhanced interface with advanced features:
```javascript
const gl = canvas.getContext('webgl2');
if (!gl) {
console.log('WebGL 2 not supported, falling back to WebGL 1');
gl = canvas.getContext('webgl');
}
```
**WebGL 2 exclusive features:**
- 3D textures
- Sampler objects
- Uniform Buffer Objects (UBO)
- Transform Feedback
- Vertex Array Objects (VAO) - core feature
- Instanced rendering
- Multiple render targets
- Integer textures and attributes
- Query objects
- Occlusion queries
## Rendering Pipeline
### 1. Shader Creation and Compilation
Shaders are programs written in GLSL (OpenGL Shading Language) that run on the GPU:
**Vertex Shader** - Processes each vertex:
```glsl
attribute vec3 aPosition;
attribute vec2 aTexCoord;
uniform mat4 uModelViewProjection;
varying vec2 vTexCoord;
void main() {
gl_Position = uModelViewProjection * vec4(aPosition, 1.0);
vTexCoord = aTexCoord;
}
```
**Fragment Shader** - Determines pixel colors:
```glsl
precision mediump float;
varying vec2 vTexCoord;
uniform sampler2D uTexture;
void main() {
gl_FragColor = texture2D(uTexture, vTexCoord);
}
```
**JavaScript shader setup:**
```javascript
function createShader(gl, type, source) {
const shader = gl.createShader(type);
gl.shaderSource(shader, source);
gl.compileShader(shader);
if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
console.error('Shader compilation error:', gl.getShaderInfoLog(shader));
gl.deleteShader(shader);
return null;
}
return shader;
}
function createProgram(gl, vertexShader, fragmentShader) {
const program = gl.createProgram();
gl.attachShader(program, vertexShader);
gl.attachShader(program, fragmentShader);
gl.linkProgram(program);
if (!gl.getProgramParameter(program, gl.LINK_STATUS)) {
console.error('Program linking error:', gl.getProgramInfoLog(program));
gl.deleteProgram(program);
return null;
}
return program;
}
```
### 2. Buffer Management
Buffers store vertex data (positions, colors, normals, texture coordinates):From 12-Studio/Tackl, MIT.
More from 12-Studio/Tackl
- 0.635score
lenis-react
12-Studio
Integrate Lenis smooth scroll into React and Next.js projects.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
gsap-tackl
12-Studio
Implements and orchestrates GSAP in Tackl — useAnimation, useGSAP, ScrollTrigger, Lenis sync, page transitions, and reduced-motion fallbacks.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-context-setup
12-Studio
Configure react context setup operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
tackl-performance
12-Studio
Optimizes Tackl apps for Web Vitals, reduced motion, and scroll performance.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
scss-modules
12-Studio
Styles React components with SCSS CSS Modules and the Tackl design system.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-hook-creator
12-Studio
Create react hook creator operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.626score
motion-framer
12-Studio
Modern animation library for React and JavaScript.
SkillAFreshness: A★ 10Claude Code +9 - 0.626score
threejs-webgl
12-Studio
Comprehensive skill for Three.js 3D web development.
SkillAFreshness: A★ 10Claude Code +9 - 0.622score
react-three-fiber
12-Studio
Build declarative 3D scenes with React Three Fiber (R3F) - a React renderer for Three.js.
SkillAFreshness: A★ 10Claude Code +9 - 0.621score
web3d-integration-patterns
12-Studio
Meta-skill for combining Three.js, GSAP ScrollTrigger, React Three Fiber, Motion, and React Spring for complex 3D web experiences.
SkillAFreshness: A★ 10Claude Code +9 - 0.600score
grilling
12-Studio
Grill the user relentlessly about a plan or design.
SkillAFreshness: A★ 10Claude Code +9 - 0.594score
handoff
12-Studio
Compact the current conversation into a handoff document for another agent to pick up.
SkillAFreshness: A★ 10Claude Code +9
Signals
- Stars
- 10
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Jul 22, 2026 (3 months ago)
- Last release
- Oct 11, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/12-Studio/Tackl
- Website
- tackl.netlify.app/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 12-Studio
- 0.635score
lenis-react
12-Studio
Integrate Lenis smooth scroll into React and Next.js projects.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
gsap-tackl
12-Studio
Implements and orchestrates GSAP in Tackl — useAnimation, useGSAP, ScrollTrigger, Lenis sync, page transitions, and reduced-motion fallbacks.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
tackl-performance
12-Studio
Optimizes Tackl apps for Web Vitals, reduced motion, and scroll performance.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-context-setup
12-Studio
Configure react context setup operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-hook-creator
12-Studio
Create react hook creator operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
scss-modules
12-Studio
Styles React components with SCSS CSS Modules and the Tackl design system.
SkillAFreshness: A★ 10Claude Code +9
Cite this page
webgl-expert skill. Agent Mart. https://agentmart.dev/skills/12-studio-webgl-expert (last updated 2026-10-24)