|
This program simulates the operation of the VibroHat vibrating hat. The circles arranged around the circumference of the baseball hat represent the vibrating motors on the real hat. The red-filled circle represents the active motor, and the closer the motor gets to its preferred angle, the redder it gets. You can change the orientation of the hat by clicking in the window and dragging around. The default goal state is to vibrate towards north, as represented by the red line pointing up from the hat. You can change the goal angle by pressing the left and right arrow keys, or the number keys.
Source code: VibroHat Built with Processing |