This is a cool little video of a project that is very similar to what I’m trying to do. Its a game of pong being played on a white board.
The ball is being projected onto the whiteboard and is able to detect when it comes into contact with the black lines. They draw lines to bounce the ball back to each other.