Skip to content

Toy graphics engine for WGSL compute shaders. Features shader hot reload, generating sounds, frame export & audio/video input for live manipulation.

License

Notifications You must be signed in to change notification settings

altunenes/cuneus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shader Binary Release crates.io

cuneus sdf

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

Current Features

  • Hot shader reloading
  • Multi-pass, atomics etc
  • Interactive parameter adjustment, ez media imports through egui
  • Easily use HDR textures, videos/webcam via UI
  • Audio/Visual synchronization: Spectrum and BPM detection
  • Real-time audio synthesis: Generate music directly from wgsl shaders
  • 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 and see BUILD.md.
  • Optional Media Support: GStreamer dependencies are optional - use --no-default-features for lightweight builds with pure GPU compute shaders.
  • When using cuneus as a dependency (via cargo add):
    • Add bytemuck = { version = "1", features = ["derive"] } to dependencies (derive macros can't be re-exported)
    • Copy build.rs to your project root to configure GStreamer paths (only needed for media features)
    • then simply use use cuneus::prelude::*;

Run examples

  • cargo run --release --example *file*
  • Or download on the releases

Gallery

Sinh3D JFA Volumetric Passage

Code

Code

Code
PathTracing Mandelbulb Lich Galaxy

Code

Code

Code
Buddhabrot FFT(Butterworth filter) Clifford

Code

Code

Code
Block Tower: 3D Game System Gaussian Splatting

Code

Code

Code
SDneuron path tracer audio visualizer

Code

Code

Code
sdvert tree kuwahara

Code

Code

Code

About

Toy graphics engine for WGSL compute shaders. Features shader hot reload, generating sounds, frame export & audio/video input for live manipulation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published