This programme uses exponential smoothing to generate the outlines of the mountains: https://en.wikipedia.org/wiki/Exponential_smoothing