WebGPU Shader Playground: Compute Shader Basics
CODE PREVIEW
エディタを読み込み中…
P
Prompt
Interactive WebGPU compute shader playground that renders a simple gradient pattern using GPU parallelism. Avoid GSAP, Swiper, AOS, Alpine, HTMX, Vue, React, etc.
このインタラクティブプレイグラウンドは、基本的なWebGPUコンピュートシェーダーを示しています。シェーダーはGPU上で並列実行され、グラデーションをストレージバッファに直接書き込みます。各ピクセルの色は座標に基づいて独立に計算されます。Recomputeボタンをクリックするとシェーダーが再実行されます。WebGPU対応ブラウザ(Chrome 113以降)が必要です。
Prompt Overview
This interactive playground demonstrates a basic WebGPU compute shader. The shader runs in parallel on the GPU, writing a gradient directly into a storage buffer. Each pixel's color is computed independently based on its coordinates. Click Recompute to re-run the shader. Requires a browser with WebGPU support (Chrome 113+).
Was this prompt helpful?
Comments
Comments appear after moderation
この記事が役に立ったら投げ銭で応援
Apple Pay / Google Pay / カード (Visa/Mastercard/JCB/Amex) / Link / Alipay / WeChat Pay 対応 · Stripeで安全に決済
開発者が選ぶ最強ツール集
運営者が毎日使っているツール・ガジェット 6選