Communitygithub.com

majiayu000/claude-skill-registry-data

プロシージャルグラフィック用のGLSLフラグメントシェーダを作成します。形状(SDF)、パターン、ノイズ(パーリン/シンプレックス/セルラー)、fBm、色(HSB/RGB)、行列、グラデーション、アニメーションを扱います。ジェネレーティブアート、テクスチャ、ビジュアルエフェクト、WebGL、Three.jsシェーダに使用します。

claude-skill-registry-data とは?

このスキルは、GPU上でピクセル単位に並列実行されるGLSLフラグメントシェーダの作成を支援します。プロシージャルテクスチャ(木目、大理石、雲、地形)、SDFを用いた形状描画、パターン生成、ノイズ(パーリン/シンプレックス/セルラー)、fBm(フラクショナルブラウン運動)、カラー操作(RGB/HSB/グラデーション/混合)、行列変換、アニメーションなど、幅広いプロシージャルグラフィックスの技法を網羅します。シェーダの基本概念(gl_FragCoord、gl_FragColor、uniform変数)から、mix、step、smoothstep、fract、lengthなどの必須関数とその使用例、さらに円や矩形、タイリング、アニメーションといったクイックパターンを提供します。関連リファレンスドキュメント(データ型、整形関数、色、SDF、ポリゴン、ノイズ、fBm、APIリファレンス)が階層的に整理されており、段階的な学習を可能にします。Three.jsやWebGL、ShaderToy、glslViewerなどのツールとの互換性も考慮されています。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/majiayu000/claude-skill-registry-data/tree/HEAD/creative/shader-hoanghd218-landing-page-ai-kien-2

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

GLSL フラグメントシェーダ

プロシージャルグラフィック、テクスチャ、ビジュアルエフェクトのためのGPUアクセラレートフラグメントシェーダを作成します。

使用タイミング

  • プロシージャルテクスチャの作成(木目、大理石、雲、地形)
  • 距離場(SDF)による形状描画
  • パターン、ノイズ、グラデーションの生成
  • ビジュアルエフェクトとアニメーションの構築
  • Three.js、WebGL、Processing用のカスタムシェーダの作成

基本概念

フラグメントシェーダはすべてのピクセル上で同時に実行されます。各スレッドは:

  • gl_FragCoord を介してピクセル位置を受け取る
  • gl_FragColor(vec4: RGBA 0.0-1.0)を介して色を返す
  • 他のスレッドと通信できない(ステートレス)

標準ユニフォーム

uniform float u_time;       // 経過秒数
uniform vec2 u_resolution;  // キャンバスサイズ(幅、高さ)
uniform vec2 u_mouse;       // マウス位置(ピクセル単位)

座標を正規化: vec2 st = gl_FragCoord.xy / u_resolution;

必須関数

関数目的例
mix(a,b,t)線形補間mix(red, blue, 0.5)
step(edge,x)ハードしきい値step(0.5, st.x)
smoothstep(e0,e1,x)スムーズしきい値smoothstep(0.2, 0.8, st.x)
fract(x)小数部分fract(st * 3.0) でタイリング
mod(x,y)剰余mod(st.x, 0.25)
clamp(x,min,max)値を制約clamp(col, 0.0, 1.0)
length(v)ベクトルの大きさlength(st - 0.5)
distance(a,b)ユークリッド距離distance(st, center)
dot(a,b)ドット積dot(normal, lightDir)
normalize(v)単位ベクトルnormalize(direction)
atan(y,x)角度(ラジアン)atan(st.y-0.5, st.x-0.5)
sin/cos/pow/abs数学演算ハードウェアアクセラレーション対応

クイックパターン

円:

float d = distance(st, vec2(0.5));
float circle = 1.0 - smoothstep(0.2, 0.21, d);

矩形:

vec2 bl = step(vec2(0.1), st);
vec2 tr = step(vec2(0.1), 1.0 - st);
float rect = bl.x * bl.y * tr.x * tr.y;

タイリング:

st = fract(st * 4.0);  // 4x4 グリッド

アニメーション:

float wave = sin(st.x * 10.0 + u_time) * 0.5 + 0.5;

リファレンス(段階的開示)

基礎

  • references/glsl-fundamentals-data-types-vectors-precision-coordinates.md
  • references/glsl-shaping-functions-step-smoothstep-curves-interpolation.md

描画

  • references/glsl-colors-rgb-hsb-gradients-mixing-color-spaces.md
  • references/glsl-shapes-sdf-circles-rectangles-polar-distance-fields.md
  • references/glsl-shapes-polygon-star-polar-sdf-combinations.md

プロシージャル

  • references/glsl-patterns-tiling-fract-matrices-transformations.md
  • references/glsl-pattern-symmetry-truchet-domain-warping.md
  • references/glsl-noise-random-perlin-simplex-cellular-voronoi.md
  • references/glsl-cellular-voronoi-worley-noise-patterns.md
  • references/glsl-fbm-fractional-brownian-motion-turbulence-octaves.md
  • references/glsl-procedural-textures-clouds-marble-wood-terrain.md

APIリファレンス

  • references/glsl-shader-builtin-functions-complete-api-reference.md

ツール

  • オンラインエディタ: editor.thebookofshaders.com
  • glslViewer: .frag ファイルを実行するCLIツール
  • glslCanvas: ライブシェーダを埋め込むHTML
  • ShaderToy: iTime, iResolution, iMouse ユニフォームを使用

外部リソース

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Analyzes current state and user query to answer BMad questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about BMad

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

majiayu000/claude-skill-registry-data

Create a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.

majiayu000/claude-skill-registry-data

Speech-to-text transcription and translation via OpenAI Audio API -- models, response formats, timestamps, prompting, streaming, chunking, and diarization

majiayu000/claude-skill-registry-data

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

majiayu000/claude-skill-registry-data

小省导购员数字人带货版即梦视频提示词生成系统,基于四大智能体协同(提示词生成师、质量管控师、知识库运维师、跨环节适配师),按照"主体+运动+场景+(镜头语言+光影+氛围)"公式输出中英文双版提示词,适配5s短视频。确保人物一致性、视觉连贯性、情绪连贯性,支持知识库智能复用和跨工具适配(Suno音乐、AI绘画),为数字人带货视频提供高质量提示词生成服务。

majiayu000/claude-skill-registry-data

Upload and manage files using Google Gemini File API via scripts/. Use for uploading images, audio, video, PDFs, and other files for use with Gemini models. Supports file upload, status checking, and file management. Triggers on "upload file", "file API", "upload image", "upload PDF", "upload video", "file management".

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

majiayu000/claude-skill-registry-data

Conduct domain and industry research. Use when the user says "lets create a research report on [domain or industry]

majiayu000/claude-skill-registry-data

Conduct market research on competition and customers. Use when the user says "create a market research report about [business idea]".

majiayu000/claude-skill-registry-data

Conduct technical research on technologies and architecture. Use when the user says "create a technical research report on [topic]".

majiayu000/claude-skill-registry-data

Builds, edit or validate Agent Skill through conversational discovery. Use when the user requests to "Create an Agent", "Optimize an Agent" or "Edit an Agent".

関連スキル