Manipulate trail width to make it slimmer or bigger overtime?

hi, im wondering how I would make a trail change its width to a random width overtime?

all help appreciated!