generate a heightmap and use palette to colorized the map