title: How do I automatically create an array of objects (the number of which is determined by user input)
body: <p>I am writing a program where I am making a dynamic bar graph which processing reads in from Arduino. From the Arduino side, I have serial input, which I can read from processing and store into an array. </p>
  
  <p>I have created a class for each bar of a bar graph, however I want to make this scalable. If I have 100 bars on the bar graph, is there a way to make 100 different objects automatically?</p>