#shaders #wgpu #gpu #graphics

bin+lib cuneus

A WGPU-based shader development tool

5 releases

new 0.1.6 Mar 14, 2025
0.1.5 Feb 25, 2025
0.1.4 Jan 19, 2025
0.1.3 Jan 14, 2025
0.1.2 Jan 5, 2025

#81 in Rendering

Download history 113/week @ 2025-01-01 105/week @ 2025-01-08 137/week @ 2025-01-15 33/week @ 2025-02-05 64/week @ 2025-02-19 74/week @ 2025-02-26 2/week @ 2025-03-05 125/week @ 2025-03-12

265 downloads per month

MIT license

1MB
21K SLoC

Rust 16K SLoC // 0.0% comments WebGPU Shader Language 4K SLoC // 0.0% comments

Shader Binary Release crates.io

cuneus sdf

A tool for experimenting with WGSL shaders, it uses wgpu for rendering, egui for the UI, winit for windowing, and notify for hot-reload. :-)

Current Features

  • Hot shader reloading
  • Multi-pass, atomics etc
  • Interactive parameter adjustment, ez Texture loading through egui
  • Easily use your own videos as textures (thanks to the gstreamer)
  • Audio/Visual synchronization: Spectrum and BPM detection via gstreamer
  • Export HQ frames via egui

Current look

Cuneus IDE Interface

Keys

  • F full screen/minimal screen, H hide egui

Usage

  • If you want to try your own shaders, check out the usage.md.

Run examples

  • cargo run --release --bin *file*

  • Or download on the releases

  • Or, as the best method, use tui browser via ratatui (thanks to davehorner):

    cargo run --example tui_browser

Gallery

Sinh Signed Distance Satan

Code

Code

Code
Mandelbulb Lich Galaxy

Code

Code

Code
Xmas Droste Clifford

Code

Code

Code
orbits dna genuary6

Code

Code

Code
rorschach nebula audio visualizer

Code

Code

Code
Poe2:loading tree voronoi

Code

Code

Code

Dependencies

~32–68MB
~1M SLoC