Live data from Hacker News

Conway's Game of Life, using floating point values instead of integers

jwz.org

101–104 of 104 posts

Re: Conway's Game of Life, using floating point values instead of integers

#102
post #100

Does anyone have a JavaScript implementation of the paper? It looks like it would be really fun to play with in . Edit Quoth YouTube: "74 minutes on an nVidia GeForce GTX 460" ... maybe not so fun.

Here you go: http://jsfiddle.net/CSyUb/

Good job. Any idea why using the parameters specified in the video description of https://www.youtube.com/watch?v=KJe9H6qS82I do not seem to replicate the output of the video? http://jsfiddle.net/CSyUb/45/

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.

Re: Conway's Game of Life, using floating point values instead of integers

#103
post #100

Earlier quoted context omitted.

Here you go: http://jsfiddle.net/CSyUb/

Good job. Any idea why using the parameters specified in the video description of https://www.youtube.com/watch?v=KJe9H6qS82I do not seem to replicate the output of the video? http://jsfiddle.net/CSyUb/45/ 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.

They are using smooth time integration, where I am using the discrete scheme described in the arxiv paper. The switch isn't that difficult though, since it just involves modifying a single line of the shader.

Re: Conway's Game of Life, using floating point values instead of integers

#104
post #100

Earlier quoted context omitted.

Here you go: http://jsfiddle.net/CSyUb/

Good job. Any idea why using the parameters specified in the video description of https://www.youtube.com/watch?v=KJe9H6qS82I do not seem to replicate the output of the video? http://jsfiddle.net/CSyUb/45/ 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.

The SmoothLifeConfig.txt doesn't have a line for SmoothLifeL - it should, Stephan!

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.

Post reply on HN