//Mapping.
//float myvariable = map( controller, controller minimum, controller maximum, new minimum, new maximum);

example

float sz = map( mouseX, 0, width, .5,5);