trapping demonstration grayscale