- 4
- 393 660
Tom Mohr
เข้าร่วมเมื่อ 20 ก.พ. 2022
The code behind Particle Life
Download (Windows 64-bit): particle-life.com
Source Code: github.com/tom-mohr/particle-life-app
Discord Server: discord.gg/Fd64AhKzMD
Particle Life is a very simple particle system. This video explains the code behind this simulation, that shows the emergence of incredibly beautiful life-like structures from rudimentary rules.
00:00 Start
0:47 Particles
1:09 Attraction
2:00 Force Function
2:46 Acceleration
4:20 Friction
5:30 Computation Errors
6:19 Coding Tutorial
Source Code: github.com/tom-mohr/particle-life-app
Discord Server: discord.gg/Fd64AhKzMD
Particle Life is a very simple particle system. This video explains the code behind this simulation, that shows the emergence of incredibly beautiful life-like structures from rudimentary rules.
00:00 Start
0:47 Particles
1:09 Attraction
2:00 Force Function
2:46 Acceleration
4:20 Friction
5:30 Computation Errors
6:19 Coding Tutorial
มุมมอง: 29 708
วีดีโอ
How Particle Life emerges from simplicity
มุมมอง 361Kปีที่แล้ว
Other video explaining the maths & code: th-cam.com/video/scvuli-zcRc/w-d-xo.html Download (Windows 64-bit): particle-life.com Source Code: github.com/tom-mohr/particle-life-app Discord Server: discord.gg/Fd64AhKzMD Particle Life is a very simple particle system. The simulation shows the emergence of incredibly beautiful life-like structures from rudimentary rules. CHAPTERS 0:00 Intro 0:48 Impr...
This is one of the most insane things i’ve ever seen, bro just simulated a universe
Guys, download it! It's greeaaaat!!!
this is so cool ! I'm going to adapt it in WebGPU soon :)
Nice, can you send me the link here when you're done? I'd be interested in seeing a WGSL version!
@@tom-mohr sure ! I think I'll do it today :) I think I can render maybe 3-4 millions particles at 60fps , impatient to see the result.... EDIT : after reflexion, no , I probably can't render so much particles (i can , but not with this kind of computation). I will try, if I reach 500k it would be great already :)
@thomaslecoz8251 awesome! Yeah, the complexity increases quadratically, so something like 10k is usually the limit for 60fps. But you can use space partitioning to get better complexity.
@@tom-mohr without optimization i can move 30k particles at 100fps The results are crasy using 128 colors ^^ I'll publish it soon and I 'll give the link once it's done
Very cool! If you want you can share your results on our discord!
Problems I see here: 1. Asymmetric reactions, this violates momentum and energy conservation and leads to a broken unbalanced ecosystem. 2. It is deterministic meaning that nothing unpredictable happens meaning that time is meaningless and it could just as well be any other time.
bro came out of nowhere, dropped 2 bangers and left
2:23 how the life just do the orb like that?
Yo when we will get Mobile Version
great, now make them sentient
Love how some complex groups of particles “kills” other complex groups of particles 😂
7:04 ", expected"
Great video, really nice editing!
Thank you!
I want this application for mac
I'm working on it
is there a way to create a custom color palette for the particles?
Yes, you can simply add files to the "palettes" folder
How do you make a hundred thousand particles simulated in real-time ? I have seen that you use space-partitioning (in another video), but I can play a simulation (with my program) only one-two thousand particles in real-time.
3:45 is definitely my favorite, it seriously made a race track with a car
What would happen if you add a "mimicry" value that will mimic different particles within a certain range, which would be the value.
how big/long of this type of sim would you have to run before something emerges that could be classified as "life"?
Thank you very much for this wonderful explanation!!!!
This are the documentals that i really want to see
Can on get it on mobile?
phases is so hard to make it
Is there assymetrical properties in real life?
looks beautiful
stupid windows defender blocked it Edit: is good now
7:17 d-did you see the lidle creature bounce off the wawll~ uwu
Monism is a hypothesis for the base structure of reality. I.e. all particles are of the same property. I am wondering how one might create a simulation that is more strictly monistic. For instance, your color properties give each particle a huge range of possible states. in some ways, even conway's game of life of a particle/tile (alive/dead) is too much, however it makes sense if the dead particle really is just representation of the absence of a particle in that position. if it is a world of "monistic" single state particles, but perhaps with just position and velocity (?), what kind of complexity evolves from such a system?
Check out the scoop on Binance CEO's exclusive interview for the inside track on future developments
Awesome video, PLEASE do more! ❤🔥
Do mobile free
Wonderfull! I love it. i made more of this stuff here for your plesure: - 3 Stunden Particle-Life 3D Simulation: Entspannung und Wissenschaft; Relaxation and Science: th-cam.com/video/AZnWthbsCnU/w-d-xo.html - Particel life 3D II, Background Video.: th-cam.com/video/Q272F143BTE/w-d-xo.html - Zum Einschlafen oder Relaxen: Partikel life 2D, Background Video.: th-cam.com/video/D9ag6HmiIOo/w-d-xo.html enjoy.
i tried replicating the snake example but the colors didnt immediently clump into one piece, instead it clumps into multiple pieces EDIT: i changed the settings and it worked (btw did you speed the video up in the video?) EDIT 2: how do i save the settings
is there any way to make it in 3 dimensions or 4?❤
i don’t understand coding but i try to learn it with chat-gpt rn (i don’t need any teachers in my comments but u can write some tips)❤
At some point, we will be able to simulate evolution with particles. If this ever happens, I would feel bad resetting the simulations.
Very interesting, it reminds me of the recent discoveries of bio electrical patterns.. surprisingly the similarity is that the pattern creates the movement, obviously a few more degrees of simplicity but it shows how there is a programming language behind all of existence.
3:29 music sync
"hehe lil particles" *zooms out* "WAIT A DANG MINUTE THATS A WHOLE DANG HUMAN CELL"
O cara foi o deus de microseres de energia e codigo wtf 🤯👽🦠👾
PLEASE MAKE IT FOR MAC!
9:48 that poor particle cluster just got obliterated
I love this. Thank you for sharing!
You know what dani says: Hippity hoppity, your code is now my property.
I think this video works FAR Better the Other way around! Explain First! - Gets my vote Every Time!
I don't understand what you changed in the code to make it render in 3D. Long time ago, when GPUs were not common, I tried to write a 3D engine and I remember that you had to make trigonometric stuff to make projections. But I don't see any of that in your code...
The total energy in the system is not conserved in terms of physics. How is the simulation not unstable?
whats that at the end its glitching?
when the last glider merge the particles goes in chaos maybe it's a bug
i made a really small version of this kind of thing on scratch with only 2 types of particles and 80 particles in all
somebody make this into a background program in like wallpaper engine or something cause this looks sick
if you show this to AI, it can create a whole knew universe, combining with quantum computing it creates it inside ours and the fractal universe has evolved exponentially, continuing it's pattern in different dimensions of the reality itself.
AI cannot make a universe. That’s not how AI works. Quantum computers are only for very specific tasks, they can’t even run minecraft.
yapping with ai is the worst typa thing I see again and again
ai cannot simply give you accurate information
I put the transcript of this video into ChatGPT and it was able to make this in html for me.