Sphere, Processing and Arduino

hope you all are safe!!

The hardest part for me in this assignment was to find my port so that processing would read my output.

I choose to use the values from the potentiometer to size a box in a sphere, for aestetic purposes I found it funny to se the two dimensions change in and out of each other.

I also wanted to add two potentiometers to controle both figurs, the even trough I made two floats and assigned two different values as output for the println, I couldn’t figure out how to have processing read┬áseperat┬áthe two values?

Had fun doing it, here is a link to my processing code:


Here is a link to a video of it in action: