Random grid edge traversal (?)

I could be wrong but it seems that what I did do the job


Or quite

1 Like