Variable to read an array of numbers in p5?

Thanks again Jeremy!
i had the intuition that map might be able to help me cause in the object oriented world it has been used for this as well though I have no clue about how to implement this.
the map-based waves example is a bit intimidating to be honest but I think i get its principle.
thank you lots!

1 Like