Best bet is if you down load processing and do some tutorials, or at least look at the bundled examples especially those concerned with graphics.
Then for talking to the arduino see:-
https://learn.sparkfun.com/tutorials/connecting-arduino-to-processing
Good luck.