terrain generation works, but with artifacts. probably from setting points in the wrong order, i.e. when some corners haven't been set yet.