Is there ofRandom with SEED value?

Hi,

I hope to have a random value but random that generate same value based on its SEED value?

Thanks,

Could you call ofSeedRandom(<#int val#>) and then ofRandom() directly after?

somehow it did not work out. so I just went srand() and rand()