Leap Motion’s Project North Star is a wonderful experimental platform for augmented reality applications. It is a headset with great field-of-view, refresh rate, and resolution to give users an immersive experience. The company has published a new video that shows how amazing playing table tennis can be with the headset.
You can use this game to practice and challenge yourself against an AI opponent. As Johnathon Selstad explains:
Under the hood, the AI paddle uses the same action/reaction logic to calculate the reflected trajectory of the ball as your paddle. In other words, its motions must to be physically correct to play the game. To this end, we implemented a kinematic formulation of the Cubic Bezier Curve to naturally drive the AI’s paddle to the correct position and velocity at the correct time.