You can write your animations in niri. A shader is a basically a program that runs on the GPU.