Edit Quoth YouTube: "74 minutes on an nVidia GeForce GTX 460" ... maybe not so fun.
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.
http://en.wikipedia.org/wiki/Convolution
As it says on that page, FFT is often used for convolution because it is fast: after applying a discrete Fourier transform to the kernel and the image, the resulting images must only be multiplied together before applying an inverse FFT.
I wonder if there is an application of Gershgorin's Disc theorem here?
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.