For this sketch, I wanted to experiment with creating an almost glittery, polychromatic effect by playing with the effect of the pitch and roll values on my Processing sketch. The Processing sketch was derived from Daniel Schiffman’s “Purple Rain” coding tutorial, which I used to practise the application of object classes and movement. I then tweaked it and asked the code to read the pitch and roll values from the Arduino to alter the colour and size respectively.
The act of moving the Arduino to create these visuals felt like I was playing with a kaleidoscope or snowglobe and I would have liked to experiment more with the direction and speed of the particles as well.
The code I used for the Arduino was similar to the one we practised in class.
Here’s the code for the sketch: https://github.com/anushamenon/Sketch-5