\$\begingroup\$

I’ve been trying to make an algorithm to procedurally generate a path from a tile map attached below.

I’m just looking for a method to go about doing this.

Path Tilemap

EDIT: I want to make a path for a tile map like generate a path then output to a tile map. Pardon the drawing but this is kinda what I want it to look like:
[Good Example
I don’t want it to be something like this:
[Bad Example

\$\endgroup\$

4