I was able to use the algorithm (SEE attachment) to create the hammered pattern in the picture attached.
How do I change the sphere to a free form bump? See pic.