added random color function to canvas engine