Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions docs/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>TinyWebGPU — tutorial</title>
<meta name="description" content="A step-by-step tutorial for TinyWebGPU: from one fullscreen
shader to compute, atomics and a particle system. Every code box on the page really runs.">
<title>TinyWebGPU tutorial — WebGPU and WGSL, sixteen runnable steps</title>
<meta name="description" content="A step-by-step WebGPU tutorial: from one fullscreen WGSL
shader to compute, uniforms, ping-pong buffers, atomics, indirect dispatch and a particle
system. Every code box on the page really runs on your GPU.">
<link rel="canonical" href="https://lampmaker.github.io/tinywebgpu/docs/tutorial.html">
<meta property="og:type" content="article">
<meta property="og:site_name" content="TinyWebGPU">
<meta property="og:url" content="https://lampmaker.github.io/tinywebgpu/docs/tutorial.html">
<meta property="og:title" content="TinyWebGPU tutorial — WebGPU and WGSL in sixteen runnable steps">
<meta property="og:description" content="From one fullscreen WGSL shader to compute, atomics
and a particle system — every code box on the page recompiles live against your GPU.">
<meta name="twitter:card" content="summary">
<!-- Loaded first and on purpose not a module: it turns an uncaught error in the
module scripts below — no WebGPU, no adapter, a file that failed to load — into
a banner on the page, because a phone has no console to print it to. -->
Expand Down
15 changes: 14 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TinyWebGPU — demos</title>
<title>TinyWebGPU — a one-file WebGPU framework, with live demos</title>
<meta name="description" content="A tiny WebGPU framework for shader-first work: WGSL
fullscreen shaders, compute passes and GPGPU in one file, no build step. One JS object is
the single source of truth for uniforms and resources — WGSL structs, binding indices and
buffer offsets are generated for you. Live demos and a step-by-step tutorial.">
<link rel="canonical" href="https://lampmaker.github.io/tinywebgpu/">
<meta property="og:type" content="website">
<meta property="og:site_name" content="TinyWebGPU">
<meta property="og:url" content="https://lampmaker.github.io/tinywebgpu/">
<meta property="og:title" content="TinyWebGPU — a one-file WebGPU framework">
<meta property="og:description" content="A tiny WebGPU framework for shader-first work:
WGSL shaders, compute and GPGPU in one file, no build step. One JS object is the single
source of truth for uniforms and resources. Live demos in the browser.">
<meta name="twitter:card" content="summary">
<!-- Loaded first and on purpose not a module: it turns an uncaught error in the
module scripts below — no WebGPU, no adapter, a file that failed to load — into
a banner on the page, because a phone has no console to print it to. -->
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@
"webgpu",
"wgsl",
"shader",
"shaders",
"compute",
"compute-shader",
"gpgpu",
"graphics"
"graphics",
"webgpu-framework",
"zero-dependency"
],
"devDependencies": {
"esbuild": "^0.25.0",
Expand Down
Loading