invert colors image of cos(x^2)