This is an interesting blog if you want to use Mac OS like Genie effect on your Ubuntu machine then this blog might be useful for you. Follow these steps and at the end you will get changed minimized and maximized animations which looks cool.
You need to install "compiz” and “CompizConfigSettingsManager” from Ubuntu software center.
Go to Ubuntu Dash and type compizConfig Setting Manager
Open CompizConfig Setting Manager.
Select Effect Tab and then check Animations checkbox.
After that click on Animations
Here click on Open Animation Tab , then click on new and put the following values.