I use KDE and it has desktop effects built in. One of them is wobbly windows, which I always enable. It has animations for switching virtual desktops too, but I don’t see the cube around anymore, maybe it needs to be installed separately.
The Cube will return with Plasma 6: https://pointieststick.com/2023/10/27/these-past-2-weeks-in-kde-wayland-color-management-the-desktop-cube-returns-and-optional-shadows-in-spectacle/
(They had removed it, because it was difficult to maintain. Now it’s been rewritten, using a new Desktop Effects API.)