Code

Result

http://i.imgur.com/ML37SP1.gif

Sources