apply charcoal effect image of cos(x)