Ok. There has been quite a bit of progress made for our p5 sketch and a decent amount made from the physical computing side. For our sketch, we have now color coded the balls signaling the different pitches that are being thrown. These colors are still in flux as we have not made a key yet that will apply to all of the pitchers. However, the goal is to have each pitch assigned to a different color and show such in the pitchers arsenal (which will be displayed in the top left corner).
A big step was also made (with the gracious help of Kat Sullivan) to figure out how to display the frequency of each pitch thrown by each of our 5 major leaguers. When compiling our data, we found out how often they threw each pitch during their most dominant season. In our json file, we compiled those numbers and placed them accordingly. Our sketch essentially divides each of the pitches by 10 to convert it into a rounded percentage close to what the actually number is for the pitcher. For example, Thor throws his fastball at close to a 40% rate and his sinker at about 20%. Those numbers are represented by single digits and randomized inside the draw function.
From the PComp side, we were able to get the button to toggle between the five pitchers for the live mode using bluetooth. The distance reaches quite far, but we obviously won’t need that sort of distance.
We would like to have the visuals completed by the weekend along with combining all of the pitchers into one large file as opposed to the five which they currently reside. We also need to figure out a way to have three different modes… still not quite sure how we go about that yet. Also, this weekend will involve messing around with the FSR’s and getting them to at least begin to work in parallel as this will be the main component of our home base.