Game of Life with floating point operations: beautiful Smoothlife

Smoothlife (paper, source code is a floating-point version of the old Game of Life, a classic of evolutionary computing and genetic algorithms. By adding floating point math to the mix, Smoothlife produces an absolutely lovely output:

SmoothLife is a family of rules created by Stephan Rafler. It was designed as a continuous version of Conway's Game of Life - using floating point values instead of integers. This rule is SmoothLifeL which supports many interesting phenomena such as gliders that can travel in any direction, rotating pairs of gliders, wickstretchers and the appearance of elastic tension in the 'cords' that join the blobs.

(via JWZ)

Discuss

11 Responses to “Game of Life with floating point operations: beautiful Smoothlife”

  1. teleny says:

    My bacterial friend, Yersinia, thought this was as close to porn as a unicellular can manage.

    • DevinC says:

      I miss Yersinia.  She had that one breakout hit in Europe for a couple of years, but since then the only time I ever hear of her is in a “Where are they now?” context.  

  2. Doug Shawhan says:

    If the algorithm is as simple as the original life game, there are going to be a lot of palm prints on a lot of heads. :-)

  3. corydodt says:

    Reminds me of fungal growth, perhaps slime mold.

  4. PrettyBoyTim says:

    I want a GPU-powered version of that running fullscreen as a screensaver.

    Although I’ll feel a bit guilty that those cycles aren’t going to better use.

  5. Jacob Ewing says:

    I just had a serious shudder looking at the number of “goto” statements in that code.

  6. tubacat says:

    I guess beauty’s in the eye, etc. Personally, I prefer my memory of multicolored gliders sailing along the TV screen when I first played with Life on my TI 99…

Leave a Reply