Step 1: download LICEcap, a free open-source tool to record GIFs (Windows/Mac only. Linux users, try Peek)

Step 2: record a GIF while playing around in LOOPY

Step 3: ta-dah