This is an implementation of the diamond-square terrain generation algorithm in Elm.
DiamondSquare.elm implements the algorithm. Main.elm does some WebGL stuff to display it.
index.html is the output of the Elm compiler.
You can view the project here.