Conway's Life in JavaScript
Submitted by Bill St. Clair on Thu, 26 May 2016 11:31:13 GMT
I was awake in the middle of the night a couple days back, so I spent two hours and wrote a minimal version of Conway's Life in JavaScript. Lots of potential work to do, but probably better to just use Golly, if my renewed interest in Life lasts for long.
I wrote my first Life in 1976 or thereabouts, in Fortran on a PDP-11/10 under DOS-11. Its display was via three D/A converters driving X, Y, and brightness on a video monitor. It got slow and warbly when lots of cells were full, due to having to visit each cell for a while to pump the brightness, wait for the eye to see it, then go to the next cell.