Just a simple set up were the pValue or knob controls tone, and kValue or photocell controls beat. I also set it to read the kValue on the screen forever while pressing the A button gives the current pValue.
Code: https://editor.p5js.org/Kevin64/sketches/kiR-2WSS1 Here I have made a lot of adjustments from the previous version, rather than sliding boxes i made the objects bouncing balls, added game stats,
Code: https://editor.p5js.org/Kevin64/sketches/6xnoLDI2Q This version is very simple, only having 2 object enemy's of the same shape and size, and no game over condition. But i think it sill captures
For the final project i am making a game were you use the arrow keys to move around a character while objects fly across the screen which you must dodge, if the character collides with an object it is