Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path Centerlines instead of walls? #3

Open
clm42 opened this issue Sep 15, 2019 · 2 comments
Open

Path Centerlines instead of walls? #3

clm42 opened this issue Sep 15, 2019 · 2 comments

Comments

@clm42
Copy link

clm42 commented Sep 15, 2019

Could this be adapted to draw the centerline of the path rather than the walls of the path?

@emresururi
Copy link
Contributor

Hi, I've written a code (using this wonderful Maze class by Christian Hill) where it calculates the exit and indicates the solution via drawing the center-line of the path, if that is what you were asking...

It is implemented in a game-like environment incorporating PyGame, here is a snapshot:

perfect_maze_solver

You can access the code from my repository: https://github.com/emresururi/maze

@clm42
Copy link
Author

clm42 commented Aug 10, 2020

I'd like all the paths as their center line rather than having the paths with walls. I'm working on a CNC project and my thought is to have the path of each line written to gcode directly rather than to the SVG image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants