Those animations aren't added by Linux, by the way. They're added by the composition manager, which is in this case, compiz. Composition managers are there to add drop shadows, and other general window effects. Linux is simply the kernel of the entire OS, Ubuntu.
Don't direct the praise where it doesn't belong.