Terrain Generator

I need help to improve my terrain generation script.
My script generates a terrain, except that this terrain is square. And I would like the edges of the terrain to have a random shape.
Can someone help me to fix this?

1 Like

Check out Perlin noise on the forum.

Perlin noise is very flexible if you know how to use it well. (I don’t)

I already use this system, but I have another idea but I don’t know if it’s possible.
Is there any way to know if a part is on the edge of the map or not?

I think you could do that using coordinates. Assuming you know the dimensions of the map.