Our fourth lab in Human-Computer Interfaces is to create a digital etch-a-sketch. He provides us with some tools:
- Parallax BASIC Stamp with the Board of Education (which they also have in a smooth USB flavor
- Two dial potentiometers mounted in a convenient plastic case
- Some sample Processing code for reading values from the board over serial and drawing them to the screen, etch-a-sketch style (see the code)
The second component of the lab is to add hardware to make the BASIC Stamp into a musical instrument by programming it to emit MIDI output. We haven't started thinking about that part yet, though.
I'm working on this project with Mason and Don.
Here are some of the Processing libraries we've extracted from our graphics demos.