sholloway / cells

A Javascript module for simulating Conway's Game of Life in a browser."
https://samuelholloway.com/cells
MIT License
1 stars 0 forks source link

Separate the simulation iterations from the rendering loop. #5

Closed sholloway closed 5 years ago

sholloway commented 6 years ago

An iteration in the simulation should not be directly tied to a rendering loop. The app should have a fixed target frame rate. The number of iterations ran should not automatically be the frame rate.

sholloway commented 6 years ago

Possibly leverage Web Workers.

sholloway commented 6 years ago

Adopt:

sholloway commented 5 years ago

Closed by commit: 12fb1058400377333ad1aff866a9a4d1fbf1528b