Test the functionality of a stained glass affect, combining triangular construction, sin wave size changes, and wave based brightness levels.