Processing to make 2 array in one

Hello,

Welcome to the forum.

There is a discussion of arrays and two-dimensional arrays here:

It is not clear what you are trying to do; I don’t want to guess.
Write some code and post it and we can discuss further.

Additional resources:

https://www.youtube.com/watch?v=h4ApLHe8tbk (searched coding train for)
https://www.youtube.com/watch?v=NptnmWvkbTw (searched coding train array)

:)