A billiard game based on three.js