Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
228 B
1
Indexable
void renderWave1() { 
  noStroke(); 
  fill(255); 
  // A simple way to draw the wave with an ellipse at each location 
  for (int x = 0; x < yvalues1.length; x++) { 
    ellipse(x*xspacing1, height/2+yvalues1[x], 16, 16); 
  }