Asymmetrically interacting particles - Python version
ฝัง
- เผยแพร่เมื่อ 11 เม.ย. 2020
- Source code (python):
github.com/ebokai/particle_ga...
The code for the version in this video is in the /old folder. Also check out the new C++ version that allows real-time rendering of more particles:
• Asymmetrically interac...
Inspired by this video by CodeParade
• Particle Life - A Game...
Also have a look here for more examples
softologyblog.wordpress.com/2...
www.ventrella.com/Clusters/ - วิทยาศาสตร์และเทคโนโลยี
That one cluster needs to chill the heck out.
true he is literally devouring everyone
i think he had an overdose of every drug at once
I believe that happens because of:
conservation of momentum
no friction
non-existing Newton's third law
i hate that i know the one youre talking about
The One, he's moving like one of the agents.
I love how there's just this cell that has no purpose but to dance hardbass.
It has a purpose. Destroying everything to the sound of hardbass.
lmao
its even funnier, considering how well made and thought through all the other cells look (ability to move/steer/etc.)
looks like heart beats. some them look like they're about to have a heart attack
Very cool! I think maybe you can add an asymptotique friction (to avoid build up of too much chaotique structures, slow down things that are moving too fast) and a negative friction to accelerate in the direction of their motion standing particles (promoting diffusions and encounter).
Awesome idea! As you can see in the video I had some trouble when particles get to close and you get this erratic wild behavior. It is reduced if you take shorter integration steps but I think your friction idea would do the trick. Thanks!
@@sciencemathematics Yes friction is a quick and easy trick (In fact I am more curious about the effect of negative friction for low speed particles to avoid stagnation than positive friction for too quick). If you have trooble when they are too close maybe set up a minimal distance of interaction to avoid singularity if your force may be in 1/r etc... (maybe it's already done). I'll probably take the code of that this month to test various things to speed it up.
@@PasseScience I think the main reason I get this wild behavior is because I use a repulsion force to avoid overlapping particles. I think when the cluster of particles becomes large, there is a tug of war between the attracting force from the surrounding particles and the repulsive force from the nearest particles. I think this results in a change in the sign of the force at each timestep which produces these wild oscillations. Perhaps I place a limit on the magnitude of the allowed force to reduce this effect.
@@sciencemathematics did you ever get around to trying out either of these two? I'm curious if the cells will actually start to respond to their environment after running the sim long enough in a stabler and larger environment
all the other cells minding their business and then there's the one listening to eurobeat and going crazy on the cellular dance floor
He's driftin like a champ tho
ignore the pulsating demon he won't hurt you (yet)
The Snake like Cluster and The Pulsing one looks the most interesting.
And when they collided at the end it looks as if they're alive.
I love it
The incredible thing is that you can clearly see patterns, types of structures that are stable in a sense and then others that are erratic yet solid masses. The forces cause motion that appear organic in nature.
This is a very nice simulation of how single-cellular life could look like.
Thanks for leaving the axes in, very important for studying the behaviour of these particloids
Hard to understate how impressive this is. Demonstrates well that a set of rules simple enough to write down on a few sheets of notebook paper can govern nonliving particles to create "life". I believe research involving programs of this kind will become instrumental in solving the origin of life.
If you combine the RNA world idea with this I think you can get a great hypothesis on the origin of life. Our world is amazing!
*The bouncy ball encompasses all*
That's one of the most impressive takes on the "Game of Life" I've ever seen. Makes me think about cellular automata in a different way. I wasn't sure if this was pre-rendered until I peeked into the source code and realized it was a literal particle simulation with forces and everything. It's really good. You can practically see the forces expressed as invisible bubbles pushing the visible particles around (which is how I like to think of Conway's Game too) like one would imagine magnetic, strong/weak nuclear, and other forces to do. Really neat. Those Python data visualization libraries are incredible.
The nervously spazzing cell cluster is like greed and the concept of unlimited growth which completely fucks up peace in it's enviroment
This is by far the most visually impressive version of this idea published on youtube. Well done, you've really inspired me to make one myself.
See you guys in ten years when this gets recommended
It looks like they are evolving throughout generations
Now is absolutely clear: our universe is a cellular automaton.
And that's only one half of our perception! 😀
@@spencersmith4305 It needs wide reflections about you commented here.
Stephen Wolfram says YES.
rather cellular automation is a much simplified version of the fundamental mechanics of our universe, very interesting nontheless.
Obviously. I'm surprised it took you this long to figure out.
1:15 imagine you are the blob at x-20 (ish) y 25 and you just see that... thing... vibrating it’s surroundings into oblivion...
that one cluster was listening to gaming intro music
The one "creature seem to be eating other creatures but not the yellow detritus that looked like pond scum, and there were two fish like things that were also growing. Fascinating stuff.
Outstanding! 👌
This is awesome. Where can I download this? I hope you continue to develop this.
pastebin.com/hN73caUt
This pulsating cluster looks like an aggressive swarm of all sorts of debris that has been swallowed up by anything that didn't repel it well enough
Doesn't really have anything to do with Conway's Game of Life in particular, but it is very cool.
Thanks for including the source!
That one cluster kind of found a way to get more material by esentially gyriating extremely fast, It was esentially using a glitch to get around to consume more. Quite cool behavior (even if there is really none)
The blue one near the end that just swam around any obstacle it hit.
that big one is so energetic due to conservation of linear momentum
This is amazing
This, is exactly how our universe is, but a bit more complex
Everyone talking about that one cluster doing backflips and devouring the ecosystem around it
this is fantastic.
0:28 and so, the orange green parasite has started it all...
This is beautiful
Hello, few questions: Is the video real time? (and nothing in the program to artificially slowing it down?). How many particles are there on screen? Do you use CPU or GPU? and last question: when looking for interaction between particles do you scan quadratically ("For each" inside a "for each", NxN complexity) or is there a trick or a specific structure like BSP-tree etc... ?
This is incredible!!
0:22 That's me at a buffet.
Interesting, this setup results in what looks like a lifecycle of sorts
Too amazing
"Buh buh buh you cant! BEcuz ENDROPEY!"
Green nucleus unstable and will aways be, blue nucleus stable and will stay calm until to big, yellow nucleus stable as well and cell doesn't move unless touched and will follow blue if no Green particals around it
1:15 bonjour to you too
Wow, this is really something.
the best Particle Game of Life I've ever seen
I tried your script but it looked a little different
how can I make the same as in video
can you do a tutorial
You have to play around a bit with the parameters. I will look into doing a tutorial. Great idea!
@@sciencemathematics thanks, you are the best 😍
@@sciencemathematics my god! subscribed!
I don't how this give me a huge existencial crisis :')
blue gloop ball, no! you became that which you sought to avoid!
static and evolved structures look cool, but you really need to find a way to calm that dude down
Bro you made actual life, keep that running on a large scale in 3d
In theory if you had a large enough simulation you would probably eventually start to develop intelligent life
Given you have billions of years to spare
@@lordtomlluckrahthegreat9014 Nah, just impliment a speed button.
@@isaaccook1890 still would take massive computational power (bigger than anything we can possibly ever have) and billions of years
@@isaaccook1890 Or maybe having a simulating machine that is divided into several independent, but cooperative, cores, so the more time that goes by the more cores that get added to the machine, and the more advanced this cores would be.
It would still require a ludicrous amount of energy, to keep it running for however many eons as it needs to be running, independently of the number of cores; scientifically speaking, things can be done faster, but not cheaper.
And 3 dimensions, and non alive stuff that if taken right and rearenge in right way are alive
It's like a single living cell
how do i run it? i really want to play this game
im very curious as to the "rules" you gave the particles. 1. is obviously that like particals attract.
Can we get another video like this, please?
Does it have anything to do with biochemistry? (Carbone/silicon/bruh based advanced molecules)
Did you use quadtrees for the computation for all particles? Because these are a lot of particles
i cant even being to imagine how this works
wow I love it
Try turning down the distance of reactivity it will have less extreme results
how can you run it so smooth my computer cant handle it
i wonder what doing this kind of thing in 3d would be like
Damn that chunky lad really killed the server, ey.
the singularity farmers and software slavers responsible for string feeding loops to good people in disillussionment deserve informationlessness
Yo he's fuckin' tearin' it up.
please do more
Can you share the parameters you used to get this visualization? I’ve been been struggling to replicate your results and my CPU slows down after > 400 particles.
Really amazing visualization by the way!
@@sciencemathematics like any scientist, a computer scientist should always record conditions of their experiments.
You could dump initial conditions to text in the future.
Wonderful job by the way
@@sciencemathematics do you use a quadtree or something similar to hold the particles? if not that would help improve calculation times for higher numbers of particles
@@n8style maybe that would help in a more sparce simulation, but I think this is too busy for that to actually result in noticable performance improvements.
Best thing to do, performance wise, is probably translate this into a compute shader.
@@qwerty81808 have to disagree, but interesting ideas nonetheless
Now I want to make it in 3D with voxels
all better by the supernova goin about
It’s so organic-looking that it triggers a sense of disgust from me
Is there any online simulation of this ?
Keep that twitchy one away from me.
I can't reproduce the same results with the code, just the initial state remains, any help? Thanks for the video though t !
dancing cell! dancing cell!!
Evolution of NCS visualizations.
0:03 when everything formed
It is alife with various interesting behaviors, but has almost nothing to do with biological life. Thanks for the code, it is fun to experiment with!
May be they have consciousness..
Whu does this hard bass thing happen?
dat kraken attack
Maybe incerase the viscosity a bit
Wait, this happend by itself?
How exactly do I play this? The link leads to a page with a source code, but I do not know how to see the images.
@@sciencemathematics Ah, ok. Thank you.
Inverted T in the top left corner lol
Interesting…
Just chill bro
This close to discovering perpetual motion.👌
Sync some rock music on this
Yeah Science b*tch!
Seriously tho, I love this, I can't wait to code some GLSL for it!
the game of lag
Source code please
Thank you a lot.i am wondering what if the 『universe』 also expanding .....
👍
how the heck do i launch it?
turn on gigi d´agostinos "blablabla" and watch this vid here^^
is there a way that we can run this on our own?
@@sciencemathematics how do we run it I already have python
@@sciencemathematics thx
what if it's just a simulation
I don't know why evolution is so hard to understand...
This is not about evolution (no "genetics", no biosynthesis, no metabolism...). It is about weird twisting of "physical" interactions to produce behaviors which looks similar to life.
Is there a way to run this on android?
how to run?
edit: i need python dont i
Sometimes python is cool
@Joshua Diocares i know but i wanted this version
My brain on acid.
What are the rules?
You thought you could just upload agar. io and give it a different name thinking we wouldn't notice
The New update of agar.io is lit.