PTCV

A GPU effects engine drawn on top of the Linux desktop

Shader scenes, window auras and cursor trails for Hyprland and X11. The background of this site is running its shaders, unchanged.

Try it: pick an effect and it becomes the background of this page.

Background

These are shaders from my desktop effects engine, running in your browser.

The plasma theme draws its own background, so the effect is paused. It comes back when you switch themes.

architecture
panelegui · live controls
engine · Rusteffect catalog · CPU and GPU renderers
overlayWayland layer-shell · X11

One effect catalog and two backends. On Wayland the engine draws through wgpu on a layer-shell surface and follows windows through Hyprland IPC. On X11 it falls back to CPU effects on a transparent window.

decisions

What I chose, and what it cost

Every shader takes the same uniform block

Speed, density, intensity and color mean the same thing in every effect, so the panel needs no per-effect code. It is also why these shaders run in your browser as they are. The cost: an effect that needs a control of its own has to squeeze it into the shared fields.

Wayland first, X11 second

Hyprland is the quality bar and X11 is not allowed to complicate or slow that path. The cost: X11 only gets the CPU effects.

Effects are dispatched in one place

Backends only hand parameters and state to the shared renderer. Adding an effect never means touching Wayland or X11 code.