Use potentiometer to rotate car

Hi, I’m clueless as to how to use potentiometer knob to change an object’s (eg. car) directions / angles. How do I proceed to implement the code in both processing as well as arduino?

Start with some research…

There are Processing resources (tutorials, references, examples, etc.) here:
https://processing.org/

There is a tutorial specifically on this topic to get you started.

There are Arduino resources here:
https://www.arduino.cc/

:)