Skip to content

๐Ÿช„ Shader art using webgpu

Notifications You must be signed in to change notification settings

pythops/shader-art-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โœจ 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