Side Quest - Visualizing Analog Values with Processing
As I started on the next sensor, I realized that displaying analog values as scrolling numbers in a serial console was going to be boring. I started down the path of using Tkinter in Python, but decided that learning a whole new GUI framework was more than I wanted for this project. I may revisit that in the future, because this is something I definitely want to add to my knowledge base for future projects. Instead, I decided to go with something in the Arduino Cinematic Universe and see what Processing could do. Using an example I found online, I made some tweaks to work with my plans better. This program draws a gray circle in the middle of a window with a diameter equal to half the window. It listens on a serial port at 115,200 baud for either a single number on a line or a pair of numbers separated by a comma on a line. If there is just one value, the circle scales up or down by that value. If there are two values, it is drawn as an ellipse with each radius based on the two v...