For this week's assignment I made a broken musical box - the user can play while dragging the mouse. I feel that the Arry concept offers a variety of interesting possibilities and I am very interested in getting comfortable with it.

I do feel like I still need a lot of help building the "structure" of the code I'm referring to. And I'm wandering what I can practice that will help me be able to design the code just by myself.

In the first step I made this box with 3 notes that create a melody (I feel that from the perspective of the "experience" - this is currently most successful one) -

https://editor.p5js.org/mbs9316/full/KYCE4k_i0

In the second step I added different piano notes to each group of row cells -

https://editor.p5js.org/mbs9316/full/PWKwtzATe

In the third part I added the notes randomly, and it sounds bad, like a cat walking on a piano. My next step will be to split the screen into four parts and include different musical instruments.

https://editor.p5js.org/mbs9316/full/UE-xgIcVB