you hand the random color down to the class memory ‘col’
but in void display only use
stroke(0);
fill(0);
try
fill(col);
you hand the random color down to the class memory ‘col’
but in void display only use
stroke(0);
fill(0);
try
fill(col);