Settings

Theme

Show HN: Simulating coin flips like Pokemon TCG Pocket using Three.js

blog.tilschuenemann.de

1 points by tilschuenemann 10 months ago · 0 comments · 1 min read

Reader

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.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection