Skip to content

Improve solution frame rate#1

Open
jwdunn1 wants to merge 1 commit intodmaydan:gh-pagesfrom
jwdunn1:gh-pages
Open

Improve solution frame rate#1
jwdunn1 wants to merge 1 commit intodmaydan:gh-pagesfrom
jwdunn1:gh-pages

Conversation

@jwdunn1
Copy link
Copy Markdown

@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