![]() I also upped the frame rate from 1Hz to 4Hz. I changed the cell drawing to be slightly transparent (90% opaque) so that the cell does not disappear after a single "day", but takes two, and the same with showing up, so you can see there are shadow type things on the screen, they're intentional. Thus it&039 s a model of the evolution of systems. So, here is the source, and Snow Leopard binary for the proper version. Claim: Conway&039 s game of life works as a rough analogy for how complex systems evolve based on a simple rule-set. Afterward, when I ran it, cells would just die out until there were a few that were stable, and it would do nothing, this was fixed after I found out that conway's is supposed to check eight neighbours, and not four. I can't remember how I fixed that though. First, it was just switching between two boards, once I noticed this, I commented out the stuff that should have been checking each cell to decide if it's alive or not, and it did the exact same thing. Well, I found out why it looked so boring I was doing it wrong. Posted: Sun 2:21 am Post subject: Re: Conway's Game of Life (Mac screensaver) The Lasting Lessons of John Conway’s Game of Life Fifty years on, the mathematician’s best known (and, to him, least favorite) creation confirms that uncertainty is the only certainty. I'll try building tomorrow, unless you can upload the 10.5 one for me. I'm on intel, so that won't be the issue. Draw on the canvas or hit Randomize to provide an. Posted: Sat 10:34 pm Post subject: RE:Conway\'s Game of Life (Mac screensaver) It defaults to John Conways Game of Life but other variations can be used. Just so you know, you can't build and run a screensaver from xcode (as far as I can tell), you have to build the project, then install the screensaver from finder in the build directory. It doesn't use any special libraries, so just the Apple developer tools should be enough to build it (I'm pretty sure the package is on the installation DVD, if not you should be able to find them online). Okay, I'm not sure how to do that I tried changing the target SDK to 10.5, but that broke it on my computer, same with setting it to create a universal binary.īut here is the source with an xcode project. U can play around with it, change the cursor & canvas size, zoom in and out, and save and load stuff. ![]() Posted: Sat 10:27 pm Post subject: Re: Conway's Game of Life (Mac screensaver) A random little GPU based implementation of Conways Game of Life I made :D. Posted: Sat 10:15 pm Post subject: RE:Conway\'s Game of Life (Mac screensaver)Īre you on a power PC processor? I may have built it only for x86_64, I'll try building a universal binary, and see if that would work. Is this incompatable with 10.5.*? Snow leopard only? I double-clicked the icon, which promped me to install it, and after doing that I went to desktop & screensaver and trying to test it it says it can't load bundle. Posted: Sat 10:06 pm Post subject: RE:Conway\'s Game of Life (Mac screensaver) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |