https://github.com/qa-chrisb/random-shader-window
This project is a playground for learning how to use the WebGPU Shading Language (WGSL). It sets up a window and a basic render pipeline using the wgpu and winit crates, and then applies a random shader to the window.
https://github.com/qa-chrisb/random-shader-window
rust wgpu wgsl winit
Last synced: about 2 months ago
JSON representation
This project is a playground for learning how to use the WebGPU Shading Language (WGSL). It sets up a window and a basic render pipeline using the wgpu and winit crates, and then applies a random shader to the window.
- Host: GitHub
- URL: https://github.com/qa-chrisb/random-shader-window
- Owner: qa-chrisb
- License: mit
- Created: 2024-01-26T16:30:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-30T13:44:28.000Z (9 months ago)
- Last Synced: 2026-01-15T21:32:41.746Z (5 months ago)
- Topics: rust, wgpu, wgsl, winit
- Language: WGSL
- Homepage:
- Size: 1.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Shader Window
This project is a playground for learning how to use the WebGPU Shading Language (WGSL). It sets up a window and a basic render pipeline using the `wgpu` and `winit` crates, and then applies a random shader to the window.

## Features
- Window setup using `winit`
- Basic render pipeline setup using `wgpu`
- Random shader application
## Usage
To run the application, use the following command:
```bash
cargo run
```
## Note
This project is primarily for learning purposes and is not intended to be a fully-featured application. The render pipeline setup is kept as simple as possible to focus on the shader functionality. Future improvements may include tweaking the render pipeline setup to ensure compatibility with other platforms.
## Dependencies
- Rust
- wgpu
- winit
-tokio
## Contributing
This project is just a personal learning playground, but if you're interested in WGSL and want to contribute, feel free to open a pull request or issue.
## License
This project is licensed under the MIT License.