Processing is an awesome programming language that creates graphics and pictures that you can move in fun ways across the computer screen. Do you remember the tilt switch. It was an electrical device capable of controlling electronic devices, based on its orientation or position. If you combine the Processing language with a tilt switch, you can create computer graphics that move across the screen when you make simple body gestures like waving a hand or raising and lowering an arm! In this project, a white circle will move from side to side on your computer screen as you rotate the tilt switch.

The electronic components to build this device are shown in the Parts List. The Terrific Tilt Switch is shown in Figure 18-1.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *