For dimension, what are you trying to change? Do you want to change the size of the Processing sketch, eg with size()?
size()