The cool FPGA projects just won’t let up over at Cornell University. In this one, we’ve got students Chris Fairfax, Matheus Ogleari, and Aadeetya Shreedha with their realtime edge-detection physics-based ball game implimented on an Altera DE-2 dev board. This is some seriously cool design.
The project uses the Sobel operator to detect the edges of a map drawn on a whiteboard. A physics engine implemented on a Pancake processor controls the motion of a ball on the map. The map and the ball are displayed on a VGA screen.
The game is played by controlling the switches and keys on the DE2 development board. Player 1 draws an arbitrary number of straight lines on the map. Player 1 and Player 2 each try and move the ball to the destination. The ball’s motion is controlled by a fixed impulse that can be applied at any angle. The number of impulses required to reach the destination is recorded and displayed on a seven segment display. The player who applies the minimum number of impulses to the ball wins. Player 2 then draws the obstacles on the map, and the game proceeds as before.
So head on over to the project page to check out a lot of really good photos, info on how they designed everything from the physics engine to the system architecture, and a whole lot more!
- Augmented Reality Ball Game (Cornell Student Projects)