$begingroup$

I have been attempting to make an algorithm to procedurally generate a path from a tile map hooked up beneath.

I am simply in search of a technique to go about doing this.

Path Tilemap

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

$endgroup$

4