Tom Mohr
Tom Mohr
  • 4
  • 404 869
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
Переглядів: 31 175

Відео

How Particle Life emerges from simplicity
Переглядів 371 тис.2 роки тому
Other video explaining the maths & code: ua-cam.com/video/scvuli-zcRc/v-deo.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 Impre...

КОМЕНТАРІ

  • @Ergo288
    @Ergo288 День тому

    I love when smart asses do smart ass stuff

  • @bigzackw
    @bigzackw 4 дні тому

    so cool

  • @Thefoxbat14
    @Thefoxbat14 6 днів тому

    If you had a supercomputer and could accurately simulate all stable elements as particles that can bond, you could make a human

  • @TheStrangeNoob
    @TheStrangeNoob 8 днів тому

    The app has a virus I checked on virus total

  • @01Sunny120
    @01Sunny120 8 днів тому

    Your voice is actually the most soothing thing I've every heard I beg of you please make a video where it's just an hour of you talking about the most generic things 🙏

  • @user-100goestoclass
    @user-100goestoclass 16 днів тому

    How Do I fix this I downloaded and it said "This application requires a Java runtime enviorment"

  • @My_gatt_is_ballin
    @My_gatt_is_ballin 27 днів тому

    Someone needs to make a 3-D version

  • @stati5tik
    @stati5tik 29 днів тому

    you pretend like the rule you set is intrinsically given, but the rules are already too complex since it requires some sort of sentient agent in the first place.

  • @LightVibrationPresenseKindness
    @LightVibrationPresenseKindness Місяць тому

    what abou lenia?

  • @gazsope
    @gazsope Місяць тому

    Cool video. Some thoughts: I think who know the equations in derivative forms, they don't need to be explained how to describe the velocity of a particle in 2 minutes, who don't, they don't understand the very basic concept of the project and they see random letters, points, arrows on top of eachother. Simple trigonometry, how to desribe forces, how to sum forces, etc. could have been useful and I think you should have expressed those equations in a form which requires less math. This way it is obsecured math for anyone not having a math related degree and barely useful for those who have.

    • @tom-mohr
      @tom-mohr Місяць тому

      Yes, I agree, next time it'll be simpler.

  • @yy-of3om
    @yy-of3om Місяць тому

    On pourait développer des IA avec ce système, le potentiel est énorme.

  • @batchprogrammer108
    @batchprogrammer108 Місяць тому

    This is one of the most insane things i’ve ever seen, bro just simulated a universe

  • @danibot3000
    @danibot3000 2 місяці тому

    Guys, download it! It's greeaaaat!!!

  • @thomaslecoz8251
    @thomaslecoz8251 2 місяці тому

    this is so cool ! I'm going to adapt it in WebGPU soon :)

    • @tom-mohr
      @tom-mohr 2 місяці тому

      Nice, can you send me the link here when you're done? I'd be interested in seeing a WGSL version!

    • @thomaslecoz8251
      @thomaslecoz8251 2 місяці тому

      @@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 :)

    • @tom-mohr
      @tom-mohr 2 місяці тому

      @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.

    • @thomaslecoz8251
      @thomaslecoz8251 2 місяці тому

      @@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

    • @tom-mohr
      @tom-mohr 2 місяці тому

      Very cool! If you want you can share your results on our discord!

  • @Auroral_Anomaly
    @Auroral_Anomaly 2 місяці тому

    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.

  • @phosphor1573
    @phosphor1573 2 місяці тому

    bro came out of nowhere, dropped 2 bangers and left

  • @omegaplaysgb
    @omegaplaysgb 2 місяці тому

    2:23 how the life just do the orb like that?

  • @RobRed1011
    @RobRed1011 2 місяці тому

    Yo when we will get Mobile Version

  • @person-lk5kq
    @person-lk5kq 3 місяці тому

    great, now make them sentient

  • @ZAZAlSBETTER
    @ZAZAlSBETTER 3 місяці тому

    Love how some complex groups of particles “kills” other complex groups of particles 😂

  • @therealone0777
    @therealone0777 3 місяці тому

    7:04 ", expected"

  • @Bubatu7
    @Bubatu7 3 місяці тому

    Great video, really nice editing!

  • @rahulpatil8523
    @rahulpatil8523 3 місяці тому

    I want this application for mac

    • @tom-mohr
      @tom-mohr 3 місяці тому

      I'm working on it

  • @ddddddidjei
    @ddddddidjei 3 місяці тому

    is there a way to create a custom color palette for the particles?

    • @tom-mohr
      @tom-mohr 3 місяці тому

      Yes, you can simply add files to the "palettes" folder

  • @蔡承翰-w5b
    @蔡承翰-w5b 3 місяці тому

    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.

  • @user-Gooberlino
    @user-Gooberlino 3 місяці тому

    3:45 is definitely my favorite, it seriously made a race track with a car

  • @AstridDaFox
    @AstridDaFox 4 місяці тому

    What would happen if you add a "mimicry" value that will mimic different particles within a certain range, which would be the value.

  • @gwbublitz
    @gwbublitz 4 місяці тому

    how big/long of this type of sim would you have to run before something emerges that could be classified as "life"?

  • @___d3p1
    @___d3p1 4 місяці тому

    Thank you very much for this wonderful explanation!!!!

  • @mihhailceveca8879
    @mihhailceveca8879 4 місяці тому

    This are the documentals that i really want to see

  • @AlexFinlaysonGamer
    @AlexFinlaysonGamer 5 місяців тому

    Can on get it on mobile?

  • @joheimlelis
    @joheimlelis 5 місяців тому

    phases is so hard to make it

  • @reapingshadow2866
    @reapingshadow2866 5 місяців тому

    Is there assymetrical properties in real life?

  • @David_Raab
    @David_Raab 5 місяців тому

    looks beautiful

  • @onetpottwelve
    @onetpottwelve 5 місяців тому

    stupid windows defender blocked it Edit: is good now

  • @Monkeymario.
    @Monkeymario. 5 місяців тому

    7:17 d-did you see the lidle creature bounce off the wawll~ uwu

  • @AffectiveApe
    @AffectiveApe 5 місяців тому

    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?

  • @smilefaxxe2557
    @smilefaxxe2557 5 місяців тому

    Awesome video, PLEASE do more! ❤🔥

  • @planetballuniverse
    @planetballuniverse 6 місяців тому

    Do mobile free

  • @Irrbert
    @Irrbert 6 місяців тому

    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: ua-cam.com/video/AZnWthbsCnU/v-deo.html - Particel life 3D II, Background Video.: ua-cam.com/video/Q272F143BTE/v-deo.html - Zum Einschlafen oder Relaxen: Partikel life 2D, Background Video.: ua-cam.com/video/D9ag6HmiIOo/v-deo.html enjoy.

  • @DGM321
    @DGM321 6 місяців тому

    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

  • @k4rli_475
    @k4rli_475 6 місяців тому

    is there any way to make it in 3 dimensions or 4?❤

  • @k4rli_475
    @k4rli_475 6 місяців тому

    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)❤

  • @asheep7797
    @asheep7797 6 місяців тому

    At some point, we will be able to simulate evolution with particles. If this ever happens, I would feel bad resetting the simulations.

  • @brikka
    @brikka 6 місяців тому

    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.

  • @moonyl5341
    @moonyl5341 6 місяців тому

    3:29 music sync

  • @arsonzartz
    @arsonzartz 6 місяців тому

    "hehe lil particles" *zooms out* "WAIT A DANG MINUTE THATS A WHOLE DANG HUMAN CELL"

  • @needzinkkkk
    @needzinkkkk 6 місяців тому

    O cara foi o deus de microseres de energia e codigo wtf 🤯👽🦠👾

  • @unloadableplays5554
    @unloadableplays5554 7 місяців тому

    PLEASE MAKE IT FOR MAC!

  • @salxrn
    @salxrn 7 місяців тому

    9:48 that poor particle cluster just got obliterated