Lisplog

Blogging in Lisp

Search

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.

billstclair.com/life

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.

Add comment   Edit post   Add post

Previous Posts:

Mac OS X 10.11.4 Beachball on Wake from Sleep
Google Authenticator, in Your Web Browser
Another Old Friend
Firefox Discontinuing Tab Groups
Barlow's Declaration Turns Twenty
Hello Again Old Friend
Mail-in-a-Box Rocks!!
ReadErl Is Live
Audio Hijack 3
Inaka