Skip to content

Commit e040ec1

Browse files
authored
External demos (#573)
Some external demo links. Feel free to reject some or all of them if they are not appropriate 3 of them have WebGL fallbacks and it's not clear what if anything they demonstrate about WebGPU. One (the "aquarium") uses compute for various things. They could maybe be translated back to WebGL but no plans.
1 parent 5d76bb2 commit e040ec1

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎sample/webgpuAquarium/meta.ts‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export default {
2+
name: 'WebGPU Aquarium',
3+
description: `A WebGPU based under water ocean simulation.`,
4+
filename: __DIRNAME__,
5+
external: {
6+
url: 'https://greggman.github.io/webgpu-aquarium/',
7+
sourceURL: 'https://github.com/greggman/webgpu-aquarium',
8+
},
9+
sources: [],
10+
};

‎src/samples.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import twoCubes from '../sample/twoCubes/meta';
4646
import videoUploading from '../sample/videoUploading/meta';
4747
import visionTransformer from '../sample/visionTransformer/meta';
4848
import volumeRenderingTexture3D from '../sample/volumeRenderingTexture3D/meta';
49+
import webgpuAquarium from '../sample/webgpuAquarium/meta';
4950
import wireframe from '../sample/wireframe/meta';
5051
import worker from '../sample/worker/meta';
5152
import workloadSimulator from '../sample/workloadSimulator/meta';
@@ -177,6 +178,7 @@ export const pageCategories: PageCategory[] = [
177178
alphaToCoverageEmulator,
178179
particleLife,
179180
visionTransformer,
181+
webgpuAquarium,
180182
},
181183
},
182184

0 commit comments

Comments
 (0)