Hacker News new | ask | show | jobs
Show HN: Simulating coin flips like Pokemon TCG Pocket using Three.js (blog.tilschuenemann.de)
1 points by tilschuenemann 487 days ago
I've wondered how Pokemon TCG Pocket renders their interactive coin flips.

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?

Never having written a single line of JS before, I decided to tackle this as my first front-end project.