Coding Adventure: Ant and Slime Simulations

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ค. 2024
  • A small exploration of an algorithm inspired by ants, and some little experiments into simulating some of the behaviour of ants and slime moulds. I hope you enjoy!
    Source code (slime): github.com/SebLague/Slime-Sim...
    Source code (ants): github.com/SebLague/Ant-Simul...
    If you'd like to get support the channel, and get early access to future projects, you can do so here: / sebastianlague
    Links to some learning resources and cool videos / projects:
    Slime pattern paper uwe-repository.worktribe.com/...
    Slime write-up and cool examples sagejenson.com/physarum
    Ant simulation video by Pezzza • C++ Ants Simulation 1,...
    Slime video by Deep Look • This Pulsating Slime M...
    Physarum project by Michael Fogleman github.com/fogleman/physarum
    Chapters:
    0:00 Intro
    0:17 Traveling Salesperson Problem
    1:36 Ant Colony Optimization
    4:37 Creating a Visual Ant Simulation
    9:15 Unleashing the Ants!
    10:16 Side-tracked by Slime
    14:07 Single Slime Experiment
    16:02 Multiple Slime Species
    Music:
    Forest Overture by Yehezkel Raz
    Honey Bee Waltz by Kadir Demir
    Newborn by Roie Shpigler
    Joking by Kadir Demir
    Joyfulness by Kadir Demir
    Wakeup Call by Ran Raiten
    Anthill by Kadir Demir
    Synesthesia by Michael FK
    A New Horizon by Cloud Wave
    Selfless by Eleven Tales
    Reel by Anbr

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

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

    "This ant is too indecisive and not making much progress in its life" felt like a roast ngl

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

      I had just spent an unproductive few hours agonizing over some small tweaks to the script when I wrote that, so even though I took it out on the ant, it was more of a self-roast to be honest :P

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

      @@SebastianLague GAGAGAGAGAGAGA this is wonderful! PRANK! IT is terrible! I looked in the mirror and saw something UNPRETTY: my face. GAGAGAGAG! But I am happy agayn because I have TWO HOT GIRLFRIENDS and I make cool YT videos with them! Good evening, love and peace, dear seb

    • @GK-dw1fo
      @GK-dw1fo 3 ปีที่แล้ว +10

      @@AxxLAfriku Haha didn't expect to see you here tbh. :D Happy for you mate!

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

      @@GK-dw1fo wait, is he a troll or not?

    • @GK-dw1fo
      @GK-dw1fo 3 ปีที่แล้ว +13

      @@CommissarChaotic Not sure, but I'd say probably. I just see him in peoples' comment section all the time. He does make videos tho lol.

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

    "Come to think of it, I could have just taken two minutes to draw this in paint but... anyway..." - Spoken by a true programmer!

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

      Why do something in 10 minutes, when you can spend 10 hours to automate it.

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

      Why keep it simple when you can make it complicated ?

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

      "I have a strong aversion to my old code" Yeah hes a programmer alright

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

      So true, there's this one siple thing that I check once in a blue moon, but last time I decided to automate it. And for some reason, the naive me then thought it would be cool to use C as it should have resulted in a fast and native code (as I wanted it to run at startup, I wanted it to be as light as possible). A week later, I got it working, but at what cost...

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

      I do this everytime, automating is the best!

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

    Ants: "haha that's cute they sometimes make little loops"
    Slime: *in awe before the grandeur of existence and the universe*

    • @zenith_tetris
      @zenith_tetris 10 หลายเดือนก่อน +13

      Ants looping 💀

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

      @@zenith_tetris😅😊

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

    The Slime simulations has to be one of the most amazing things I have seen in a long time. I got goosebumps when the first one broke off and started expanding.

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

      Yea and it was a little bit sus

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

      At first, it looked like water bubbles to me on a glass surface. Pretty impressive stuff

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

      the question I'd like answered is: Why did they break off though?

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

      @@ozfresh the random kicked in

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

      Me too!

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

    Sebastian Lague video starter pack:
    - "I just whipped this quick & simple thing together"
    - compute shaders
    - darkmode theme
    - video ends before you want it to

    • @123TeeMee
      @123TeeMee 3 ปีที่แล้ว +63

      Sebastian would find a way of simulating the entire universe with compute shaders if he wanted to

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

      The worst part of his videos is the end

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

      @@fractal5764 And the best part is just before the end, which the whole video is building up to.

    • @LuisFelipe-oz9bd
      @LuisFelipe-oz9bd 3 ปีที่แล้ว +13

      - Piano/Classical music

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

    I was genuinely mesmerised by those slime shaders, it’s incredible how complex, beautiful patterns can be made from seemingly simple rules. Emergence really is a universal phenomenon

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

      simple rules but a LOT of processing power

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

      @@jupahe6448 surprisingly not, it's just a couple images and some math. sure it can be a lot with a million or so agents, but it's all quite simple at that level

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

      @@TheAechBomb Many iterations or instances of the object running those rules are needed, though.

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

      The beautiful thing about emergence is that it can build upon itself as well, resulting in all these layers of emergent phenomena building off of each other, increasing complexity along the way. Atoms interacted with atoms with simple rules, resulting in molecules. Molecules interacted with molecules, resulting in chemistry. Chemistry taking place in different environments with different external stimuli and repeating patterns likely gave rise to organic life through abiogenesis. Life interacting with the environment and the simple rules of evolution resulted in more complex life.
      And so on. One could also consider civilization as an emergent phenomena of humans interacting with other humans. All of this makes me wonder what the next possible "layers" are or could be.

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

      @@CrashingThunder Look inward, my fellow iterated particle system ;)

  • @Hagami_
    @Hagami_ ปีที่แล้ว +203

    Anyone else also wishing we could keep the slime patterns for wallpapers :D It looks amazing!

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

      Lively can have shaders as backgrounds. Someone could probably make this in an afternoon easily

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

      im making one for opera gx rn

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

      @@cacto1680 SEND ME DA LINK

  • @proprogramer4005
    @proprogramer4005 ปีที่แล้ว +175

    i have finally managed to code the slime mold simulation myself like sebastian did after being inspired by this video after ive seen it about 1.5 years ago! always wanted to try to recreate this mesmerizing simulaiton myself and got it working in the end!

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

      Q-Q ok

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

      Nice!

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

      Is it possible to make it into a screensaver?

    • @proprogramer4005
      @proprogramer4005 8 หลายเดือนก่อน +6

      @@itzmedb8290 ive thought about that as well… the way i have it working is with a unity compute shader and i suspect sebastian has it in a similar way tho im not sure.
      my pc is ramping up considerably when running the simulation so it wouldnt be much of a screen saver really

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

      How long have you been coding?

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

    “This ant is too indecisive and not making much progress in life.”
    ....

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

      its me :((

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

      Oh so like us

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

      *and I took that personally*

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

      i am ant. ant is me

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

      change your personal rules and you will get interesting patterns in life

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

    Probably my favourite series on youtube. Keep up the great work!

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

      Thank you :)

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

      What do you mean “probably”?

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

      Yeah definitely my favorite

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

      @@nix3l_ Yeah i know right!
      i mean it is my favourite series

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

      I'm sure that Sebastian Is the Most creative Content creator

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

    16:58 this looks like some sort of organically grown future display technology up close. So cool!

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

      A neural network computer with RGB bioluminescent mycelium display screen is something I now really, really want, and probably will never have.

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

      Ive thought the exact same thing

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

    4:04 The attention to detail in your videos is just breathtaking. Timing that to the hit in the music is incredible

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

    Now I'm just imagining flying my submarine-spaceship-plane around a procedurally generated planet, over procedurally generated mountains topped by procedurally generated clouds, and procedurally generated undersea caves full of procedurally generated fish feeding on procedurally generated slime mold. Then night falls and the procedurally generated sunset fades to reveal a night sky full of other procedurally generated worlds. This entire series leaves me lost for words.

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

      You need some procedurally generated words

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

      @@DanielAbeleira

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

      It would be really cool to see some kind of coding adventures mashup game/simulator, but alas that would take quite a long time for anyone to put together

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

      @@OrangeC7 Gimme like $100,000 and I'll do it.

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

      nms

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

    I need a Netflix series that is basically this level of production and explanation for various algorithms.

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

      Good lord my algorithm classes could be so so so much better. They are horrible as is.

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

      @Victor Joseph As a self taught code and in industry can I ask what resources you used. I am having difficulty finding any good resources they are either too easy or so out of my depth that I give up. So a link or two would be greatly appreciated.

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

      Sign me up I will binge that entire season in a single DAY.

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

      Shut up and take my money! 🧠

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

      yes

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

    Currently re-watching all these old Coding Adventures videos, and I can safely say this is one of, if not my favorite TH-cam series ever. Amazing work!

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

      Thank you, I’m happy you enjoy the series!

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

      @@SebastianLague Of course! It really inspires me to work harder on my projects, and even try to follow along in Rust, I've been working on a Chess engine for the past few months, (it's about 2000 on lichess right now) and I the ant simulation looked really fun, so I might try to make that as well! :D

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

      Fr, this is the only channel I’ve ever consistently rewatched videos on

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

      @@raphaelthorp5997 Yeah, I love how he makes them approachable for non-programmers, but also gives enough technical information for programmers as well

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

    For real, I could cry with the 14:07 experiment, it was so beautiful to watch and see it evolving with the music, very touching!! I just admire you my friend!

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

    When Sebastian says "there's much more to explore here" I cry everytime

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

      He's like the Bob Ross of progrmming.

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

      I know, my heart sank when I heard that, I didn’t want the video to end 🥲

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

    Boss: Make an efficient short path search algorithm
    Sebastian Lague: Done, here's an ant and a slime simulator
    Boss: ...

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

      You're fired!

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

      Don't do it like that! They'll hire you for my job!

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

      Boss: Make an efficient short path search algorithm
      Some random Researcher: *Runs off into the forest*

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

      @@blinded6502 YOU CANT FIRE ME I QUIT

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

    *Literally creates the beginning of existence and forms the universe*
    "So, these have been pretty interesting..."

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

    Up until finding this channel, I'd only been watching "how to create x" coding videos. Now I've just been watching this guy understanding about 3% of what's happening but being crazy impressed with what he achieves. With such a relaxing voice and audio scheme.

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

    Before: "Oh look a new Sebastian Lague video"
    After: "I should really learn compute shaders..."

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

      Every time i watch one of his videos

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

    Wow, just wow. The second I finish this deadline at work I'm dusting off my compute shader knowledge and making slimes, maybe I'll try it in 3D. Thank you for the ongoing inspiration!

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

      Good idea, I'd love to see how it looks in 3D!

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

      How is it 19 hours ago

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

      @@ippo_bhai i think patrons get an unlisted link

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

      Thanks

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

      good luck,compute shaders can be so satisfying yet also frustrating

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

    Devoting hours to develop a complex solution to something that already had a simple solution ready to go, and completely rewriting your existing code to produce a different version of imperfection are the hallmarks of a programming mind!

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

    I cannot say how often I've come back to this video. It might (in my eyes) be your best. The (audio-)visual spectacle you treat us to in the end is simply grandiose. Thank you.

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

    Sebastian: _literally creates life in a computer simulation_
    Also Sebastian: I got other stuff to do. I'll just leave this here.

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

      "I got other stuff to do. I'll just leave this here." - I reckon that's what God said too

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

      LEL, him in 2049, Coding adventure: creating parallel universe

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

      @@Greedygoblingames... Seventh day!

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

      comes back a few days later to check on the simulation and finds an entire civilisation trying to communicate with their god...

    • @redstoneninja3375
      @redstoneninja3375 3 ปีที่แล้ว

      @@bookend2002 lol

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

    "Imagine that you are a merchant going town to town selling cabbages"
    I'm getting some weird ATLA vibes and I have the urge to scream "MY CABBAGES!!"

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

      That's actually exactly what I was thinking of when I wrote that! :)

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

      Good to know i'm not the only one

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

      @@SebastianLague I half expected you to say that a group of 4 kids are ruining your business so you have to be as quick as possible

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

      I thought I was just making irrelevant connections again, apparently not!

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

      @@nitrogamer8222 Yes, the optimal cabbage route is the most optimal route to avoid the 4 kids...

  • @evanpruitt-crawford6990
    @evanpruitt-crawford6990 2 ปีที่แล้ว

    Yeah please definitely come back to this. Specifically on your observation about how organic all of this.
    I love your videos, especially your coding adventures. Keep it up!!

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

    The coding and simulation work are awesome, but what really ties it together is the brilliant editing! Your curiosity is inspiring :)

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

    So surreal to think how one can make such beautiful slime effects with just some seemingly simple rules.

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

      Reminds me of Conways game of life

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

      @@alejandrorosales2863 oh yeah, that's true
      I better check that out too

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

      Maybe because slime molds are relatively simple organisms

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

      @@bbjygm so are neural networks. They’re nodes with weighted edges yet they can produce exceedingly complex results. Sometimes u don’t hv to be complicated to look complicated

    • @jackp.1711
      @jackp.1711 3 ปีที่แล้ว

      Conway's game of life: -_-

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

    Wow, absolute mesmerizing work!

    • @Maite-AileenBrandt
      @Maite-AileenBrandt 3 ปีที่แล้ว +78

      It seems as if the magic words 'cabbage' and 'merchant' brought you here.

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

      Thanks! I remember watching one of your devlogs a year or so ago. Was looking cool back then, but just had a look at the latest one and it's looking phenomenal now -- awesome work!

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

      there is also visions of chaos where you can mess around with the slime simulations and others, assuming you can even run it

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

      @@SebastianLague Thank you so much Sebastian!

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

      @@SebastianLague Any chance you could release the Single Slime bits as potential screensavers?

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

    9:26 brings back dark memories of my old house

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

    14:41
    Shape: trying to be stable
    One random slime:
    Imma gonna end this man's whole career

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

    "A merchant, who travels from town to town, selling . . . cabbages, perhaps."
    I caught that reference

    • @jose.peraltabros
      @jose.peraltabros 2 ปีที่แล้ว +208

      No! Not my cabbages!

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

      My CaBbAgEs

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

      i dont know the reference help

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

      @@taureon_ It's from Avatar the Last Airbender :p It's actually an amazing show, I'd recommend checking it out even if it's just to see the cabbage merchant~

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

      @@taureon_ I second the recommendation to check out the show :)

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

    If we were still in the era of Screensavers being popular, you'd probably considered royalty in that domain.

    • @AmBush2048
      @AmBush2048 3 ปีที่แล้ว

      Exactly what I was thinking!

    • @youcefdz5598
      @youcefdz5598 3 ปีที่แล้ว

      i really like dark mode it's way relaxing for the eyes

    • @The4stro
      @The4stro 3 ปีที่แล้ว

      there's still wallpaper engine

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

      I'm still using xsreensaver to have a screensaver, just because they are so many nice ones. There is even a Covid-19 Screensaver.

    • @The4stro
      @The4stro 3 ปีที่แล้ว

      @@joshix833 of course there's a covid screensaver

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

    This stuff is so cool. I just discovered your channel, and it's like looking in a mirror to my thoughts about what I'd do all day if I didn't have to work.

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

    I used to watch carefully your blender tutorials, which brought me quite far, and nowadays, years later, I'm fascinated by your coding videos.. Keep your great work up, your content is so pleasant to look at !

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

    This should definitely be imported into Wallpaper Engine

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

      YES!!!!!!!

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

      nice pfp

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

      that would be terrible, wallpaper should be just 1 color without images, if it's not then you can't see the icons good

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

      @@celebezz my desktop wallpaper is an image and i can see the icons perfectly well.

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

      @@celebezz Well the people that use their desktop actively can just choose another wallpaper. I have everything i need either in Launchers or in my Taskbar. My desktop is empty, it's very peaceful and emphasizes the wallpapers i use.

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

    "I'd like you to imagine that you're a merchant, travelling from town to town, selling cabbages, perhaps"
    **Avatar Aang wants to know your location**

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

      I was wondering why that was familiar

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

      "My cabbages!!!!"

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

      @@NedJeffery it was my immediate thought.

    • @lukasmaclean9885
      @lukasmaclean9885 3 ปีที่แล้ว

      @@lordfelidae4505 same

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

    This is absolutely fascinating! You reminded me of why I love programming, and I love it even more after watching this video!

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

    I love that you brought the traveling merchant problem into this video off the rip and proceeded to blow my mind with ant colony optimization. I didn't know the problem could be solved in this way, and it gave me inspiration for some other ideas to try out for myself.

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

    Music is adding a lot to these!
    "Coding pretty slime mould isn't possible"
    "No... It's necessary"
    *zimmer vibes increase*

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

      @Bolt verse 14:26 to 12:36? Are you watching in reverse?

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

      @Bolt verse I can totally see how you typo'd 14:41 to 12:36 - common error... /s

    • @defryingpan4290
      @defryingpan4290 3 ปีที่แล้ว

      yes.

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

      Interstellar, eh?

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

    "I have a strong aversion to my old code so instead of reusing that project like a reasonable person, I began reimplementing it all from scratch." -- So it's not just me!

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

      "I could have taken 2 minutes to draw this in paint" - We all have been there 🤣

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

    First video I've seen from you and you got a new subscriber because I loved this video. Those patterns by both the ants and the mold were mesmerising. Keep up the good work! ♡

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

    you just sound so darn pleased by yourself and your work all the time. you sound like you're smiling, it really captures my attention!

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

    This is absolutely stunning

    • @Bossman50.
      @Bossman50. 2 ปีที่แล้ว

      Hi

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

      @Solve Everything q

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

      You're stunning!

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

    The dramatic music was not overly dramatic at all, this was incredibly beautiful to watch

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

    This work is gorgeous and intriguing. Thanks for posting it and including clear references.

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

    I want a 2 hour version of those visuals, please oh please

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

    I‘m awestruck. This has got the be the best produced video of yours. Truely amazing.

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

    This man takes me on a journey every time on his coding adventures. This was nothing short of beautiful. The visuals, the score, everything! Cheers mate. You’re amazing!

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

    This is absolutely engrossing. A combination of relentless curiosity, code skill, and top-shelf production values.
    9:02 "come to think of it, I could just taken 2 minutes to draw this in Paint, but, anyway..."-- spoken like a true hacker. Please keep these coming.

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

    I love the fact that you probably spent half a day (or more) coding a procedural map generator instead of just drawing the map in paint. Yep, you’re definitely a developer

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

      Hence, coding adventure. ;)

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

      not to mention the terraforming feature

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

    Sebastian's videos make me feel like an incompetent programmer and relaxed at the same time...

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

      HAHA, just learn from them and apply this to your own creation.

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

      He has one of the most relaxing voices on the whole internet.

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

      Imagine how this looks to someone who's never done programming at all

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

      @@thomaspalmer5188 pretty amazing, and interested

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

    Fascinating. I wish we were able to hold exhibitions of dynamic paintings as such in actual museums.

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

    You literally make interesting computer science videos and make them into master pieces of art with the music and your voice. Amazing stuff

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

    The single species slime simulation had to be the coolest thing ive ever seen in my life

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

    "I then imported it into unity but something went terribly wrong"
    is just "I moved stuff from blender to unity" in a nutshell

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

    By far, one of the best and most interesting videos I have watched, your voice, music, introduction, etc in this video is just amazing.

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

    2:50 I think the orchestra strings were very fitting for this scene

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

    I don’t often comment on YT videos... but yours are really resonating with me. I feel like I’m back to engineering school learning how to program and having tons of fun doing it. It seems like you took the “toy simulation example” concept from back then and ran with it, and never got lost into the usual grind of what programming usually is in the industry. It’s absolutely awesome to watch, and your soothing voice, artistic touch, and skilled editing+music bring it to the next level. Truly, thank you.

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

    What a beautiful adventure this was ☺️

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

    "This ant is too indecisive and not making much progress in it's life"
    Maybe I am the ant

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

    The production quality of this is absolutely amazing!

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

    Fantastic. A work of art

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

    When the world needed him the most,
    The man with the nice accent returned

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

      And he uses Blender 2 90 at 4:48

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

    Those slime simulations are amazing. I find them super satisfying and relaxing to watch. Plus, in my humble opinion, they are very artistic. I really want you to profit on this work, you deserve it.

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

    your visualizations are really damn nice to watch. Great job, love these videos!

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

    @4:50, terribly wrong? Sebastian that is stickbug! lol

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

      Nah dude, that was The SlendermANT.

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

      Did Sebastian just RickRoll us with stick bug??

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

      @@Inertia888 stickbugged*

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

      ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­/-­---­-­--\­
      ­ ­ ­ ­ ­ ­ ­ ­\­ ­ ­ ­ ­| ­O­ ­­O­ |­ ­ ­ ­ ­ /­
      ­ ­ ­ ­ _­__ ­ \­_­­_­­ ­| ­ ­\­/­ ­ |­ ­_­­_­­_­/ ­ ­­__­_
      ­ ­ ­ ­ ­ ­­\_­_­_­_­_­ ­| ­_­_­_­_­ |­ ­ _­_­_­_­_­/­
      ­ ­ ­ ­ ­ ­ ­_­_­_­_­_­ ­| ­_­_­_­_­ |­ ­ _­_­_­_­_­­
      ­ ­ ­ ­ ­ ­/­ ­ ­ ­ ­_­ /­ ­ ­ ­ ­ ­ ­\ ­_­ ­ ­ ­ ­ ­ ­\­
      ­ ­ ­ ­ ­ ­ ­ _­_­ ­/­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ \­ ­_­­_­
      ­ ­ ­ ­ ­ ­ /­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­­ ­ ­ ­ ­ ­ ­ ­­ ­ ­\­
      ­ ­ ­ ­ ­ _/­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­ ­­ ­ ­ ­\_­
      *The SlendermanANT will take your soul*

    • @TheMNTK
      @TheMNTK 3 ปีที่แล้ว

      Hey Jabrils, I will wait for your version!

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

    15:10 to 15:23 looks like the big bang creating the known universe, if you've ever seen those purple renderings of what people think the universe looks like

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

      yeh sure cool but when are you uploading a bhop tutorial for half life 3

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

      Nice to see you alive

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

      Ayoo what about that camera of yours that looked like the purple patterns in the vid?

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

      ugh gross another evolutionist

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

      How did you end up here

  • @f.d.3289
    @f.d.3289 7 หลายเดือนก่อน

    My favourite video of yours so far. Loved the ant animation that really visualizes perfectly how ants work. And the slime stuff is indeed fascinating. They are indeed fascinating creatures. They don't even know if they should be classified as unicellular or multicellular creatures. Great stuff.

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

    The level of production quality combined with the amount of interesting things I learned is off the charts, I’m an engineering student and this has really inspired me to look into coding on a deeper level. Thanks :)

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

    These 18min flew by so quickly, this channel repeatedly motivates me to continue self learn coding.

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

      It really is so inspiring!

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

    One day Sebastian is going to accidentally create a simulation of the entire universe and treat it like it's no big deal

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

      "I think that looks pretty cool, but let's move on ..."

    • @cuttlas2955
      @cuttlas2955 3 ปีที่แล้ว

      @@fetterkeks2796 :D:D

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

    5:23 "This ant is too indecisive and not making much progress in it's life" ~ damn that felt like a personal attack

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

    What an excellent programmer and what a gorgeous video, I'm in awe with this video and its results

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

    I love this video, I have been wanting to make a video on ACO for the longest time.

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

      Ooh I'd love to see an ACO video from you, hope you do it some day! Happy you enjoyed the video btw :)

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

      ​@@SebastianLague oooh yeah me too!

    • @wesleymays1931
      @wesleymays1931 3 ปีที่แล้ว

      Hi Jabrils!

    • @ohboy1113
      @ohboy1113 3 ปีที่แล้ว

      crossover
      Love your work

    • @skadday
      @skadday 3 ปีที่แล้ว

      I love you both

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

    Absolutely fantastic. Good choice, supporting you on Patreon. Only problem is that each video makes me want to quit my job to try and reproduce this... ;)

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

      Haha glad you enjoyed it, and thanks for the support!

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

      I'm doing the same thing haha, I have created a chess AI now and working on planets and atmospheres. Also adding a level of detail as well. I'm going all out on this with my insane amount of free time

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

    For me this was the most impressive TH-cam video I ever saw up to date. It feels like you decoded nature.

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

    Simulations like these are absolutely amazing and they could possibly explain a shit ton of stuff about evolution

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

    what an unbelievable video, I actually felt privileged just being able to watch this

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

    Sebastian, you're an inspiration to programmers, everywhere. I'd never imagined the organic patterns could emerge so... simplistically. amazing work.

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

      what programmers? you? he uses unity... lol not exactly something to look forward to.

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

      @@xxmiguelczxx70 there's many ways to use Unity. There are very simple ones, but it can also be used for tools, scientific research and AAA games. Maybe the problem here isn't Unity, but the programmer who can't just see past the "friendliness" of its usability ;)

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

    Sebastian: blows my mind with the most insane simulation I’ve ever seen. “This has been pretty cool looking I think”

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

    I regulary come back to this video, the editing is stunning

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

    At 14:42 when they burst out of the pattern and the music swelled to accompany it, I got actual goosebumps. That was amazing.

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

    This is probably the most underrated channel on youtube.

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

    Congratulations on programmatically creating art beautiful enough to bring me to tears
    I'm awestruck, truly.

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

    I don't know if you know how mind-blowing this. You're technical ability is that of genius.

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

    i feel like that slime simulation would be absolutely mesmerizing as a screen saver, or a wallpaper in wallpaper engine

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

      I was thinking the same thing.

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

      And make it so that it slowly Morphs the color, speed and other variables randomly

    • @That_Awesome_Guy1
      @That_Awesome_Guy1 3 ปีที่แล้ว

      @@alfredsteffensen8343 perfect.

    • @prideallman2686
      @prideallman2686 3 ปีที่แล้ว

      It's already in c# right? and you can use the visual output from c# as screensaver in windows, someone needs to fork the repo and try it.

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

    You keep turning programming into art, without that even being the goal.
    This is why I love this series!
    Those slime simulation patterns gave me serous big-bang/entropy/heat-death vibes, like creating a tiny little universe.

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

    Hey Sebastian, I loved your slime mold so much I downloaded the program, thanks for this wonderful video!

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

    I love generative art and the first time you showed the 1 million agents was a breathtaking moment. Lovely organic structures indeed.

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

    I doubt you'll seee this but i just had to say that this is genuinely beautiful

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

    This has to be one of the most impressive things I have ever seen.

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

    15:08
    This is exacly why i LOVE programming.
    Because it gives you these godlike powers to create anything that you could possibly think of.

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

    It’s not very often that I find a TH-camr that makes me subscribe after one video but you sir are one of them

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

    If Sebastian taught a class on his process of learning and exploration I'd 100% pay for it. These are SO good.

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

    reaffirming the idea that this is actually god's youtube channel where they post devlogs about how they made the universe

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

      😂😂😂😂

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

      God noticed that he was getting less popular, so he started a TH-cam channel 😂

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

    Instant subscriber! Beautiful simulations! I really appreciate the way you break down your thought process and method in a clear and easy to understand sort of way

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

    Still watch this video over and over. Keep up the good work!

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

    Coding Adventure with God: let's create Life