@atomic
my idea was for the input to be a png file, grayscale values denoting height, and the output to be a modified png file, grayscale values denoting the height. i don't know what you need the erosion simulation thing for so not sure if what i had in mine is what you had in mind?