Widget Wednesdays #16

This evening I thought I would implement Conway’s Game of Life. But after I did that, I decided it needed some sort of graphics twist, so that it wouldn’t just be yet another implementation of Conway’s Game of Life, if you know what I mean.

So I decided that instead of displaying whether any one square was on or off, instead I would display the accumulated number of times that any square happened to be on, so it would look something was growing and coming to life. Then I decided it would be cool to make those squares gradually turn green, to suggest plant life.

Once I committed to this more organic direction, I decided to go all in on making it feel like life emerging. So I made it all happen on a circular disk, rather than the more traditional square.

When the program starts up, I seed the disk with random values (half of the squares are on and the other half are off). So every time you refresh the page, you grow a new life form.

You can see the result here.

Leave a Reply

Your email address will not be published. Required fields are marked *