It uses Perlin noise for simple 2D world generation. It can be useful in games like Civilization or 2D Minecraft or Terraria)
99% of code is by @Java_Programmer, I just changed colors, made seed input and changed resolution.