Depends on the source of the window. If you open/close from with most apps, not much effect. If from finder, there is a default zoom on open/close.
If you minimize/maximize a window, it will do the "genie" effect as it puts itself onto or off of the Dock (found in System Preferences-> Dock Minimize using:")
Not 100% sure that's what you meant, but hope it's useful for something... 😉