5 comments

[ 2.8 ms ] story [ 22.4 ms ] thread
This is great. Lovely little demo!
Any writeup / explanation available? This is really great!
I just finished writing the code a couple hours ago, so I don't have any detailed explanation at the moment. However, it is open source, so you can always check the code: https://github.com/SCLeoX/non-grid-path-finder.

I will admit though, it is not super readable, because it really lacks a lot of comments/documentation.

How do I finish drawing an obstacle?
Press O (capital o), then click and draw the corners of a closed polygon. You have to click on the original corner to close it.