News for hackers. Stuff that matters.
Re:The Life Engine by 0x174 on Thursday April 06, 2023 @05:09PM (#35474503)
The author has a YouTube channel and speaks at length about cellular automata and other artificial intelligence. It's a good time! (https://www.youtube.com/@EmergentGarden)
Re:The Life Engine by cactusplant7374 on Thursday April 06, 2023 @09:05PM (#35476772)
Subscribed. YouTube never shows me videos I actually want to watch so I forget about promising channels unfortunately.
Re:The Life Engine by Method-X on Thursday April 06, 2023 @06:29PM (#35475402)
This would make for an awesome screen saver.
Re:The Life Engine by Waterluvian on Thursday April 06, 2023 @06:41PM (#35475507)
Now I’m itching to muck with cellular automata. Anyone have any recommendations for engines (any language)?
Re:The Life Engine by pphysch on Thursday April 06, 2023 @07:38PM (#35476047)
putchar
Re:The Life Engine by Waterluvian on Thursday April 06, 2023 @07:41PM (#35476075)
Ahahaha. I mean with all the typical optimizations handled. Quadtree and such.
Re:The Life Engine by xwdv on Thursday April 06, 2023 @07:42PM (#35476102)
You don’t really need an engine. You just need the right data structure to represent a cell and simple methods.

What you may be asking about is visualization. In this case, just use simple drawning functions in a graphics library that will draw a pixel to a screen canvas at the cells coordinates. Update on each tick.

Re:The Life Engine by Avicebron on Thursday April 06, 2023 @07:53PM (#35476185)
I'd use js/typescript/webpack if I wanted to set up something quick
Re:The Life Engine by JoeyBananas on Thursday April 06, 2023 @10:25PM (#35477272)
the best program I'm aware of is called Golly
Re:The Life Engine by d11z on Thursday April 06, 2023 @11:17PM (#35477620)
I agree Golly is the best for specifically cellular automata, but I came across this program called Visions of Chaos and I was shocked to see it essentially supports any and all types of simulation/generative/procedural/AI solvers and renderers OOTB (it downloads them as needed the first time you use each one) and it seems to have new updates almost every time I open the software.

Seriously amazing for not only fun but easy access to preconfigured solvers if you want to quickly test out ideas, plus it’s packed with presets too. I’ve racked up many hours using it since finding out about it a few months ago, highly recommend.

Their website lists all the features right on the homepage: https://www.softology.pro/voc.htm

It even has all the latest in ML, I use it to launch Stable Diffusion and CLIP all the time.

Re:The Life Engine by ineptech on Friday April 07, 2023 @11:09AM (#35482363)
Man, you weren't kidding, thanks for posting this.
Re:The Life Engine by briga on Thursday April 06, 2023 @09:06PM (#35476784)
Reminds me of a Cellular Automata style simulation program I wrote years ago https://youtu.be/RLTL3r55CP0

This one seems quite a bit more sophisticated but the dynamics are very similar.

If you ever get the chance I recommend writing your own life simulator program, it’s great fun! It also demonstrates how easy it is to produce complex behavior from relatively simple instructions

Re:The Life Engine by phailhaus on Thursday April 06, 2023 @09:15PM (#35476841)
Not sure what's up, I just see a blank blue screen and nothing ever happens. Chrome 111.0.5563.147.
Re:The Life Engine by phailhaus on Friday April 07, 2023 @12:49AM (#35478140)
Update: don't use a VPN.
Re:The Life Engine by dananjaya86 on Friday April 07, 2023 @04:37AM (#35479562)
I use a VPN (Mullvad) and confirm that it works (MS Edge on Windows 11).
Re:The Life Engine by buescher on Friday April 07, 2023 @10:47AM (#35482100)
Neat. I thought it was a peculiar visualization of Conway's Life at first, but it's got a more complex set of rules. The presentation and controls are pretty good. I'd like to be able to see which organism type is which, and especially be able to zoom in on any new ones.

It's been running for me for a few minutes at top speed and it hasn't gone over 8 celled organisms, but it had an explosion at some point where it went from just a few species to over 200. I wonder if the algorithm could be memoized like in hashlife.