Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Improve JS performance and fix draw order bug#112

Open
Arkanic wants to merge 1 commit intorustwasm:masterfrom
Arkanic:patch-1
Open

Improve JS performance and fix draw order bug#112
Arkanic wants to merge 1 commit intorustwasm:masterfrom
Arkanic:patch-1

Conversation

@Arkanic
Copy link
Copy Markdown

@Arkanic Arkanic commented Jul 24, 2021

  • Improved render performance by bringing both alive + dead cell rendering into one for loop
  • Fixed draw order bug
    • When the canvas click event listener is run and cells are swapped, the canvas re-draws the cells before the grid, which is dissimilar to the main render loop

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant