Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.17 KB

Readme.md

File metadata and controls

53 lines (34 loc) · 1.17 KB

✨ 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