Click a pocket to bet on it, and press space to throw the ball.
Everything here is made from the engine's shape hooks. One pocket is a slice of a flat ring, a useLatheGeometry turned a 37th of the way round; thirty-seven of them, each turned to its place with its colour painted on, are made one shape with mergeGeometries: one draw for the whole ring. The separators are small boxes with their edges rounded (useCubeGeometry with a bevel), and the turret in the middle is a lathe whose edges stay hard where its profile turns sharply.
The click is a castRay from the pointer into the scene. It meets the wheel as it is drawn, turning, and the triangle it hits says which pocket it is in.