This sketch uses an array to hold line height values, and then changes those values to show oscillating lines.
This is a companion discussion topic for the original entry at https://happycoding.io/examples/p5js/arrays/oscillating-lines
This sketch uses an array to hold line height values, and then changes those values to show oscillating lines.