Algorithm

Random Point Stage

Randomly generate some points on the plane, the more points, the richer the terrain

Point relaxation

Prevent some points from being too close together, resulting in sharp and abrupt terrain changes.