688 points · by icey · 14y ago · 96 comments
https://plus.google.com/110214848059767137292/posts/WtPBhYJs...
Technical details on the YouTube page:
https://www.youtube.com/watch?v=KJe9H6qS82I
(Two lots of source code available: Stephan's and mine)
Other discussions about this:
Reddit: http://www.reddit.com/r/compsci/comments/118svz/smoothlife_a...
Metafilter: http://www.metafilter.com/120749/Smoothlife
http://code.google.com/p/reaction-diffusion
There's a deep motivation behind all this, which is to try to understand the pattern formation mechanisms that appear in nature and get harnessed by organisms.
Edit Quoth YouTube: "74 minutes on an nVidia GeForce GTX 460" ... maybe not so fun.
I tried the same parameters in the version downloadable at http://sourceforge.net/projects/smoothlife/ and it did not seem to produce similar output to the video either.
Here it is:
2 1 10.0 3.0 10.0 0.100 0.257 0.336 0.365 0.549 2 4 4 0.028 0.147 // SmoothLifeL
Put this at the top of SmoothLifeConfig.txt and run the exe.
You'll notice that some of the parameters (the 2 4 4) control the transition function. This is different to the version in the paper which is smoothglider (which is in the config file) which uses 4 4 4.
With a radius of 10.0 and a timestep of 0.1 I get 186fps on the same graphics card - visually about the same speed as the youtube video.
Admittedly not in a web browser though.
HTML5 gives you WebGL support, which allows you to compile and run GLSL shaders from JavaScript. For something that is heavily shader-oriented like this, it might be possible in the browser.
EDIT: found the paper: http://arxiv.org/pdf/1111.1567v2.pdf
(From the link) The algorithm is explained here: http://www.youtube.com/watch?v=iyTIXRhjXII
Also it's not a normal PDE because ∂f/∂t is permitted to be an arbitrary functional of f restricted to a fixed-diameter neighborhood of the point, not just an infinitesimal neighborhood.
It lets multiple cell colonies fight against each other using a modified ruleset.
(http://news.ycombinator.com/item?id=4642628) which goes to a Youtube video of a game of life in a single line of APL. It's a really nice description of the code too. (It's a sale pitch for dynalog - but the best kind where they're just using the tool to do something neat and not pushing their URLs at you.)
And that was in 2000. I'm sure we could do extremely large boards now.
Are you sure? This isn't obvious to me.
Just check the frontpage again in a few years.
How far do you want to zoom out?
we are getting there - http://www.youtube.com/watch?v=xP5-iIeKXE8
Em, it's called "Game of Life" because the whole point was for it to look and behave _organic (Wikipedia: "Conway was interested in a problem presented in the 1940s by mathematician John von Neumann, who attempted to find a hypothetical machine that could build copies of itself").
You don't confuse the fast rate of change in some Conway implementations (which is a detail) with actual complexity.
I was actually reading that book at the book store for hours, getting quite intrigued, but at the same time deterred by its size. Perhaps I should give it another shot some day.
In fact, a good strategy for becoming familiar with cellular automata as a field is to read reviews of ANKOS by people with degrees[1], collect the works and authors mentioned, and trawl them. You'll learn a lot about a lot that way.
[1]: http://shell.cas.usf.edu/~wclark/ANKOS_reviews.html has an extensive selection of such reviews.
EDIT: It's also worthy of note here that Wolfram would reject the original post's model as not worthwhile, as ANKOS explicitly argues that we should reject continuous models in favor of discrete models; indeed, that is the very definition of his "new kind of science."
(Also, like much of the work in the book, it was written by an uncredited employee rather than Wolfram)
I think the concepts are fascinating but the representation is somewhat meh. Wolfram seems to be quite fond of himself. That ebing said I don't understand why people would not want to read the book because they "don't like" Wolfram.
I recommend it to anyone really it got me thinking about some pretty interesting ideas. Just be open minded and treat it as a "creative tickler" and not a ridid new science :)
Might even be able to do it in a way that works without canvas.
I'm not a fan of electronic music but the music that was picked for the video was perfect.
If you think I was going to read all the pages I could access on the site, so that I could ascertain whether it was worth my while to log in, then you grossly overestimate my commitment to a poorly-explained link I clicked speculatively in a comment.