Tap to unmute

I programmed some creatures. They Evolved.

  • เผยแพร่เมื่อ 18 พ.ค. 2024
  • This is a report of a software project that created the conditions for evolution in an attempt to learn something about how evolution works in nature. This is for the programmer looking for ideas for interdisciplinary programming projects, or for anyone interested in how evolution and natural selection work.
    Before commenting on the religious/theological implications of this simulation, please note that this video in no way purports to explain all the mysteries of life and the universe.
    GitHub: github.com/davidrmiller/biosim4
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 11K

  • @Camlling
    @Camlling ปีที่แล้ว +4262

    This man created evolution and decided his TH-cam career was complete

    • @WwarpfirewW
      @WwarpfirewW ปีที่แล้ว +96

      Maybe the evolution stopped him 🤯

    • @Nugcon
      @Nugcon 9 หลายเดือนก่อน +19

      and Shakespeare

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

      @@lit22006you dont need to have 100% info in a subject in order to talk about it. none of us is perfect, its the progress that counts.

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

      What are you blathering about@@lit22006

    • @qwertzuiop1978
      @qwertzuiop1978 7 หลายเดือนก่อน +24

      He is active on github

  • @Harsh_Noise
    @Harsh_Noise 2 ปีที่แล้ว +887

    Dot: *Disappears*
    David: I can't bear to watch this violence

    • @stevenwang1434
      @stevenwang1434 2 ปีที่แล้ว +10

      304 thumbs up, and here I am to leave the very first comment. People are getting silent these days, tired of violence.

    • @therealveridicalyt497
      @therealveridicalyt497 2 ปีที่แล้ว +8

      Someone, think about the children!

    • @billykruger8392
      @billykruger8392 2 ปีที่แล้ว +7

      What GOD must feel as well.

    • @joshuacortezechavarria6765
      @joshuacortezechavarria6765 2 ปีที่แล้ว +5

      He’s the God we need lol

  • @MoonCrab00
    @MoonCrab00 6 หลายเดือนก่อน +590

    Man was consistently like "You can skip to the next part if you don't care about this topic" and I'd say most of us absolutely did not skip ahead.

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


    • @tonyennis1787
      @tonyennis1787 2 หลายเดือนก่อน +5

      did not skip

    • @David280GG
      @David280GG 2 หลายเดือนก่อน +7

      Attention span passed ✅

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

      Shut up bro

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

      i did

  • @whiteobama3032
    @whiteobama3032 3 หลายเดือนก่อน +94

    Just an update about Dave, for anyone wondering why he's not uploading: after making that video, he ascended in to Godhood and is now running his own universe.

  • @AbdulRehman-ew5fu
    @AbdulRehman-ew5fu 2 ปีที่แล้ว +2265

    I feel honored whenever he says "Some of my fellow programmers...."

    • @cookoreo6890
      @cookoreo6890 2 ปีที่แล้ว +12

      Are you a progammer

    • @MartinPirizDrums
      @MartinPirizDrums 2 ปีที่แล้ว +187

      @@cookoreo6890 no, he es a football player

    • @cookoreo6890
      @cookoreo6890 2 ปีที่แล้ว +75

      @@MartinPirizDrums thought he was an astronaut in the ocean 😒

    • @chiara9767
      @chiara9767 2 ปีที่แล้ว +38

      @@MartinPirizDrums Really? I got more of an artistic vibe from him

    • @tiagomori2534
      @tiagomori2534 2 ปีที่แล้ว +6

      a engineering student

  • @thornelderfin
    @thornelderfin 2 ปีที่แล้ว +14888

    This is my offering to the TH-cam algorithm.
    Let's hope we resurrect this channel so David can make more amazing videos.

    • @kylekafka6636
      @kylekafka6636 2 ปีที่แล้ว +197

      Seems to be working, 140k views. It's an extremely well put together video

    • @felicityc
      @felicityc 2 ปีที่แล้ว +96

      TH-cam algo took me here from a video about WW1 lol
      They really want people to see it again

    • @cconnors
      @cconnors 2 ปีที่แล้ว +100

      The algorithm has called us.

    • @StevenDiLeo
      @StevenDiLeo 2 ปีที่แล้ว +62

      Count me in for the algorithm summons

    • @parkermartin9216
      @parkermartin9216 2 ปีที่แล้ว +31


  • @eli.jiah.meowmeow
    @eli.jiah.meowmeow 2 หลายเดือนก่อน +61

    I have replaced TV with TH-cam 15 years ago. This is one of the best videos I have watched on this platform.

    • @user-lc7jm7sn1h
      @user-lc7jm7sn1h หลายเดือนก่อน +2

      I did the same but even if i did not want to because i was so brainwashed by the tv i still qould have ended up this way because of how much truth can be proven and how everyone has more then 7 brainrotting seconds to open your mind to new worlds

    • @MutedGrowl
      @MutedGrowl 21 วันที่ผ่านมา

      I’m now convinced, we are all in a simulation

  • @geckoram6286
    @geckoram6286 7 หลายเดือนก่อน +65

    I think this is the best video I've ever found on TH-cam. Not only for the content, although I love both programming and biology, but the way it's presented is genius. You have these structured parts, the simulation, but in between the simulations you have smaller parts explaining everything, really smooth. Thanks for making this video.

  • @Boris99999
    @Boris99999 2 ปีที่แล้ว +5675

    In these simulations the places where the children were “born” were completely randomized but in reality places of birth are also “inherited” from parents! If your parents lived at the Equator you wouldn’t suddenly appear at the North Pole! I think that is a very significant detail that should be added!

    • @olarmariusalex
      @olarmariusalex 2 ปีที่แล้ว +348

      I think that both perspectives must be taken into consideration. The simulations one exclude that fact and by doing this it isolate somehow the brain from the nature so in that way we can study much faster the brain development related to itself. If we also study the brain by adding the missing factor we emulate better the development in real life (where we are passing information not only by genes but also by environment) which is also very important. We can even learn more by studying both sides and compare them.

    • @Boris99999
      @Boris99999 2 ปีที่แล้ว +110

      I agree. It all depends on the end goal: if you want to study one particular feature isolating factors might help narrowing down the amount of information that you’ll have to process but it will make the model less accurate. Adding factors will make processing harder but the model will be closer to reality.
      And there’s one catch - in real life all factors could be connected and it might be that in order to get some kind of result you would need to simulate all of them because with just one of those missing we might not have the right conditions!

    • @ern0plus4
      @ern0plus4 2 ปีที่แล้ว +56

      Note, that it's a simple simulation. But you're right.
      Another issue: generations don't born at the same day, don't live same duration and don't die together. Generations overlap. Also, a gene should control the lenght of their lifes, another should define the age when they make children.
      Another issue: they should use and consume energy (by eating each other). Who runs out of energy, he or she should die.
      Can't stop: they should produce, waste (shit). Others should consume it, it would fill the energy, but not as much as if he or she eating other. A gene should control whether the particle can kill other ones (predator), or just eat, well, other's waste (vegan).

    • @__-op4qm
      @__-op4qm 2 ปีที่แล้ว +33

      This model is simple about how early single cell organisms could interact and swim away from hot dangerous places. Food could passively diffuse into them can be assumed. Overlapping generations would maybe only relevant when the age sense is enabled and when age variable has some useful functionality.

    • @chrishamilton1728
      @chrishamilton1728 2 ปีที่แล้ว +71

      Unfortunately, that wouldn't work here. The simulation is set up to see if the population can navigate to a certain area. If they generated close to their parents you would introduce a bias. For example, in the first simulation, all generations that began in the east would just keep reproducing regardless of their genome.
      You could change the selection criteria, but I think the way it is now lets you see what's happening clearly.

  • @Born2Losenot2win
    @Born2Losenot2win 2 ปีที่แล้ว +945

    I like how David feels sad about these computed creatures dying or getting murdered.

    • @benearhart1224
      @benearhart1224 2 ปีที่แล้ว +23

      Really? I found it sort of sad. Poor guy is doing a simulation that proves the value of death, yet it is lost on him.
      What he should do is give the creatures compassion and hatred and then hardwire them so that hatred and, ultimately kill signals, are generated proportional to the product of the creatures compassion, the genetic similarity of any death in front of it and are directed at the assailant.
      Then he might learn something.

    • @ecko5541
      @ecko5541 2 ปีที่แล้ว +6

      @@benearhart1224 thank god your not smart enough to this

    • @benearhart1224
      @benearhart1224 2 ปีที่แล้ว +17

      @@ecko5541 oh man that just made my day. Insults about intelligent in screwed up English - the best.

    • @ecko5541
      @ecko5541 2 ปีที่แล้ว +6

      @@benearhart1224 oh nooo i forgot a word and damn life must be sad then

    • @arseniykyrilkin33
      @arseniykyrilkin33 2 ปีที่แล้ว +11

      @@benearhart1224 i too am disappointed in the conclusion of the video. Author's own simulation tells him that violence works as good as peace, if not better, but he still associates it with feral instincts and regards it only as a tool of injustice and disharmony.

  • @whisped8145
    @whisped8145 7 หลายเดือนก่อน +43

    4:00 DNA works not in single letters, but in "Codons" - that is the actual "letter" read out is comprised of a triplet of the 4 molecules. That opens up quite a lot more values per position in the datachain. That brings us to 16 values per molecule, times 4, makes 64 Codons/Values per actual read-out position. That is way denser information than hexadecimal (16 values per position). Two of these Codons (I'd have to look up the exact ones) act as "START" and "STOP" indicators for the Rhibosomes (molecule factories). Add to that that the Rhibosomes read forwards and backwards on both strands of DNA at the same time. This also allows for a lot of white noise in the DNA-"Code" to happen, which gives room for mutation (positive and negative) as well as padding-insulation against damage. Many "production-instructions" on DNA are also present multiple times for the same reason of contingency against error and damage, as well as for production quantity.

    • @kevcraft9852
      @kevcraft9852 4 วันที่ผ่านมา +1

      There is just one start codon: AUG, and there are actually three end/stop codons: UGA, UAA, and UAG. Also, it's spelled "ribosome"(unless you are talking about the band)
      Good info though 👍

  • @TylerRayPittman
    @TylerRayPittman 2 หลายเดือนก่อน +7

    I ran 50 generations and changed a couple of the config parameters. Excited to play around with it more when I get home.

  • @borissmondack7802
    @borissmondack7802 3 ปีที่แล้ว +5104

    95 views.... it deserves millions!

    • @falkelh
      @falkelh 2 ปีที่แล้ว +250

      At least it now has a bit more but still not enough

    • @HansLemurson
      @HansLemurson 2 ปีที่แล้ว +274

      Soon...soon. It just showed up in my suggestion feed _two days in a row_ ...The algorithm is speaking.

    • @jaredjones6570
      @jaredjones6570 2 ปีที่แล้ว +12

      Still only 12600 views. This guy still has less than 500 subscribers. YT's algorithm is seriously broken. It recommends tons of mindless junk and doesn't prioritize anything of educational value. I guess it makes sense though, considering YT is more concerned with disabling useful features than they are with enabling people... *Cough* *Cough* "dislike buttons" *Cough*

    • @flyingsquirrelfpv4866
      @flyingsquirrelfpv4866 2 ปีที่แล้ว +69

      16k now

    • @U20E0
      @U20E0 2 ปีที่แล้ว +29

      @@flyingsquirrelfpv4866 17K

  • @friku404
    @friku404 2 ปีที่แล้ว +868

    "I'm an innocent and inoffensive dot..."
    David: "Shut up, let's play a game..."

    • @AratjaUjotOurstories
      @AratjaUjotOurstories 2 ปีที่แล้ว +13

      And I guess for people who believe in God, God is just doing a David move with all of us

    • @KWifler
      @KWifler 2 ปีที่แล้ว +9

      @@AratjaUjotOurstories and the kill gene was always on!

    • @perrystuart8035
      @perrystuart8035 2 ปีที่แล้ว

      Evolution lol. Show me creating life from non life. You dont get that as a gimme. Evolution trying to explain what happens AFTER life is already there is fun to think about....but its not science without showing life can just happen out of nowhere.

    • @KWifler
      @KWifler 2 ปีที่แล้ว +1

      @@perrystuart8035 he lied. There are lots of explanations for making life from non-life.

    • @perrystuart8035
      @perrystuart8035 2 ปีที่แล้ว

      @@KWifler Explanations are not science. You have to do it physically or it isnt in reality, just in your brain. Which is the entire point of my comment lol.

  • @Someone_Waiting
    @Someone_Waiting หลายเดือนก่อน +9

    Its just sooooooo impressive that just a 4 genome computer programmed organisation could evolve that much for just a hyper random selection. Great job!

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

    TH-cam algorithm's selection has finally brought this video to my recommendations!

  • @fcgHenden
    @fcgHenden 2 ปีที่แล้ว +741

    David: we won't be simulating weather.
    Also David: Throws a comet at half the planet.

    • @BoomBoomMushroom
      @BoomBoomMushroom 2 ปีที่แล้ว +24

      Jim: Billy the weather channel said we are gonna be hit by a meteor within a few day
      Billy: God Dammit not again

    • @HaveANiceDayLol.
      @HaveANiceDayLol. 2 ปีที่แล้ว +4

      @@BoomBoomMushroom Just another day in Florida

  • @Michael-px4oj
    @Michael-px4oj 2 ปีที่แล้ว +432

    It took just under a year for this video to start getting the traction and recognition it deserves

    • @willyreeves319
      @willyreeves319 2 ปีที่แล้ว +18

      viewers habits evolved to share it?

    • @mrbrown6421
      @mrbrown6421 2 ปีที่แล้ว +1

      Our owners like to steer us for a reason.
      I don't know where the journey ends,
      but the ride is very enjoyable.
      Long live Our Owners!

    • @luciferangel8232
      @luciferangel8232 2 ปีที่แล้ว

      He lost me at being the first person to ever claim breeders are evolved an focusing on breeding is evolution. I don't think anything outside of this software he programmed to act this way supports this. Even breeders hate being called breeders yet according to this software it would be like being Kobe Bryant.

    • @TheMeanAdmin
      @TheMeanAdmin 2 ปีที่แล้ว +9

      @@willyreeves319 youtube algorithm evolved to feed it to the right crowd

    • @kylemilford8758
      @kylemilford8758 2 ปีที่แล้ว +1

      That's pretty quick for TH-cam tbh

  • @fabidoriomaccastuff5330
    @fabidoriomaccastuff5330 8 หลายเดือนก่อน +26

    David, I watched your video this morning after learning about The game of life. You stepped it up with the little brains and neural connections, genes and mutations. You are excellent in didactics. Please go on. Your channel is awesome.

  • @davidbornemeier856
    @davidbornemeier856 10 หลายเดือนก่อน +3

    I remember watching this a year ago and hoping for more, watching this again I appreciate it even more. Hope you come back David

  • @rm-g6481
    @rm-g6481 11 หลายเดือนก่อน +898

    This AI, Computer Science, Biology…gold. These type of content should be the one getting viral.

    • @Lemjanmusic
      @Lemjanmusic 7 หลายเดือนก่อน +32

      If only he added tiktok sped up music

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


    • @justamanofculture12
      @justamanofculture12 4 หลายเดือนก่อน +5

      ​@@Lemjanmusicbruh 🌚

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

      @@Lemjanmusichell no

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

      @@soulslip 😂💀

  • @DorinCiobanu007
    @DorinCiobanu007 2 ปีที่แล้ว +1472

    The reason why "kill" trait was bi-stable is because there's no selection pressure associated with it. Would be cool to add a "kill the killer" trait and see whether it leads to a larger group surviving. Or will it start wars? :)

    • @khalidaser1430
      @khalidaser1430 2 ปีที่แล้ว +88

      Can we please see this program simulated?

    • @ChocolateMilkCultLeader
      @ChocolateMilkCultLeader 2 ปีที่แล้ว +16

      Great insight

    • @mattsowerbutts4163
      @mattsowerbutts4163 2 ปีที่แล้ว +64

      you could either get a mob mentality that swarm the killers, (without consequences, ie 'legal kill') OR a couple of 'sherifs' evolve that seek out the killers........

    • @rinslow
      @rinslow 2 ปีที่แล้ว +53

      just what I was thinking, you should try to set it up to see if you can promote cooperation.
      One thought:
      if you have the kill gene, other individuals can see that and kill you ahead of time, you can call that the self defense gene.
      Another idea:
      Maybe then add Size gene to make individuals more likely to win a fight, However, being bigger will require you to collect more resources in order to survive.
      You can show it graphically by altering the actual size of the dots!

    • @rinslow
      @rinslow 2 ปีที่แล้ว +6

      @@mattsowerbutts4163 That's a great idea! mob swarm
      love it

  • @mithileshkohale8403
    @mithileshkohale8403 5 หลายเดือนก่อน +3

    this video will live rent free in my brain.

  • @squabdiggity743
    @squabdiggity743 6 หลายเดือนก่อน +4

    And just as mysteriously as he stepped into our lives, he was gone.

  • @matzeh1985
    @matzeh1985 2 ปีที่แล้ว +906

    13:10 "The vast majority of them, the moment they're born, they have the inborn instinct to head east and just keep going until they can't go any further." - As a German, I know that feeling.

    • @ianmeade7441
      @ianmeade7441 2 ปีที่แล้ว +167

      But isn't Argentina south west of Germany?

    • @momochief8845
      @momochief8845 2 ปีที่แล้ว +61

      @@ianmeade7441 goated reply

    • @carlosandleon
      @carlosandleon 2 ปีที่แล้ว +95

      @@ianmeade7441 it's north-east if you go far enough

    • @ankurage
      @ankurage 2 ปีที่แล้ว +10

      Fake you must be Russian

    • @Uttam_Kumar_Jana
      @Uttam_Kumar_Jana 2 ปีที่แล้ว +6

      @@ianmeade7441 wow

  • @Lifeslayer8
    @Lifeslayer8 2 ปีที่แล้ว +205

    nothing gets you more excited than seeing some random dots trying to adapt to survive some random scenario! and seeing the way their brains were wired up to do so was just icing on the cake! perfect video!

    • @VickMcbread
      @VickMcbread 2 ปีที่แล้ว +1

      yes. riveting.

    • @IzameBirb
      @IzameBirb 2 ปีที่แล้ว +1

      @@VickMcbread I know right!

    • @Marcelhott
      @Marcelhott 2 ปีที่แล้ว

      Just like us

  • @christophgouws8311
    @christophgouws8311 3 หลายเดือนก่อน +4

    "This is a video about natural selection and evolution" first words after that "I wrote a little program..."

  • @miserablepumpkin9453
    @miserablepumpkin9453 2 หลายเดือนก่อน +1

    The radioactive example is the most fascinating one to me due to the complex yet uniform nature of the movement. Plus, there are still individuals who deviate from it and survive!

  • @cloj63
    @cloj63 2 ปีที่แล้ว +316

    Wait, so this is basically the only video he published?
    That's insane. Such an interesting topic and expertly explained, yet all done in a very accessible way.
    Thank you so much for sharing your work!

    • @kathleenmattson9714
      @kathleenmattson9714 ปีที่แล้ว +6

      He has a few more on Vimeo...

    • @QuantumElectroDynamic
      @QuantumElectroDynamic ปีที่แล้ว +11

      I am an old Irishman and can safely say this is a highly evolved and sophisticated individual who ain't got time for no youtube shenanigans! LoL Imagine them as like the hottest woman in the room. They ain't got no time for my silly shenanigans! It would take something special to draw their attention, or you must be lucky and witness their magnificence as it unfolds, as it did here with this video. Just discovering this myself, I imagine he works doing interesting things and, much like in this video, I imagine him doing these types of fun things in a world that doesn't involve youtube overly much. My own world doesn't include those things either. I am aware of this youtube thing right here, obviously, and love exploring the knowledge contained herein, but it isn't a priority. I am often busy just living life, in a world far far away, powered by an infinitely small, very subtle and basically nonexistent, singularity, within the singularity. It's something I fondly call the duality, the duality actually is Within the singularity. My world is like a black hole trapped inside a black hole, event horizon within event horizon. I couldn't make this up if I tried. How deep can we go? Perhaps not objectively real like the singularity, nor as magnificent, but my world is real enough for this old Irishman, and still magnificent because it was derived from such a perfect hottie of a singularity! Wow, what a babe, that source of my world. Can you imagine the magnificence of a hottie that is powerful enough to be the source of universes? Now THAT is a total babe right THAR! Right Thar! LoL haha sorry, shenanigans!

    • @comradewindowsill4253
      @comradewindowsill4253 ปีที่แล้ว +5

      @@QuantumElectroDynamic why are you so thirsty for this man lol

    • @frankcastle1862
      @frankcastle1862 ปีที่แล้ว

      @@QuantumElectroDynamic one of the best binary drinks I had

    • @petrichor2973
      @petrichor2973 ปีที่แล้ว

      @@QuantumElectroDynamic lmao 😭

  • @nathanielepps
    @nathanielepps 2 ปีที่แล้ว +1997

    Just when I think there is no hope left for the TH-cam algorithm, it throws this absolute gem my way. Thank you so much for such a good video! I have done many programing thought experiments in my head trying to do something just like this but there were a few things I didn't quite understand or know how to achieve and this cleared them up for me. I'm very excited to get the code and try some things out for myself!

    • @BlueCoreGamming
      @BlueCoreGamming 2 ปีที่แล้ว +14

      If you want more, check out carykh evolution on TH-cam

    • @fruityaxium9597
      @fruityaxium9597 2 ปีที่แล้ว +1


    • @KitchenSinkGaming73
      @KitchenSinkGaming73 2 ปีที่แล้ว +4

      My guy wrote a whole paragraph

    • @misterturkturkle
      @misterturkturkle 2 ปีที่แล้ว

      Zimmerman St. Charles is dead

    • @du42bz
      @du42bz 2 ปีที่แล้ว +23

      @@KitchenSinkGaming73 Holy shit a few words are an entire paragraph to you? This says a lot about you...

  • @bradenadams1761
    @bradenadams1761 8 หลายเดือนก่อน +2

    This is really one of the most brilliant things I have seen on TH-cam and I’m on here for hours a day!

  • @perorbem
    @perorbem 9 หลายเดือนก่อน +1

    This video is amazingly well put together, it deserves way more views!

  • @mohammad9754
    @mohammad9754 2 ปีที่แล้ว +942

    Wow. The production quality, quality of content and narration - I'm speechless. This content is amazing and I wish you nothing but success. Very inspiring

    • @pvic6959
      @pvic6959 2 ปีที่แล้ว +10

      i knew a lot of this bc ive watched a LOOOOOT of evolution vids. but im soo happy he assumes nothing. i would prefer that. this is a grade A video for people who know nothing about this thing! And he keeps it engaging too

  • @urano1988
    @urano1988 2 ปีที่แล้ว +181

    1:45 The conditions for evolution
    8:00 Simulation #1 - How it works
    20:28 Brain anatomy
    27:18 Simulation #2 - Mutation and adaptation
    34:20 Brain sizes
    35:50 Simulation #3 - Brain sizes
    41:15 Genome encoding
    42:44 Simulation #4 - The "KILL" neuron
    50:00 Software used
    52:15 Simulation #5 - Radioactive challenge

  • @kluplau
    @kluplau หลายเดือนก่อน +1

    I never ever saw a hour long video on TH-cam. But I was glued to my screen. Excellently edited, fun, inspirational and entertaining. Please make more videos. This is what I’m here for. 🙏

  • @PaymaanJafari
    @PaymaanJafari 7 หลายเดือนก่อน +1

    Amazing work. Why did I miss this for so long!

  • @llucos100
    @llucos100 2 ปีที่แล้ว +422

    Interestingly, I think this also explains why some creatures have smaller brains than others… in your four corners experiment you would get to the point where having a massive brain has no advantage, if all they need to do is go is get to the corners reasonably competently. Our brains consume a large amount of energy, so in some situations having a larger brain to solve certain problems starts to have a disadvantage. It would be interesting to see a simulation that allows neurons to be added, but at a cost to find more ‘food’ then ramp up the challenges.

    • @mike_o7874
      @mike_o7874 2 ปีที่แล้ว +27

      yeah the next step of those might be a cool scenario where mutation can change the number of connections
      and having "food" factor, maybe making creatures that found more food, then they consume survive and reproduce.
      then having something like 1 food is worth like 10 connections.
      so a creature that have like 300 connections need 30 food to survive.

    • @mosquitobight
      @mosquitobight 2 ปีที่แล้ว +18

      A big brain is definitely evolved and maintained in a population only when life is a challenge that requires a brain. When survival is simple and intelligence is not required, a brain is an expensive luxury. There are primitive chordates called ascidians that have a brain as free-swimming larvae and lose most of it when they become stationary adults.

    • @ItIsCoMpLiCaTeDsTuFf
      @ItIsCoMpLiCaTeDsTuFf 2 ปีที่แล้ว +12

      One way to sort of simulate the effect of a larger brain could be to add a delay of one simulation step to each internal neuron. It would enable more complex behaviors with loops but cause more complex networks to potentially move slower. It would require modifying the simulation code quite a bit though as the state of each network would have to be carried over to the next simulation step.

    • @reyariass
      @reyariass 2 ปีที่แล้ว +3

      Add a consume action, so they can potentially cannibalize each other

    • @mosquitobight
      @mosquitobight 2 ปีที่แล้ว +6

      @@reyariass I think that would result in the population splitting into a "herbivore" majority and a "carnivore" minority.

  • @Alejo.Berrutti
    @Alejo.Berrutti 2 ปีที่แล้ว +667

    "Your neurons are valuable!. Take care of them."
    0:00 --Introduction
    7:57 --Simulation #1 (how it works)
    20:07 Brain anatomy details (neural networks)
    27:16 Simulation #2 (mutation and adaptation)
    32:12 No mutation (mutation rate to 0)
    34:17 Different brain sizes
    35:52 Simulation #3 (brain sizes)
    41:13 Genome encoding
    42:42 Simulation #4 (the "kill" neuron) (kinda sus)
    49:57 Software used
    52:14 Simulation #4.2 (radioactive challenge)
    55:35 The end

    • @User-ed5tg
      @User-ed5tg 2 ปีที่แล้ว +12

      hardest quote 2021

    • @Spagghetii
      @Spagghetii 2 ปีที่แล้ว +1

      Your evolved!

    • @norpriest521
      @norpriest521 2 ปีที่แล้ว +1

      But what the hell this is all about? 😂
      I don't understand anything

    • @lorenzo689
      @lorenzo689 2 ปีที่แล้ว +1


    • @Alejo.Berrutti
      @Alejo.Berrutti 2 ปีที่แล้ว +1

      @@lorenzo689 Sussy Begula

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

    What a beautiful illustration of natural selection, the importance of mutation, and the value of brain size. Thanks, David!

  • @WilliamKiely
    @WilliamKiely 9 หลายเดือนก่อน +2

    This is a very high quality video and I'm very glad the algorithm recommended it to me. Commenting to pay it forward for future viewers!

  • @marcusr3666
    @marcusr3666 2 ปีที่แล้ว +707

    This was amazing. At no point in the video was I confused, bored, or even slightly distracted. I didn't even realize an hour had passed till you mentioned the the programs you used to make the simulator. Amazing talent and great idea, I loved every second of this. I can't wait to see the next video!

      @SINLEADSTOHELL ปีที่แล้ว +1

      Sin leads to hell, keep focused, the devil is on earth to destroy your soul. But God wants to give you everlasting Joy. But our sin is keeping this from happening. You must stop sinning and turn to Jesus Christ he is your only hope.
      He can save you from eternal suffering under the Earth, where hell is hot..
      Not everyone who calls me their Lord will get into the kingdom of heaven. Only the ones who obey my Father in heaven will get in.
      Matthew 7:21.....

    • @noche5241
      @noche5241 ปีที่แล้ว +20

      @@SINLEADSTOHELL Bro that's way off topic

    • @noche5241
      @noche5241 ปีที่แล้ว +9

      anyhow i loved when he just went to onto gen 50 and said "those are the great great- oh never mind"

    • @Mark-Wilson
      @Mark-Wilson ปีที่แล้ว +4

      @@SINLEADSTOHELL uh what?
      what does this have to do with the topic of the vid?

    • @universe1879
      @universe1879 ปีที่แล้ว +2

      @@Mark-Wilson your average extreme zealot I guess

  • @MrOoof
    @MrOoof 2 ปีที่แล้ว +140

    1:45 The conditions for evolution
    8:00 Simulation #1 - How it works
    20:30 Brain anatomy
    27:15 Simulation #2 - Mutation and adaption
    34:20 Brain sizes
    35:50 Simulation #3 - Brain sizes
    41:15 Genome encoding
    42:45 The "KILL" neuron
    50:00 Software used
    52:15 Simulation #4 Radioactive challenge

    • @gregknight6376
      @gregknight6376 2 ปีที่แล้ว +3

      Thank you

    • @Ara-ot2yq
      @Ara-ot2yq 2 ปีที่แล้ว +1

      There wasn’t a minute i wanted to skip.

    • @mikkirefur
      @mikkirefur 2 ปีที่แล้ว +1

      The conditions for evolution. 1 = create an intelligently designed software program. haha. the irony.

    • @MrOoof
      @MrOoof 2 ปีที่แล้ว +2

      I was just stamping for myself originally. thanks for the likes though 😀

  • @inkblot4
    @inkblot4 10 หลายเดือนก่อน +1

    This is absolutely fascinating! Thank you for such a great video x

  • @fabiodibitetto1481
    @fabiodibitetto1481 9 หลายเดือนก่อน +2

    This is awesome. Interesting, useful and well explained, both the concept and the idea of how it was done. There should be much more of this kind.

  • @travislevell1329
    @travislevell1329 ปีที่แล้ว +1597

    So this guy came out here and dropped this absolutely banger of a video, got 3M views and 40K subscribers and said “I’m out!”
    I was hoping I could binge a ton of his videos. This was so captivating, entertaining and educational!

    • @ralphwiggum1203
      @ralphwiggum1203 ปีที่แล้ว +44

      fr like why we all getting this suggested now 😭

    • @trickstur5994
      @trickstur5994 ปีที่แล้ว +21

      Fr. Amazing work. The world needs more.

    • @griffin3510
      @griffin3510 ปีที่แล้ว +15

      @@VanyaTheSlavic are you okay

    • @matthewe3813
      @matthewe3813 ปีที่แล้ว +5

      @@VanyaTheSlavic He could be dead for all we know.

    • @slowsloth3809
      @slowsloth3809 ปีที่แล้ว +2

      ​@@VanyaTheSlavic that.. was a joke.
      you need help?

  • @geronimo5537
    @geronimo5537 2 ปีที่แล้ว +334

    This man needs to rent a super computer to really do some amazing things. Lets get him there.

    • @the_Googie
      @the_Googie ปีที่แล้ว +10

      let him cook

    • @zenhookah9296
      @zenhookah9296 ปีที่แล้ว

      agreed need a super computer for sure

    • @dmitryburlakov6920
      @dmitryburlakov6920 ปีที่แล้ว

      Watch carefully what happens around 40 minute 🙂 increased capabilities doesn’t really affect organisms performance already, not nearly as much as going from 2 to 8 neurons. You can have whole computation power in the world, but it wont really unfold any discoveries. Regular computers are already very capable of doing very complex simulations, even what’s shown is amazing. Having more power is cool, but I guess what I want to say is that you can do a lot even with mediocre hardware, don’t think you need a supercomputer to carry those experiments.

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

    Super cool video! Hope to see other projects on this channel

  • @Janure85
    @Janure85 7 หลายเดือนก่อน +2

    Not exaggerating: The best video I have seen on TH-cam so far

  • @Dedicatedfollower467
    @Dedicatedfollower467 ปีที่แล้ว +426

    This is genuinely one of my favorite videos on TH-cam. If I could point to one piece of media that genuinely changed my life forever, it would be this video, because it launched my interest in programming neural networks, which eventually led to me going from a freelance artist background to a data engineer.

    • @GwynC
      @GwynC 11 หลายเดือนก่อน +12

      That's amazing. I'm happy for you, friend

    • @TheEvolNemesis
      @TheEvolNemesis 7 หลายเดือนก่อน +7

      What's pretty interesting to me is that this exact method of programming neural net AIs is currently one of the most successful and promising machine learning models for many applications. It's a pretty perfect (and cool) example of the NEAT algorithm and a great illustration of how it works as a general method to make neural net AIs that are effective at solving all kinds of problems..

    • @Anonymous-8080
      @Anonymous-8080 3 หลายเดือนก่อน


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

      That’s amazing, what’s even more interesting is he hasn’t uploaded in 3 years. Bro probably has no clue he just changed the trajectory of your entire life

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

      You should be making videogames bro! At least one indie game from you would probably rock

  • @brandonmidkiff8200
    @brandonmidkiff8200 ปีที่แล้ว +400

    01:45 The Conditions for Evolution
    08:00 Simulation #1 - How it Works
    20:30 Brain Anatomy
    27:15 Simulation #2 - Mutation and Adaptation
    34:20 Brain Sizes
    35:50 Simulation #3 - Brain Sizes
    41:15 Genome Encoding
    50:00 Software Used
    52:15 Simulation #4 - Radioactive Challenge

    • @TheElectricalls
      @TheElectricalls ปีที่แล้ว +4


    • @brandonmidkiff8200
      @brandonmidkiff8200 ปีที่แล้ว +3

      @@TheElectricalls Thank you for pointing that out.

    • @TheElectricalls
      @TheElectricalls ปีที่แล้ว +1

      @@brandonmidkiff8200 o>

    • @ChaineYTXF
      @ChaineYTXF ปีที่แล้ว +1

      You, Sir, are a gentleman and a scholar

    • @brandonmidkiff8200
      @brandonmidkiff8200 ปีที่แล้ว +1

      @@ChaineYTXF You are certainly most welcome.

  • @techmonkie2199
    @techmonkie2199 8 หลายเดือนก่อน +2

    This was incredibly well done and enthralling to watch. I learned a lot, and stuff like this is legitimately inspiring. Thank you for all the effort you put into this.

  • @michaelroqueburg
    @michaelroqueburg 6 หลายเดือนก่อน +3

    That little dot at 13:58 going the opposite way of every other dot is super relatable.

  • @lesfreresdelaquote1176
    @lesfreresdelaquote1176 2 ปีที่แล้ว +125

    This is by far the most elegant description of genetic algorithms I have ever seen. Thank you for sharing.

    • @luciferangel8232
      @luciferangel8232 2 ปีที่แล้ว

      Hopefully he programming the software made him able to explain how it works

    • @drVainMD
      @drVainMD 2 ปีที่แล้ว

      Couldn't agree more!

  • @LeKhang98
    @LeKhang98 2 ปีที่แล้ว +496

    I wish for an Evolution game like this where even non-programers can make their own input & output actions and many other things like resource, environment, speed, size... I seriously can't wait to see what I and many other people could come up with such a game. Love this video.

    • @richardward6747
      @richardward6747 2 ปีที่แล้ว +21

      Evolution and AI seems to be barred from games as an intelligence inhibitor.. which really sucks.. a game such as worldbox would be a great starting point but it, an many like it are run by.. evil.
      I'm not sure on the best strategy to fight this yet. Suggestions welcome.

    • @migolan6606
      @migolan6606 2 ปีที่แล้ว +27

      @@richardward6747 The ol' "if you want something done right, you gotta do it yourself" seems like the simplest way. Find some people that aren't greedy and evil and who share the same passion and do it. I'd help but... Today i was wrecking my brains trying to understand how to create classes and to count how many times a number occured in a list... In python... So yeah, good luck. I'd love a video game with hyper realistic characters and consequences. Also a great crafting, harvesting/gathering and skills system. But then again, if you were to acomplish what i imagine... You'd create a whole new, real world with real people, although seen as npcs by many of us (and i think we all know how gamers treat npcs)

    • @richardward6747
      @richardward6747 2 ปีที่แล้ว +5

      @@migolan6606 thanks man.. I would love to program a good game, while I ain't a great programmer I probably could.. but more important things require my attention at this time.. maybe eventually.

    • @migolan6606
      @migolan6606 2 ปีที่แล้ว +8

      @@richardward6747 do give me notice when you start, if you still remember. If i survive the wars, the ¥|RU$ and whatever else this decade throws at us and we still live in a 'peaceful' world, i'd love to make such a game too

    • @migolan6606
      @migolan6606 2 ปีที่แล้ว +5

      @@richardward6747 also good luck with whatever requires your attention

  • @augustodamascenoai
    @augustodamascenoai 5 หลายเดือนก่อน +1

    I had this idea of the evolution of some entities composed by a neural network to read ambient inputs and produce behavior some time ago but never put it into practice. It's wonderful to see a similar idea materialize. Thanks!

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

    You tell everything that needs to be told (tech, tools, background). This is awesome.

  • @JimmyHey
    @JimmyHey 2 ปีที่แล้ว +619

    This man is so wholesome in how he explains all of this stuff, it's like a 2nd Bob Ross. I wholeheartedly loved it.
    I love that I went down this rabbithole of weird minecraft glitches to Trackmania Tool Assisted Speedruns and then this gem of a video.
    You know, I hate to admit it, but sometimes the Algorhythm does not fail.

    • @Ascyt
      @Ascyt 2 ปีที่แล้ว +12

      I love how he calles his community "friends"

    • @zer0p1us
      @zer0p1us 2 ปีที่แล้ว +17

      I kid you not that is the same exact route I took to get here, Minecraft, TrackMania and then this beauty

    • @suspiciousbacon
      @suspiciousbacon 2 ปีที่แล้ว +15

      im actually confused, i watched someone build a computer in minecraft, watched a video about cheating in trackmania speedruns and then ended up here

    • @larafields5169
      @larafields5169 2 ปีที่แล้ว


    • @JimmyHey
      @JimmyHey 2 ปีที่แล้ว +1

      @@larafields5169 I agree! Couldn't have said it better myself.

  • @fy-
    @fy- 2 ปีที่แล้ว +14

    The reason the killing creatures thrived is because there's no repercussion and almost no cost for killing, it only takes up one neural connection slot. There's also the fact that the more they kill, the more they get to reproduce. It would be interesting to see what happens if there was more mechanisms related to killing, for example:
    - make creatures unable to move after killing for some turns
    - give creatures the ability to choose to avoid reproducing with killers
    - give creatures the ability to defend themselves

    • @tim40gabby25
      @tim40gabby25 2 ปีที่แล้ว +1

      Starvation, or it's equivalent.

  • @marwanmakarem5860
    @marwanmakarem5860 8 หลายเดือนก่อน +1

    I just watched this video. It totally deserves a podium in TH-cam. Thank you a lot for had taken the time to create such a quality and valuable video like this. ❤
    I think is the first time that I watched a whole one-hour video.

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

    That was amazing to watch, Thank you for programming This!

  • @bejoscha
    @bejoscha 2 ปีที่แล้ว +151

    As one of the "programmer's friends", I very much appreciate the details providing just enough info to give me the urge to just do it myself as well... very nice video. Thanks to Posthumanist for "reviving" it and hence bringing it to my attention.

  • @nathanlewis8217
    @nathanlewis8217 2 ปีที่แล้ว +1045

    Wow, I cannot believe I haven’t come across this video sooner. My interest in artificial intelligence began with the idea of natural selection simulation. You show your processes in such a way where there is inspiration to all viewers. I’ve taken away the logic and mathematic concepts in order to perform my own simulations in a more efficient and well thought out manner. I hope to see more AI from you in the future.

    • @kyleyoung2464
      @kyleyoung2464 2 ปีที่แล้ว +7


    • @png5287
      @png5287 2 ปีที่แล้ว +5


    • @ScottSavageTechnoScavenger
      @ScottSavageTechnoScavenger 2 ปีที่แล้ว +28

      According to Vid-IQ TH-cam wasn't really promoting this year-old video until two months ago and then suddenly - Boom! Tons of views.

    • @ayushnayak6138
      @ayushnayak6138 2 ปีที่แล้ว +9

      You should explore complex systems

    • @timbalmer3840
      @timbalmer3840 2 ปีที่แล้ว +7

      This is really good. You need a Patreon!

  • @realizedconcept
    @realizedconcept 5 หลายเดือนก่อน +4

    30:41 Nice

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

    Oh my days this video is amazing. Thank you for taking time to make this

  • @HappyBirthdayGreetings
    @HappyBirthdayGreetings 2 ปีที่แล้ว +370

    Wow, have just watched a minute of this video and know it is going to be exciting

    • @paulmillard9535
      @paulmillard9535 2 ปีที่แล้ว +4

      ALL THEORY...Look up outa the tv mandates...g..trainz hew man isum..

    • @darylingoteborg3178
      @darylingoteborg3178 2 ปีที่แล้ว +9

      @@paulmillard9535 “g trainz hew man isum”
      - please articulate if you want anyone to appreciate what you may have to say

    • @stanleydavidson6543
      @stanleydavidson6543 2 ปีที่แล้ว

      its all bull shit data in dna is not undersude i believe in nateral satlicion but not evelution mutions are damiage

    • @darylingoteborg3178
      @darylingoteborg3178 2 ปีที่แล้ว +6

      @@stanleydavidson6543 though the credibility of your belief lacks legibility or factual reference, I’d dedicate time to follow up any sources you have if you can provide links as a counterpoint to this extremely detailed and widely respected area of study.
      Much more worthwhile to share links and peer reviewed scientific data than argue our relative understanding of this phenomenon

    • @robertjanbout1437
      @robertjanbout1437 2 ปีที่แล้ว

      For real, is any of the comments on this comment real?

  • @Neiyasaka
    @Neiyasaka 2 ปีที่แล้ว +131

    This was amazing to watch! As a biologist its sometimes hard to encapsulate the enormity of the genome but with small neural networks like this it can show evolution so succinctly, thank you!

    • @lollidomoni9523
      @lollidomoni9523 2 ปีที่แล้ว +14

      I see you want to create cat girls

    • @fatitankeris6327
      @fatitankeris6327 2 ปีที่แล้ว +6

      @@lollidomoni9523 Don't we all?

    • @Sabamonster
      @Sabamonster 2 ปีที่แล้ว +1

      @@fatitankeris6327 Lmao. Underrated comment.

  • @nosuchthing8
    @nosuchthing8 9 หลายเดือนก่อน +4

    This should have a billion views

  • @jehree9850
    @jehree9850 8 หลายเดือนก่อน +1

    This is my favorite TH-cam video. Period. Incredible stuff.

    @PUNCHEDPUNCHEDPUNCHED 2 ปีที่แล้ว +183

    "Awe man this is so cool, now give them the ability to *fight* for a grid point"
    "Now let's talk about, the *kill* neuron"

    • @flueepwrien6587
      @flueepwrien6587 2 ปีที่แล้ว +2


    • @christopherboyle2403
      @christopherboyle2403 2 ปีที่แล้ว +1

      @@flueepwrien6587 lel? a french lol?

    • @christopherboyle2403
      @christopherboyle2403 2 ปีที่แล้ว +4

      I was hoping they would use the pheromone for reproduction but also so the kill population can track them down. So the selection would be did they move to adjacent squares and were they similar enough to reproduce and the selection out of population would be did you get killed (eaten), or age > 100. run and see how long the eaters have before cannibalism and highlander (there can be only one) sets in or as it would be difficult to reproduce when you want to kill those beside you how long until the eaters die out.
      A hunger number would also be good. No more resetting the population to a known quantity just let it rock.

    • @IKnowForSure
      @IKnowForSure 2 ปีที่แล้ว

      Hi David
      I may have a simple solution for the kill neuron: change the scenery :)
      Most of the comments here assume that the genenpool needs (rather complex) additions to solve the problem of the kill gene. But that is not how evolution works. Evolution is blind, but is perfectly able to “control” the kill gene, probably even with as few as 2 existing genes and a few connections.
      Also David reasons backwards when he wonders about his kill gene. He forgets to think about one of the 5 key features that drives evolution. Selection.
      David creates selective environments, but wonders why evolution is so cruel to allow for a killer gene to kill so many, even when none of these environments selects for traits related to killing, because there is space enough for everyone to fit in the box. What does it mean?!
      It means that evolution is blind.
      His environments don’t select for killers, but they also don’t select for non killers. Evolution is blind. If the environment doesn’t care about killers, then evolution doesn’t care (that is.. as long as there is at least one survivor at the end of the generation to fulfill reproduction)
      To solve (control) the “issue” of the killer gene, create a selective environment that selects for it.
      The kill gene works by bumping into each other, right?
      Create a selective environment based upon bumping into each other for reproduction.
      If the kill gene is active they are not able to reproduce. 2 genes organisms in this environment would quickly select for not having a kill gene active.
      To maintain a kill gene but not use it always (control urge to kill) needs more intelligence, but could be achieved with maybe 3 to 5 genes already and a lot of connections. And of course a selective environment; by using the first rule (Mating) + an area too small to fit the whole population (competition for space) should do the trick.
      David thanx for the video! Hope you will continue making videos and research evolution. I’ll follow you

  • @Makebuildmodify
    @Makebuildmodify 2 ปีที่แล้ว +430

    I would love to see a continuous simulation instead of a generational random redistribution. Instead, I think, adding a birth rate along with a slowly changing environmental challenge would be more analogous to what we see here on earth. This would replace simulation cycles with time, more like a real world circumstance.

    • @MrGreensweightHist
      @MrGreensweightHist 2 ปีที่แล้ว +30

      Step at a time.
      Such things always start oversimplified then grow in later iterations :)

    • @ita-or8ze
      @ita-or8ze 2 ปีที่แล้ว

      Maybe try to search the bibites

    • @randallwalkerdiaz1002
      @randallwalkerdiaz1002 2 ปีที่แล้ว +13

      Easy. Learn to code and do it!

    • @Makebuildmodify
      @Makebuildmodify 2 ปีที่แล้ว +6

      @@randallwalkerdiaz1002 good idea!

    • @Foomando
      @Foomando 2 ปีที่แล้ว +3

      @@Makebuildmodify you’ll basically be up there with Tesla if you do since you’re a great builder😏🤙🏽

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

    This was fantastic! I'm tempted to spend several months of my life working on exploring this project

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

    This is one of the best videos I've watched on TH-cam, ever! Thank you for this gem!

  • @sandybathwater8385
    @sandybathwater8385 2 ปีที่แล้ว +70

    I was hoping in the radioactive example that the mutation rate went up the more radiation a critter was exposed to. :)
    You totally inspired me. I am going to be coding instead of sleeping now. :)

    • @chrisharvie-smith486
      @chrisharvie-smith486 2 ปีที่แล้ว +7

      He's using radioactive Cytosine already. @3:42 The Nitrogen has 5 bonds rather than the usual 3 NH3= :-)

  • @keesdevreugd9177
    @keesdevreugd9177 ปีที่แล้ว +121

    Holy moly. After grinding coding challenges for three years I got a bit tired of the whole ordeal, but this one sure relights the fire.
    Can't wait to create a simplified version of this.

    • @tylermanning4321
      @tylermanning4321 7 หลายเดือนก่อน +5

      When you do can you link it? im genuinely wanting to run this for myself. Ill pay

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

      ​@@tylermanning4321I'm thinking about it too 😂

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

      how far did u get

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

      Since this isn't happening I'll just make it. Give me like a week tops.

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

      @@hellvet3 u got thisss

  • @rrp2600
    @rrp2600 8 หลายเดือนก่อน +4

    I was working on my own evolution Sim game that I was getting bored with. I came here for some fresh ideas. This video delivered. The neural net stuff is next level.

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

      There is a similar algorithm used to train neural net AIs called NEAT. Genetic algorithms that work like this (testing groups of nets, keeping the survivors, replicate and either combine or mutate) are turning out to be one of the most successful AI machine learning models.

  • @thereal4815
    @thereal4815 22 วันที่ผ่านมา +1

    Incredible video, sparked a bit of interest in me about simulating evolution

  • @Klayperson
    @Klayperson 2 ปีที่แล้ว +329

    "Those who don't [reproduce] were just unlucky with mutations, and they don't have the brain wiring to know how to make it to the spawning areas"
    And i took that personally

    • @Its_A_Payne
      @Its_A_Payne 2 ปีที่แล้ว +3

      I like this one

    • @mikkirefur
      @mikkirefur 2 ปีที่แล้ว +4

      well if it makes you feel better, mutations are just another word for cancer and vice versa.

    • @timr3621
      @timr3621 2 ปีที่แล้ว +7

      @@mikkirefur No??😂 Mutations don't necessarily result in cancer.

    • @mikkirefur
      @mikkirefur 2 ปีที่แล้ว

      @@timr3621 no that is right. Usually the hardware & software and self repairing nature of programmed dna can fix itself. What a design !

    • @wmpratt2010
      @wmpratt2010 2 ปีที่แล้ว

      Or they choose career over family and hit he "wall".

  • @nullifier_
    @nullifier_ 2 ปีที่แล้ว +490

    "and it also has to be sufficiently socially adept to find a mate"
    ok man, there's no need to attack me like that.
    memes aside, this is a super fascinating video, i have skipped a total of 0 seconds.

    • @ocram1616
      @ocram1616 2 ปีที่แล้ว +3

      Being socially adept to find a mate, if included in the simm, it would yelled much different results in the Kill switch simm.

    • @neki134
      @neki134 2 ปีที่แล้ว +1

      Sad fuck

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

    Hoooly! I've been thinking about trying genetic programming for a while now, and this is probably my favorite video on YT now! Thank you so much for this! This is incredible.

  • @ridaniye
    @ridaniye 5 หลายเดือนก่อน +2

    This is just a masterpiece. Finally I can understand totally what the neural network, evolution and mutation at the same time.

  • @zombiesalmon4997
    @zombiesalmon4997 2 ปีที่แล้ว +328

    Oh my god this is the coolest shit ever. This would make an incredible video game. Instant subscription

    • @Ichthyodactyl
      @Ichthyodactyl 2 ปีที่แล้ว +9

      Not exactly a video game and I'm not sure how much/where it is still available but there used to be a pretty neat 3D evo sim called 3DVCE that evolved 3D creatures composed of evolved physical bodies that moved with simple, evolved neural networks. The selection options were pretty limited but you could get some really really interesting results if you ran the sim long enough.

    • @ayylmao394
      @ayylmao394 2 ปีที่แล้ว +4

      brainlet redditor take

    • @nekozombie
      @nekozombie 2 ปีที่แล้ว +1

      @@ayylmao394 cut them some slack

    • @WrestleGermainia
      @WrestleGermainia 2 ปีที่แล้ว +5

      @@ayylmao394 This video but interactive. Who wouldn't want that?

    • @DaveT1m
      @DaveT1m 2 ปีที่แล้ว +1

      The closest thing that I know of is bibits (check it out on TH-cam)

  • @thienphuchuynhtrieu6063
    @thienphuchuynhtrieu6063 ปีที่แล้ว +50

    I love the way his voice becomes so menacing at 30:20. "but NOW, lets upset their peaceful little world". This is some supervillain stuff

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

    Thank you for the simulations

  • @nerdolo748
    @nerdolo748 10 หลายเดือนก่อน +2

    I studied cognitive science as well as some SI related things during current data analysis MS and this is really an amazing work! You took a bunch of things I knew in theory and implemented them from scratch in such detailed manner. I'm pretty sure you could use this code to do something worth a scientific article.

  • @stonewirz2581
    @stonewirz2581 ปีที่แล้ว +195

    As a Biologist myself and with only a rudimentary knowledge of coding this is very interesting and a joy to watch!
    Cheers :)

    • @Eldritch_Balloon
      @Eldritch_Balloon ปีที่แล้ว +1

      38:30 How it works is when N0 activates, N1 suppresses N0, and suppresses itself as well. This little solution here has this result: N0 triggers, triggering N1, which suppresses N0 and itself, effectively resetting the neural network.

    • @noahgary6038
      @noahgary6038 11 หลายเดือนก่อน +12

      Don't be discouraged by your level of understanding of coding. I've been a developer for 10 years and 95% of my work is very rudamentary. It will also get better as you build new things. Take python and your best ideas and run with it! I took lots of biology classes in college and there's plenty of work to do in your field!

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

      I hope you didn't waste your time on the learn to code meme since chatgpt can do all the stuff for you now lmao

    • @ThecouncilOf8
      @ThecouncilOf8 3 หลายเดือนก่อน +1

      ​@@Noqtisyou are why idiocracy is a documentary not a comedy smh

  • @ReflectingMe2024
    @ReflectingMe2024 2 ปีที่แล้ว +66

    That was without doubt, one of the most fascinating videos I have seen on TH-cam for some time. Thank you for creating and posting it, David.

    • @lt3742
      @lt3742 2 ปีที่แล้ว +1

      800 generations at max and then drops nearly 1000x in 100 generations? and you are not doubting at all? :D im sorry to pull you back into reality but Jesus Christ is on the throne and the world is about to get judged.

    • @matteosposato9448
      @matteosposato9448 2 ปีที่แล้ว +1

      @@lt3742 uh?

    • @lt3742
      @lt3742 2 ปีที่แล้ว

      @@matteosposato9448 seek for Jesus Christ of Nazareth while He may be found

    • @ReflectingMe2024
      @ReflectingMe2024 2 ปีที่แล้ว +2

      @@lt3742 Errrm, what the heck has this to do with my reply. Nothing is what.

    • @Matityahu-the-God
      @Matityahu-the-God 2 ปีที่แล้ว

      @@lt3742 wtf are you on about? If God is real, he's a psychopath. I'll step to the left if his bastard son shows up, no way in hell would I spend an eternity with an emotional maniac like that.

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

    One if the best videos I have ever watched on TH-cam. Bravo!

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

    I cant believe how seemingly simple (not simple at all) this program is, yet it's utterly fascinating and enlightening! Incredible! Thank you for this!

  • @justinwhite2725
    @justinwhite2725 2 ปีที่แล้ว +246

    38:32 oh my God. I think that's a primitive form of memory.
    I was thinking about the loop in the first run how the internal neuron had a negative loop to itself. I intuited that it was basically a flipper that flipped the neuron back and forth so that it wojld move randomly every other step.
    This seems to basically remember what it did for the last 2-3 steps. It's got the same negative self flipper but it also inverts itself into the neuron linked to thst sensor.
    N1 basically inverts itself every step while also adding influence back to N0. Which means certin locations of x over time will do different things, depending on the cycle.
    Basically it alternates between moving west and moving random, but not every cycle. Usually it will do this 50/50 but the higher Lx gets, the stronger the strength of each subsequent flip will be. But N1 also inhibits N0 so it only really does this every other step. OH! Because it only wants to strengthen it when it's already strong, otherwise it would become neutral on the off cycle. Brilliant!
    I see that Rnd (random?) is linked to move random. So basically the stronger N1's flips are it will eventually overpower Rnd and move west more often instead of random. Or if Lx is shrinking, it will move random more often than west.

    • @krozareq
      @krozareq 2 ปีที่แล้ว +34

      Good catch. It works similar to a computer memory latch

    • @blissful4992
      @blissful4992 2 ปีที่แล้ว +11

      40:18 lol you should check this one out, it looks extremely impressive however if we compare that to our brains its not even like 0.001%

    • @Dnallohes
      @Dnallohes 2 ปีที่แล้ว +15

      I'm trying to make my own (much simpler) project following the same ideas, but I'm stuck at the internal neurons. I don't understand what I want from them, and it seems like you might. I tried poking around in the linked code, but haven't found it yet. If you could point me in the right direction, or share a resource that explains the concept, I'd appreciate it :)

    • @jessefinnerty430
      @jessefinnerty430 2 ปีที่แล้ว +2

      @@Dnallohes They're just there to be generic intermediate nodes that are able to connect to each other and pass signals around. Just having them available for this increases the number of different possible ways that the input signals can flow through the brain and be linked to each other, and therefore the possible complexity of the AIs behavior. If you're familiar with electrical engineering, you'll see quickly that one of the things neurons can do, just by being connected to each other in certain ways with signals going through them, is form various kinds of circuits, including things like logic gates (AND/OR/XOR/NOT, etc), timers, and memory circuits. The signals from the inputs going through these circuits allow the neural net brains to hold and act on more possible informational states, process the inputs in more complex ways, and even learn to correlate them (since the internal neurons can connect to each other as well).
      The more neurons & connections available in a neural network, the more complex its circuitry, and therefore its processing, can ultimately get. It can develop memory, learn to recognize patterns, adapt to changing conditions, get and use feedback on the sensory results of its previous actions, etc, ALL just depending on precisely how the neural circuits in its brain are connected. The neat thing is you don't have to understand what it's doing or program the neurons to do any of this, just let them connect however they want and mutate randomly. Over generations of selection, the successful surviving neural networks will become smarter and smarter (up to their capacity), evolving the right wiring to succeed (and/or call down SkyNet... but that's what you get for activating the 'kill' neuron...)

    • @user-kh3bl1go9k
      @user-kh3bl1go9k 2 ปีที่แล้ว +1

      @@blissful4992 it’s insane, the idea that their brains are that complicated for them to do something so simple makes me appreciate us as people

  • @jotarokujo3603
    @jotarokujo3603 2 ปีที่แล้ว +375

    This was incredibly interesting as a biology student. I hope your channel grows and I get to see a lot more content like this. Best of luck to you.

    • @davidrandallmiller
      @davidrandallmiller  2 ปีที่แล้ว +117

      Thanks, and good wishes for your journey in the world of biology.

    • @inferno9924
      @inferno9924 2 ปีที่แล้ว +35

      Marine biology I assume?

    • @howlu9086
      @howlu9086 2 ปีที่แล้ว +17

      Is this a jojo reference!!!

    • @inferno9924
      @inferno9924 2 ปีที่แล้ว +6

      @@howlu9086 maybe...

    • @chunkle5655
      @chunkle5655 2 ปีที่แล้ว +13

      Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont

  • @Schwiegermutter
    @Schwiegermutter 3 หลายเดือนก่อน +1

    It's so nice listening to you. You are the Bob Ross of what ever it is you are doing here.

  • @cashel1111
    @cashel1111 8 หลายเดือนก่อน +5

    I initially thought that making the output neurons do explicit actions felt like cheating, however since the connections are chosen by the creature and they have to determine usefulness for themselves this is actually perfect!
    a great video would be just more scenarios, especially ones that change survival requirements at some part of the way through
    also, the radioactivity should make mutation frequency increase! so many possibilities!

  • @Laezar1
    @Laezar1 2 ปีที่แล้ว +522

    40:45 One interesting thing is that in reality, neurons take energy to use so they increase the needs of the organism. And as you shown in the exemple there is diminishing return when it comes to the result of increasing brain size. The smallest brain size was awful, but just a few neurons were enough to make it almost as good as the biggest brain.
    This probably is one part of the explanation why most organisms in nature are extremely simple. Only the most successful creatures with bigger brain benefit from it, while smaller brains require less energy and have less pressure to succeed.
    It's obviously more complex than that but there is definitely a tension between the cost and benefit of brain size. While in your simulation if brain size could evolve alongside brain structure (a gene causing extra genes or neurons to appear in the next generation) there would probably be a complexity creep that would never stop because there is no limit to growth, at least until it becomes unsustainable and crashes your computer and oh my god this became a global warming analogy! Except that in this case they would rip the fabric of spacetime without even having any way to realize they have an effect on it. Creepy...

    • @jinminetics599
      @jinminetics599 2 ปีที่แล้ว +10

      This should be a movie

    • @Laezar1
      @Laezar1 2 ปีที่แล้ว +16

      @@jinminetics599 I mean, it's more or less the plot of gurren lagann.

    • @Laezar1
      @Laezar1 2 ปีที่แล้ว +2

      @@TH-camTookMyNickname.WhyNot You do sound drunk indeed xD hopefully you can clarify when you sober up cause I have no clue what you're trying to say

    • @dochouse6911
      @dochouse6911 2 ปีที่แล้ว

      @@Laezar1 😂

    • @cameron6538
      @cameron6538 2 ปีที่แล้ว +5

      An interesting related idea is the observation that brain size changes tend to lag behind body size changes, that is to say, if your body is growing in size over evolutionary history, your brain size doesn't increase at a proportional rate.
      This had led to the hypothesis that reduction or gain in body size primarily leads to disparities between brain and body sizes. I seem to recall reading about size reductions in our primate evolutionary history for instance.
      Non-migratory birds tend to have more encephalization when compared to migratory birds - likely because nervous tissue is too energetically costly when competing with similarly expensive migration patterns where birds might have to fly thousands of kilometers. Our large brained non migratory birds dont have to worry with competing costs, they just need to support their larger brains. It's hypothesized that larger brained birds are more behaviorally flexible and can capitalize on niches that aren't available to smaller brained individuals.
      This would stratify where certain individuals of a species can survive (based on individual brain differences), acting as a soft reproductive isolation. Which may have contributed to the diversity of avians fauna today

  • @nathanstrogulski9432
    @nathanstrogulski9432 2 ปีที่แล้ว +482

    This is one of the most well-explained videos I've seen in TH-cam lately. You have a talent that should be shared with the world!

    • @haritmohansaxena732
      @haritmohansaxena732 ปีที่แล้ว

      ie, He needs to reproduce wih some scientist or mathematician

    • @ivsravindra
      @ivsravindra ปีที่แล้ว

      Bro He shared his creation in TH-cam so it will reach most of viewers around the world.

  • @JaneH1030
    @JaneH1030 5 หลายเดือนก่อน +2

    This is the most fascinating and brilliant video on how evolution works showing the beautiful simple and yet powerful mechanisms of the mother nature. Huge respect to David! I am so envigorated and inspired❤

  • @bluemond100
    @bluemond100 8 หลายเดือนก่อน +3

    I'm curious to see how they vary with more complicated selection processes, like having them struggle over food sources and finding a mate, and luckily he's given the source code. I've seen live evolution simulated in Unity by game developers, but the genomes usually just define some specific traits of the animal, while behavior is programmed, and mutation usually isn't introduced, only a randomization between two parents' traits.

  • @4ntig3n
    @4ntig3n 2 ปีที่แล้ว +260

    This was great to watch. I'm really glad the algorithm worked in your favour. I wish there was an easily approachable way to try out your software, as a microbiologist I am not that versed in getting stuff to run on linux. In any case, this is a great video, your narration and explanations are awesome :) Thank you for all the effort you put into this

    • @KKesiezie
      @KKesiezie 2 ปีที่แล้ว +10

      Don't you mean this was "great great great great great great great great great great great great great great great great great great great great great great great great great great" to watch?

    • @Ty-mf3vz
      @Ty-mf3vz 2 ปีที่แล้ว +2

      worked in his "favor"? Shouldn't it be subjective, unbiased??

    • @gandalfgrey91
      @gandalfgrey91 2 ปีที่แล้ว

      I’m sure there will be iPhone apps for this in a few years

    • @tomh5094
      @tomh5094 2 ปีที่แล้ว +3

      @@Ty-mf3vz the term worked in someone's favour doesn't imply that it isn't subjective or unbiased. It means exactly what you want it to mean. It basically means that despite the inherent randomness he got lucky that it worked out the way it did.

    • @docostler
      @docostler 2 ปีที่แล้ว +2

      @@Ty-mf3vz Unbiased? What makes you think the TH-cam algorithm is unbiased? In fact, they make a point of telling us of at least some of the biases they employ.

  • @SoupyOatmeal
    @SoupyOatmeal ปีที่แล้ว +294

    David , you have had two and one half million views in less than 2 years. That should tell you that you are very good
    at mtaking a complicated subject and explaining it in a way that people will listen to. It is a shame that you called it
    quits.I for one wish you had not made that decision. Best to you and thank you for all the effort and work you put in.

    • @conservingcommonsense4980
      @conservingcommonsense4980 ปีที่แล้ว +8

      I was so disappointed when I went to his channel and couldn't binge years worth of content...damn it

    • @artanaillazentujin3449
      @artanaillazentujin3449 ปีที่แล้ว +7

      he quit? whered you find that info? did he say why he quit?

    • @conservingcommonsense4980
      @conservingcommonsense4980 ปีที่แล้ว +4

      Men in black took him in as a researcher. Now doing top secret work.

    • @mikeoxlong7086
      @mikeoxlong7086 ปีที่แล้ว +1

      "two and one half" never understood this americanism. wonder if you ever say "two and two halves" or "two and three halves"? plus it just sounds wrong

    • @strelnagaming
      @strelnagaming ปีที่แล้ว +2

      ​@@artanaillazentujin3449 he only has 2 videos on his channel and hasnt posted in 2 years, pretty safe to say he either quit or died or something

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

    That was an hour well-spent. Thank you.

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

    Fascinating. Thanks to David for putting together this amazing video and thanks to the YT algorithm for deciding it's something I would like to see.