Lost is a good place to start finding your way.
Check out some of the tutorials:
https://processing.org/tutorials/
Processing can talk to Arduino with serial communication:
https://processing.org/reference/libraries/serial/index.html
Check out the examples that come with Processing.
When you add a library to processing there are also examples added.
