Live data from Hacker News

Particle Life

github.com

51–60 of 97 posts

Re: Particle Life

#51
post #11

This is fascinating. It's like a more complex game of life than John connoway's. It's crazy that little creatures seem to form at such small scales easily with these parameters. It's almost like the parameters of our real universe intentionally made it difficult to form life, rather than easy as some people seem to think.

There's no reason to believe life is particularly rare in the universe either, though.

[deleted]

Re: Particle Life

#53

This is fascinating. It's like a more complex game of life than John connoway's. It's crazy that little creatures seem to form at such small scales easily with these parameters. It's almost like the parameters of our real universe intentionally made it difficult to form life, rather than easy as some people seem to think.

They are less creatures than molecules. Now, mind you, as some complex sets of rules approach steady state I can pretend they are far-flung stellar empires with colors ascribed to each type of system of government (and have). What is fooling you is the motion. This is sustained because the system has no conservation principles built in. You can make A-B pairs where B is attracted to A, A is repelled by B, and off the…

This already does look like it has falloff... mutual attractors clearly seem more attracted to nearby particles than to larger groups further away.

Re: Particle Life

#56
If anyone is more interested in this kind of stuff, then I can recommend checking out "Smooth-life" and "Lenia", the latter of which has a couple different, more complex variants... "Flow Lenia" or "Particle Lenia" come to mind in relation to this particular (pun intended) topic.

Re: Particle Life

#57
That's a funny coincidence, I recently made something similar: https://webgl-particle-life.netlify.app/ (source: https://github.com/ath92/particle-life)

This version does everything in webgl shaders and keeps all state for the simulation in textures / uniforms. This allows it to simulate and draw more particles. Unfortunately it may not run on all devices because it uses some less supported webgl extensions.

Re: Particle Life

#59

Earlier quoted context omitted.

They are less creatures than molecules. Now, mind you, as some complex sets of rules approach steady state I can pretend they are far-flung stellar empires with colors ascribed to each type of system of government (and have). What is fooling you is the motion. This is sustained because the system has no conservation principles built in. You can make A-B pairs where B is attracted to A, A is repelled by B, and off the…

This already does look like it has falloff... mutual attractors clearly seem more attracted to nearby particles than to larger groups further away.

I assume it falls off at inverse of r squared, which is why the person you're replying to is mentioning other functions besides that one.

Re: Particle Life

#60
I watched the Youtube video on this yesterday and have been itching to try a webgl shader implementation ever since.
Post reply on HN