Skip to content

Improve solution frame rate #1

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

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

jwdunn1
Copy link

@jwdunn1 jwdunn1 commented Jul 28, 2019

Awesome work on this! For your consideration: I optimized the solution walk by painting only the next cell . . . eliminating the painting of the entire maze on each animation frame. Works especially well when the maze is 200x200. Also commented the diagonal neighbors for a little more clarity on the rendered path.

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

Successfully merging this pull request may close these issues.

1 participant