Log in

No account? Create an account


Conway's Game of Life

« previous entry | next entry »
4th Dec 2003 | 19:56

I wibbled a bit at this entry in the lisp community, which prompted me to go and dig out my old Life implementation. I'm now wondering what is a fast way of turning a list of co-ordinates into an image on modern hardware and software. Plot them into a bitmap and then use BITBLT primitives to transfer it to the screen? Use a display list mechanism to get the graphics hardware to plot them?

Compared to my lightweight life algorithm the graphics is a beast. OTOH modern computers are so fast that you can probably plot only a tiny fraction of the generations and it'll look OK.

| Leave a comment |

Comments {2}

Andrew Mobbs

from: mobbsy
date: 4th Dec 2003 20:38 (UTC)

Talking of modern graphics and Conway's GoL, have you seen:

Oh, and more seriously, talk to <lj user="fivemack> about using modern graphics cards.

Reply | Thread

Tony Finch

from: fanf
date: 5th Dec 2003 18:05 (UTC)

It's fairly obvious that graphics hardware can implement Life -- see http://www.geocities.com/simesgreen/gllife/ which refers to the OpenGL Programming Guide. It isn't a very good technique for computing large patterns, though.

Reply | Parent | Thread