Imported from https://blog.vladzahorodnii.com/2024/03/18/how-to-write-a-qml-effect-for-kwin/
@vladz 😄