Tom Mohr
Tom Mohr
  • 4
  • 381 009
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.
มุมมอง: 27 648

วีดีโอ

How Particle Life emerges from simplicity
มุมมอง 350Kปีที่แล้ว
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...

ความคิดเห็น

  • @ddddddidjei
    @ddddddidjei 19 ชั่วโมงที่ผ่านมา

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

    • @tom-mohr
      @tom-mohr 7 ชั่วโมงที่ผ่านมา

      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 22 วันที่ผ่านมา

    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 26 วันที่ผ่านมา

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

  • @___d3p1
    @___d3p1 27 วันที่ผ่านมา

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

  • @mihhailceveca8879
    @mihhailceveca8879 หลายเดือนก่อน

    This are the documentals that i really want to see

  • @AlexFinlaysonGamer
    @AlexFinlaysonGamer หลายเดือนก่อน

    Can on get it on mobile?

  • @joheimlelis
    @joheimlelis หลายเดือนก่อน

    phases is so hard to make it

  • @reapingshadow2866
    @reapingshadow2866 หลายเดือนก่อน

    Is there assymetrical properties in real life?

  • @David_Raab
    @David_Raab หลายเดือนก่อน

    looks beautiful

  • @onetpottwelve
    @onetpottwelve หลายเดือนก่อน

    stupid windows defender blocked it Edit: is good now

  • @Monkeymario.
    @Monkeymario. หลายเดือนก่อน

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

  • @AffectiveApe
    @AffectiveApe หลายเดือนก่อน

    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?

  • @Maria__v0s
    @Maria__v0s 2 หลายเดือนก่อน

    Check out the scoop on Binance CEO's exclusive interview for the inside track on future developments

  • @smilefaxxe2557
    @smilefaxxe2557 2 หลายเดือนก่อน

    Awesome video, PLEASE do more! ❤🔥

  • @planetballuniverse2108
    @planetballuniverse2108 2 หลายเดือนก่อน

    Do mobile free

  • @Irrbert
    @Irrbert 2 หลายเดือนก่อน

    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.

  • @DGM321
    @DGM321 2 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

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

  • @k4rli_475
    @k4rli_475 2 หลายเดือนก่อน

    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 3 หลายเดือนก่อน

    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 3 หลายเดือนก่อน

    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 3 หลายเดือนก่อน

    3:29 music sync

  • @arsonzartz
    @arsonzartz 3 หลายเดือนก่อน

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

  • @needzinkkkk
    @needzinkkkk 3 หลายเดือนก่อน

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

  • @unloadableplays5554
    @unloadableplays5554 3 หลายเดือนก่อน

    PLEASE MAKE IT FOR MAC!

  • @salxrn
    @salxrn 3 หลายเดือนก่อน

    9:48 that poor particle cluster just got obliterated

  • @2b3pro
    @2b3pro 3 หลายเดือนก่อน

    I love this. Thank you for sharing!

  • @the-protogen-of-the-sky
    @the-protogen-of-the-sky 3 หลายเดือนก่อน

    You know what dani says: Hippity hoppity, your code is now my property.

  • @jclark2752
    @jclark2752 3 หลายเดือนก่อน

    I think this video works FAR Better the Other way around! Explain First! - Gets my vote Every Time!

  • @M1KEMEX
    @M1KEMEX 3 หลายเดือนก่อน

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

  • @theblobber4461
    @theblobber4461 3 หลายเดือนก่อน

    The total energy in the system is not conserved in terms of physics. How is the simulation not unstable?

  • @jessemaycaramonte2004
    @jessemaycaramonte2004 3 หลายเดือนก่อน

    whats that at the end its glitching?

    • @jessemaycaramonte2004
      @jessemaycaramonte2004 3 หลายเดือนก่อน

      when the last glider merge the particles goes in chaos maybe it's a bug

  • @retsopmisv
    @retsopmisv 3 หลายเดือนก่อน

    i made a really small version of this kind of thing on scratch with only 2 types of particles and 80 particles in all

  • @higuy3482
    @higuy3482 4 หลายเดือนก่อน

    somebody make this into a background program in like wallpaper engine or something cause this looks sick

  • @WhereRmYFuCKINGkeYs
    @WhereRmYFuCKINGkeYs 4 หลายเดือนก่อน

    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.

    • @benzene_sandwich
      @benzene_sandwich 3 หลายเดือนก่อน

      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.

    • @luukienquoc1251
      @luukienquoc1251 หลายเดือนก่อน

      yapping with ai is the worst typa thing I see again and again

    • @luukienquoc1251
      @luukienquoc1251 หลายเดือนก่อน

      ai cannot simply give you accurate information

  • @jaredf6205
    @jaredf6205 4 หลายเดือนก่อน

    I put the transcript of this video into ChatGPT and it was able to make this in html for me.

  • @Mycatkeepstryingtodestroymybed
    @Mycatkeepstryingtodestroymybed 4 หลายเดือนก่อน

    Can you please add a version that uses CUDA instead of the cpu please?

  • @theHiddenStone
    @theHiddenStone 4 หลายเดือนก่อน

    Have you tried giving each particle type different friction properties? Would be interesting to see how things interact.

  • @Ninjahat
    @Ninjahat 4 หลายเดือนก่อน

    Please make a model of our observable Universe with up to date science data and help cosmologists figure out the great new problem: the Big Bang model is flawed. Reference science data from the James Webb telescope.

    • @benzene_sandwich
      @benzene_sandwich 3 หลายเดือนก่อน

      You can’t…. Just model the universe… Are you stupid? And, yes the Big Bang happened. No, we don’t know how. That doesn’t mean it’s flawed.

  • @xxlvulkann6743
    @xxlvulkann6743 4 หลายเดือนก่อน

    I wonder if you could devise a system to determine the set of possible behaviors you should expect from a given set of initial conditions and rules.

  • @xxlvulkann6743
    @xxlvulkann6743 4 หลายเดือนก่อน

    I wonder what happens when you randomly initialize various groups of particles each with their own set of rules of behavior. I wonder if some systems would survive over others, a sort of natural selection of attraction-repulsion rules. In the end, you might see only rules with certain properties (symmetry for example) yet there would still be random (brownian motion) from all the interactions of particles. You might even extend this further to allow for particles to interact across time. One has to wonder if the universe was born under similar circumstances. it would be an interesting experiment to conduct, especially at scale.

  • @nathanwilbrink2444
    @nathanwilbrink2444 4 หลายเดือนก่อน

    can you do an experiment where there is a very slight deviation in the atraction forces within the same color groups?

  • @Likasense
    @Likasense 4 หลายเดือนก่อน

    What's the song?

  • @ProfeSobico
    @ProfeSobico 4 หลายเดือนก่อน

    life is just a math evolution

    • @benzene_sandwich
      @benzene_sandwich 3 หลายเดือนก่อน

      I guess it’s chemistry/ math / statistics it’s very interesting.

  • @ThomasMcCormack-d7t
    @ThomasMcCormack-d7t 4 หลายเดือนก่อน

    Can anyone tell me some good settings for the thing?

  • @immagical7036
    @immagical7036 4 หลายเดือนก่อน

    It’s amazing how technology can simulate such realistic “life”

  • @khlorghaal
    @khlorghaal 5 หลายเดือนก่อน

    "the best implementation" object oriented java 😭 it uses shaders but they arent for the simulation 😭

  • @BluefireguyXD
    @BluefireguyXD 5 หลายเดือนก่อน

    Rigged.

    • @benzene_sandwich
      @benzene_sandwich 3 หลายเดือนก่อน

      “Rigged” compile the source code and run it yourself. Read through the code because it’s open source and show how it’s rigged.

    • @BluefireguyXD
      @BluefireguyXD 3 หลายเดือนก่อน

      @@benzene_sandwich Not accurate.

    • @benzene_sandwich
      @benzene_sandwich 3 หลายเดือนก่อน

      @@BluefireguyXD Whats not accurate? Oh, i get it. You think there are "Evil CIA demons" in the computer that want to lie to you. Sorry, buddy. You arent special. No one wants to lie to you.

    • @luukienquoc1251
      @luukienquoc1251 หลายเดือนก่อน

      9 years old