picom
picom copied to clipboard
FEATURE: Add glide animation
KDE has a glide animation for opened and closed windows. It's essentially identical to the animation used from Windows Vista - 8.1.
The animation is like the window rotating on a horizontal hinge on the screen, where it goes from not being visible and rotated to rotating forward and becoming opaque.
The animation should support the following parameters:
- Duration (duration of animation)
- Rotation (what rotation the window should start at)
- Direction (from left or right side of window to rotate in horizontally from that side, or top and bottom to come in vertically from those sides)
- Opacity (what the starting opacity should be)
Example video from Windows 8.1: https://packaged-media.redd.it/m29jmpmn3xe61/pb/m2-res_240p.mp4?m=DASHPlaylist.mpd&v=1&e=1758391200&s=e5f03f624d83ebd6d687c11b12cf6c5fff66d318
Feel free to open a PR :)