Skip to content

wgsl-tooling-wg/examples

Repository files navigation

WESL JS Shader Examples

Most examples are available as stackblitz demos that run in the browser. Or use degit to make a convenient local copy.

wesl-vite-minimal - Minimal vite front end app, shows transpiled code. Demo

  • degit github:wgsl-tooling-wg/examples/wesl-rand

wesl-vite - simple vite front end app, shows Mandlebrot set. Demo

  • degit github:wgsl-tooling-wg/examples/wesl-rand

wesl-rand - shows a random number field, using vite and an external library. Demo

  • degit github:wgsl-tooling-wg/examples/wesl-rand

wesl-unbundled - no bundler, dynamic linking. Demo

  • degit github:wgsl-tooling-wg/examples/wesl-unbundled

wesl-deno - deno backend, creates a PNG file with WebGPU.

  • degit github:wgsl-tooling-wg/examples/wesl-deno

lygia-cli-example - link from the command line (e.g. for a custom build pipeline). Demo

  • degit github:wgsl-tooling-wg/examples/lygia-cli-example

lygia-example - minimal example using Lygia. Demo

  • degit github:wgsl-tooling-wg/examples/lygia-example

lygia-static-example - static linking example, no runtime library needed. Demo

  • degit github:wgsl-tooling-wg/examples/lygia-static-example

About

example wesl projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •