If anyone is following I was able to fix my code. I THINK what was wrong is that I have a fundamental misunderstanding about how the draw() function works in Processing. It seems like draw() needs to actually start and stop in order to draw something to the screen. In my code above, draw() only runs once but code runs repeatedly within a while loop inside of draw(). Therefore, everything was working except the actual graph drawn to the screen. When my code finally stopped, the graph would suddenly appear. I rewrote my code so that the meat of the code was inside of it’s own function in order to allow draw() to start and stop as fast as possible. Unless the processing veterans object, the lesson of this topic is to always allow draw() to start and stop.
              
              
              1 Like