use seedrandom
set seed
not using deprecated calls
vertex colours per vertex