WebGPU Demos

Cube

This demo demonstrates a rotating cube in 3D.

Luminance Histiogram

A Collection of Convolutions

This demo demonstrates multiple convolutions each computed inside the fragment shader.

Box Blur

This demo demostrates a box blur using a compute shader with configurable box size.

Transparency

This demo loads a partially transparent texture on a blue background to test alpha blending.

Image Inverter

This demo loads a file and inverts its colors.

Grayscale

This demo uses the fragment shader to cast an image into grayscale.

Picture

This demo draws two triangles using an index buffer and a texture.

Indexed Square

This demo draws two triangles using an index buffer.

Triangle

This demo simply passes a triangle into a simple shader.