WESL Logo

Getting Started JavaScript

WESL is designed to work with both Rust and JavaScript. We have two distinct implementations for these languages, wesl-rs and wesl-js.

Wesl can be operated in a few different ways:

wesl-js documentation: https://github.com/wgsl-tooling-wg/wesl-js?tab=readme-ov-file#wesl

Using wesl-js with a plugin

Using wesl-js at run-time

Using the standalone CLI

Check out the CLI documentation

Next Steps

Visit the Authoring Shaders page to learn how to write your first WESL shaders.

Visit the Reference page for the complete documentation of WESL Extensions.