[Semi-OT] SmoothLife
[Semi-OT] SmoothLife
I found this project, https://sourceforge.net/projects/smoothlife/ that is an implementation of Conway's game of life using floating point values, and generalizing the algorithm. Since one of the implementations is in FreeBasic I think it should be mentioned here.
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
Re: [Semi-OT] SmoothLife
I don't really understand what the code is doing. But it seems to compile and run OK, so
SmoothLifeFB_old.bas seems to be the most interesting of the three FB programs. (Without playing with the code or tweaking the constants, at least.)
But the Main SmoothLife program seems to be more interesting to watch.
Possibly the most helpful intro is his first blog post (SourceForge has a blogging section?!)
https://sourceforge.net/p/smoothlife/bl ... moothlife/
Seems like the basic trick is extending the radius of neighbours (Conway's Game of Life just had the 8 neighbouring pixels). I guess his version integrates over an area with a certain radius.
Whatever it does, it does seem to produce some pretty organic looking results.
https://youtu.be/rG9UXI8IS-o
SmoothLifeFB_old.bas seems to be the most interesting of the three FB programs. (Without playing with the code or tweaking the constants, at least.)
But the Main SmoothLife program seems to be more interesting to watch.
Possibly the most helpful intro is his first blog post (SourceForge has a blogging section?!)
https://sourceforge.net/p/smoothlife/bl ... moothlife/
Seems like the basic trick is extending the radius of neighbours (Conway's Game of Life just had the 8 neighbouring pixels). I guess his version integrates over an area with a certain radius.
Whatever it does, it does seem to produce some pretty organic looking results.
https://youtu.be/rG9UXI8IS-o
Re: [Semi-OT] SmoothLife
Do you know Rosetta?
https://rosettacode.org/wiki/Conway%27s ... #FreeBASIC
They have a lot of FB stuff.
https://rosettacode.org/wiki/Conway%27s ... #FreeBASIC
They have a lot of FB stuff.