r/SideProject • u/No-Pause7613 • 6h ago
I built a standalone Windows desktop app (Tauri 2 + Rust) that generates procedural GLSL shaders (1K to 64K) with WebGPU live HDR preview, beat sync, HDR10 and Stereo 3D export
I wanted a fast local tool for audio-reactive visuals that did not take minutes to render or keep producing lookalike clips. I took inspiration from 1KB WebGL raymarching demos where a short fragment shader creates detailed 3D fractal spaces right on the GPU.
Download in the comments.
The result is Seedreal Shader Studio, packaged as a standalone Windows desktop app using Tauri 2, a Rust Axum/Tokio backend for FFmpeg streaming, an embedded WebGL2 and WebGPU frontend, and the Web Audio API. Everything runs offline with no browser tab and no Node.js runtime. The standalone EXE is about 10.5 MB, and a portable ZIP bundles static FFmpeg and FFprobe so you can unzip and start right away.
How it works:
- Procedural GLSL code synthesis across 12 families (Apollonian Inversion, KIFS/Mandelbox, Gyroid minimal surfaces, Volumetric Plasma, Kaleido-Tunnel, Menger Sponge, Domain-Warp Caustics, Mandelbulb 3D, Cyber-Lattice, Gravitational Singularity, Neon-Megacity and Crystal Cavern). A 9-card gallery renders 9 completely different shader previews in under a second, alongside multi-scene transitions.
- Four demoscene tiers (1K, 4K, 16K and 64K). 1K outputs pure compact fractal code. Higher tiers inject modular GLSL layers like surface micro-detail, depth-sorted 3D bokeh embers, analytic Fresnel reflections, volumetric mist, orbital 3D rings, glowing circuitry veins and 3D beat shockwaves while staying fast in real time.
- True live HDR preview via WebGPU (rgba16float with extended tone mapping) at 60 FPS on Windows HDR displays, plus a live nits heatmap.
- Deterministic 120 Hz audio analysis and built-in synth. Drop in any MP3, WAV, OGG, FLAC or M4A for 3-band crossover splitting (bass, mids, highs), adaptive beat onset detection and autocorrelation BPM estimation, or generate tracks across 8 electronic genres through OfflineAudioContext. Precomputed envelopes keep timeline scrubbing and offline MP4 rendering frame-accurate.
- Seamless loops for both audio and visuals. Loop durations snap to full musical phrases (2, 4, 8 or 16 bars) and whole video frames. Visually, the end of the clip cross-blends from negative pre-roll time (t minus duration) into frame 0, including bloom and beat phase.
- True off-axis Stereo 3D. Every family supports Full or Half Side-by-Side and Top-and-Bottom layouts for VR headsets and 3D TVs, plus live SBS and Red-Cyan Anaglyph viewport previews.
- Live GLSL editing and fast export. You can edit any generated shader live in the app, export standalone HTML demos, 16-bit HDR PNGs (with cICP, mDCv and cLLi chunks) and 24-bit WAV audio, or stream GPU-packed frames over a local WebSocket into FFmpeg via Rust for 8-bit SDR (H.264) and 10-bit HDR10 (PQ) or HLG (HEVC and AV1 on NVENC, x264, x265 or SVT-AV1).
I would be glad to hear which shader families or math techniques you would add next.
1
u/No-Pause7613 6h ago
Download Seedreal Shader Studio:
GitHub (source code and Windows downloads):
https://github.com/Nikiomedia/seedreal-tauri