Welcome!
Reference these methods in the Processing reference.
See example code for making a painting with random() below.