Aida: Choreographed Pyramid Lights
During a show, the pyramid operated both automatically and manually, in a way. There were individual patterned sequences of lights, called chases, that I preprogrammed into the code. The actual choreography for the two songs consisted of stringing these chases together in an appealing order and putting time values with them that matched the BPM of the songs. These chases looped automatically with the given time values. To proceed from one chase to another during the songs, I would click a button from the back of the house, where I was running sound, on the appropriate beat in the song. I made the button work wirelessly by hacking a doorbell for the purpose.
Because the pyramid was used in two songs, there was a switch that would be flipped to determine which program the Arduino would use. Since I didn't have any sort of switch handy to use for this, I found a coffin lock, which we use to lock set pieces together, connected a pair of wires to it, and voilà. It worked wonderfully. It was actually kind of nice to require the key to switch between the songs. It prevented in accidental switching during movement of the pieces or from actors tripping over them in the cramped backstage conditions.
This code is a bit much. I'm going to spare us all the trouble of trying to explain it, but it’s here if anyone fancies glancing at it.
Here are the results. This was probably one of my favorite effects to make so far. I think it turned out really well.