Hey Guys. Finished up the game of life project last night and had a chance to submit it today.
Here’s the codepen link
And, git repo:
Although the project seems really hard at first glance, it turned out to be really easy for the basic game of life iteration/optimization.
I used divs to create the cells, but along the way I tested Canvas as well. Re rendering the divs takes up high CPU, but the code looks much cleaner and more readable than plain canvas code. I tried to use fabricjs to easy up the canvas code but went back to regular divs (i guess mainly because i wanted to finish everything up and go to sleep )
I also thought about using WebGL:D Any thoughts on this? What to choose: canvas, divs, webgl, svg?