Use Turbo Mode+Turbowarp for faster generation, arrow keys to move around the map. Perlin noise works by creating a grid with a random direction at each intersection. This means that at every intersection, you have a value of zero (sand)! By averaging any certain pixels point relative to the previously mentioned directions you can assign it a height. Drawing is just assigning the height a color.
I used a tutorial by finding pepper to help make this.