/shader-art-rs

🪄 Shader art using webgpu

Primary LanguageRust

✨ Shader art using webgpu ✨

This is the implementation of An introduction to Shader Art Coding in Rust using webgpu.

🔌 Setup

You need:

🚀 Getting started

$ git clone https://github.com/pythops/shader-art-rs
$ cd shader-art-rs/
$ cargo run

⚙️ Configuration

Save as gif

$ cargo run -- --save animation.gif

Speed up the animation

You can speed up the animation or the generated gif.

$ cargo run -- --speed <Speed factor: u8>

GIF resolution

$ cargo run -- --save animation.gif --resolution <widthxheight>

the default resolution is 512x512

🙏 Acknowledgments

Thanks to @sorth for the amazing tutorial learn-wgpu

⚖️ License

AGPLv3