I was speculating on how Equations could be used to create a ripple-like effect in a reflection. I used an image of a Mill on the River Avon at Tewkesbury. I flipped the image vertically and then applied Filter > Distort > Equations as follows.
The main effect is to vary the position of each pixel on the y-axis in a sinusoidal fashion, so I began with:
y=y+100*sin(2*360*y/h)
The 100 is just a scaling factor for now. This had the right effect but was the same right across the image, so I added a cosine function which would vary the magnitude across the x-axis:
y=y+100*cos(10*x/w)*sin(2*360*y/h)
Again the 10 here is a scaling factor. The result was:
I should be able to tweak this into a macro where the user could vary the amplitude of the ripple, and the amplitude of the horizontal variation.
A further tweak could be to add a perspective effect so that the ripples nearer the observer look larger than those further away.
What do possible users think. Would this be a useful macro or are there easier ways to get the same effect?
John