A hyperspectral camera above a conveyor sees every pixel as a mixture of healthy fruit, bruise and tray. Reduce the spectra with PCA and let the N-FINDR algorithm grow the largest triangle through the pixel cloud to find the pure materials. Change noise, mixing purity, pixel count and the random scene to see when the corners are the true spectra, when they are mixtures, and how abundance error grows. A Blender-built scan line, with numerical checks built in.