I've wondered how Pokemon TCG Pocket renders their interactive coin flips.<p>Coin flips get determined server-side, but rendered client-side. My pondering in detail: How do you animate a coin, that is supposed to lands on heads?<p>Never having written a single line of JS before, I decided to tackle this as my first front-end project.