Coding Adventure: Atmosphere

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 เม.ย. 2024
  • The planets in my solar system project are looking a bit hostile and uninviting, so in this video I'll be attempting to add some cozy atmospheres around them.
    Watch the previous solar system video: here: • Coding Adventure: Proc...
    Some notes:
    • I made a little build where you can play with the atmosphere settings yourself, which you can find over here if you're interested: sebastian.itch.io/atmosphere-...
    • A number of knowledgeable people have pointed out in the comments that reality is not nearly as simple as my little diagram around the 4 and a half minute mark, and that light does not literally wiggle up and down like a wave, so please note that the diagram is incorrect!
    • This project was inspired by the game Outer Wilds, which I highly recommend playing!
    Project Files:
    The project is available over here: github.com/SebLague/Solar-System
    If you'd like to get early access to future project files (and support the channel!) you can find my Patreon page here: / sebastianlague
    Resources:
    developer.nvidia.com/gpugems/...
    nishitalab.org/user/nis/cdrom/...
    physics.stackexchange.com/que...
    en.wikipedia.org/wiki/Scattering
    Music:
    "Brief Respite" by Antti Luode
    "When Rain Comes" by Tide Electric
    "Door to Door Disco" by Bright Seed
    "Reflections of Space and Time" by AEROPLANES
    "In the Atmosphere" by Bad Snacks
    "Reflections" by MK2
    "Nidra in the Sky with Ayla" by Jesse Gallagher
    "Far Away" by Antti Luode
    "Frontier" by Shimmer
    Sections:
    00:00 Intro
    00:32 Setup
    02:46 Resources
    03:25 Light Scattering
    06:15 Coding the Shader
    11:55 Initial Results
    13:10 Adding Colour
    15:20 Colourful Results
    16:40 Optimisation
    17:39 Stars
    18:50 Exploration
  • บันเทิง

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

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

    When he accidentally makes the best lesson on why the sky is blue.

    • @ms-fk6eb
      @ms-fk6eb 3 ปีที่แล้ว +241

      yeah, and I'd never have thought about why the sky turns red when the sun is low

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

      Ha - was thinking the same thing.

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

      iirc there is a part about how oxygen actually "looks more blue than violet" too, but I think he summarized things in a quick and good way that clearly passed the message that "there are several reasons that contribute to the same effect" (not to mention that iirc it was also debated whether what I mentioned was to such a small extent it could be considered *entirely negligible* in terms of the sky's color)

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

      Sebastian’s videos are more tutorialish than one with “tutorial” term in titles!

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

      I think I will show this to my scienze teacher 😂

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

    "my favorite programming trick: calling a function that doesn't exist and worrying about it later"
    You're my hero dude lmfao

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

      I was gonna say, that's actually a pretty useful way to make sure your functions are all nicely decomposed rather than trying to cram everything in, train-of-thought style.

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

      SS2Dante oh for sure, I do the same thing

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

      I tend to do the opposite. Write a function, forget to call it and wonder why it's not working.

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

      @@Trezker lol me too

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

      @@Trezker There are two kinds of people

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

    "i have long since lost any faith in the code i write ..."
    "my favorite programming trick: calling a function that doesn't exist and worrying about it later"
    "that sped things up immensely, with the minor tradeoff of completely ruining everything."
    these feel like personal attacks

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

      I know right. I didn't need to be called out like this but here we are.

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

      @@DigitalJedi This is calling out every programmer since the dawn of time

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

      They are broad personal attacks against programmers

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

      i do the second thing alot

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

      I use Godot and whenever I try to do the second the program freaks out and highlights the entire line bright red for me to see.

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

    everybody gangsta until he makes no man's sky 2

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

      He already destroyed Spore's planet generation in the previous episode, so No Man's Sky is for sure next on the list.

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

      More like Outer Wilds 2

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

      No this is way more like outer wilds than NMS.

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

      @@_Killkor Ha. No one is going to touch NMS planet generation for a long time. Everyone's height map performance barely runs better than NMS having not only more points of data in the same FOV. But also voxelates the entire surface. All while running almost as well as even the best competitors. That is seriously impressive optimization. NMS is easily the best optimized game of this decade. It should not run anywhere near as well as it does with that kind of real time terrain generation. All while having graphical affects on par with anything else out that isn't ray traced. And it runs on consoles AND VR quite flawlessly? My very modest 1060 keeps it solidly within max reprojection fps better than any other game I can't run at the full 80 on my rift. Hahaha, no ones going to get close for a long while.

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

      orginal no mans sky was bad

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

    And God said, "calculateLight(N, N, N)", and there was light.

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

      best comment ever.

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

      Bro xD... Yes!

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

      And it was good

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

      Love this

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

      @@ArcheoLumiere But not at first try !

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

    "that sped things up immensely, with the minor trade-off of completely ruining everything"

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

      The story of my programming career right there.

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

      I lost it at that line.

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

      I can absolutely relate to this line's accuracy as a college Robotics major and hobbyist game developer. Nothing, not even a seemingly basic optimization, ever works exactly right the first time. In my experience, only one third of programming is actually devising the logic and writing the program. The remaining two thirds are roughly equally split between debugging and tweaking the numbers.
      I've had this concept apply to every single project I've worked on from basic Pong clones to turn-based RPG's to autonomous navigation.

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

      @@ovrsurge4689 So did I

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

      When a joke ironically describes programming in general

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

    Plot twist: this guy is god and he is just uploading dev logs for the universe.

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

      He's creating a new universe
      _He's bored with our Universe. Oh no..._

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

      @Mega why is that so true

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

      @killkor he's aking this one for the "galactic society" expansion cause the one we have right now is boring

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

      @@_Killkor That would explain the events that happened in 2020

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

      Have you downloaded the new update? The atmosphere is now green!

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

    "Its actually quite simple" *proceeds to begin speaking mandorin*

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

    Next video: "I don't really like how the stars are not realistically generated so I'm writing this quick program to simulate the formation of the Universe using these papers I read about the fundamental composition of space and time."

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

      "Ok, now let us run the simulation towards the big bang, and see what's happen"

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

      "Well seems like it doesn't run at usable framerates so I'm going to 'borrow' a supercomputer"

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

      "ho, a bug"

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

      @Commep "So I'm not really happy with how the computers made in the realm of man aren't up to everything we need to do so I wrote a quick program to self optimize its own hardware- aaaaaaaaand it's taking over..."

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

      @@EzeKry "but soon I realized it was just a misplaced + sign and after I fixed that the machines were replaced by a sentient and mostly atheist life form. It's better when they don't know"

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

    Next up:
    Coding adventure: Mining
    Coding adventure: Aliens
    Coding adventure: Turning this into a steam game and selling it.

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

      I would buy it.

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

      No mans sky 2.0

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

      @@apersononlineyes6554 Me too

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

      This guy is making no Mans sky all by himself

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

      Procedural animal life

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

    "That sped things up immensely, with the minor trade off of completely ruining everything." Coding4lyf my dude.

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

    Me, who never coded a single code, the entire video: "Yea, I guess that makes sense".

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

    Son: *"Mom, why's the sky blue?"*
    Mom: *"It was a free skybox on the asset store. Don't judge me like that"*

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

      *Child:* Mom? I want an atmosphere like this, to be procedurally generated!
      *Mom:* We have an atmosphere at home.
      *Atmosphere at home:* 🔵

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

      literally every other atmosphere: ⚪️🟠🟡🟢🟣🔴

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

      actual mom: "blue is the shortest wavelength of light so it scatters when it hits the atmosphere coloring the sky blue and as the sun goes bellow the horizon (blah blah blah) the range of light the reaches the atmosphere and scatters changes and turns the sky different colors (blah blah blah)."
      wooo science

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

      When your dad randomly mary random girl from party

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

      Dude your a fuckin genius

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

    The most mind-blowing part about these shaders is that they look good both above- and below their "surface". This one looks great from space and from the planet surface, and the water one looks great both inside- and outside the water. Absolutely boggles my mind.

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

      That's because Sebastian bases his solutions on actual physics instead of going for easy surface level solutions. The man deserves all the credit he gets and then some!

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

      @@masamainio4052 Looks great, but is not based entirely on real physics. He did use some tricks to make it easier. The red colors should not appear when looking from outside the planet.
      Still awesome work :) he really inspires all of us

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

      When you program good, code will work even in situations you didn't plan.

    • @user-if6qp1lw2b
      @user-if6qp1lw2b 3 ปีที่แล้ว +8

      @@AkiRa22084 i do not think that is how it works, filthy weeb

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

      Bruh So what you're saying is that you don't program good.

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

    Your ability to visualize and present concepts of all kinds is actually one of your strongest points. The editing and visual elements combined with music infused with your personal touch (hand drawing explanations) is a real highlight to everything. Regardless of topic, I'm sure you could make it interesting. I just happen to love your coding adventures.

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

    Now I know how my dog felt when I tried to explain spreadsheets to him.
    Hey, he was really eager to find out why we couldn't play together that instance

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

      That’s fantastic.

    • @KC-bu8qq
      @KC-bu8qq 2 ปีที่แล้ว +4

      why were you trying to teach your dog spreadsheets lmao

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

      @@KC-bu8qq He had to know what was so much more fun than playing with him.

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

    So "Coding Adventure: The Universe" is slowly but surely becoming reality...

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

      Wow 105 likes and no replies

    • @Hello-qg4yk
      @Hello-qg4yk 3 ปีที่แล้ว

      Served13 why wow?

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

      I really hope it does become reality

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

      soon: coding adventures, coding a God creating a universe

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

      Nah mate we already have spore for that...

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

    Moral of the story: If you can't model great and beautiful stuff, just procedurally generate them.

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

    This makes me feel like I'll never be an even decent hobby programmer.

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

      The best I can do is make a barely functional pointless Python program every few years

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

      Just start with a simple map, something achievable with your skills. You can start with the course "procedural map generation" with Brackeys. Then increment your project, still with something doable, etc. Each time you'll add something, you'll get better, and so will be your project. And one day... your virtual world may become something wonderful :)

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

      @@LordxGx07 this makes me remember how nice the internet can be sometimes
      thank u internet stranger, im inspired now:)

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

      I don't think most programmers could do this without some research

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

      I can normally grasp a basic concept of how some code works, what this code is doing is beyond me.

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

    I can't wait until he eventually adds every single coding adventure into this one project. Simulating ecosystems, boids in the form of procedurally generated fish, procedurally generated animals, caves, ray tracing reflections, hydrolic erosion. The whole works. He's just gonna simulate the world at this point

    • @dj-murlock
      @dj-murlock 2 ปีที่แล้ว +16

      With that setup he could also be able to simulate death of his PC

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

      how he gonna fit chess in there

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

      @@endermannull4420 a feature of the game just add a chess board

    • @user-dh8oi2mk4f
      @user-dh8oi2mk4f ปีที่แล้ว

      @@endermannull4420 the game is free, provided that you beat his chess AI

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

      @@endermannull4420 a minigame within the spacecraft perhaps

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

    “That sped things up immensely, with the minor trade off of ruining everything”

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

      The story of my life.

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

      Lol. I love this line

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

      I felt that

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

      @@verified_tinker1818 You beat me to it XD

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

    Sebastian: I'm going to do something a little gross.
    me who knows nothing about coding: How dare he.

    • @mme.veronica735
      @mme.veronica735 3 ปีที่แล้ว +17

      I mean in projects where you're working with other people yeah just put the function in and worry about someone else writing that code. However in single person projects it's up to personal preference, do want to finish your train of thought before moving onto the smaller but still important things, or do everything as it's coming up

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

      @@mme.veronica735 ok

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

      @@dazza2350 lol

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

      Mme. Veronica *pretends to understand* Oh yeah totally I saw a video on that it was by that one guy who’s good at this right yes I know more than you okay not really can you elaborate

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

      that's math though not coding

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

    This has to be one of the highest quality channels on youtube. All the videos are educational, inspiring, really engaging and shows a thought process of tackling nearly any problem. Absolutely love this content.

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

    This is the fourth time I've remembered this video and looked it up again just to watch it again

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

    After simulating solar system..... Sebastian begins the journey to make his own UniVerse

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

      DAMN

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

      That apple pie isn't going to make itself.

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

      he's already taking the procedural route. we know where that leads.

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

      Coding Adventure: Conscious Life

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

      Uncle Randy that would be quite the project XD

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

    This channel is so freaking inspirational. Now I want to make a game...

    • @SDGAMER-sg9js
      @SDGAMER-sg9js 3 ปีที่แล้ว +8

      Same here though I don't know how to do it

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

      Do it

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

      @@boomboompower Does a roblox game count?

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

      @@SDGAMER-sg9js
      Baby steps
      Dont overscope
      Watch youtube videos like Brackeys
      Dont do a udemy course

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

      @@GenusDev yes, since they are games

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

    If I was half as smart as you... I would currently feel half as dumb. That was not only an amazing tutorial, fun experiment but also shows just how good you are at math and programming and research apparently! Great video... Makes me really appreciate all these great games we have today.

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

      He is not smarter than you. How can you say that if you haven't even tried to make a game?
      Go Download Unity
      Google "how to make earth in Unity"
      Google "how to add lightning in Unity"
      And after making a game make a tutorial like this and post on YT

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

      @@jyothish5194 you think its that simple ? ok web developer

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

      @@flex9663 chil chil! All game devs know de pain. Some people has pain tolerance higher, and some people don't soo yeah!

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

    this legit makes me want to jump back into game development

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

      This legit made me install unity again. Thanks i guess...

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

    Next up, Coding Adventure: Self Aware Lifeforms

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

      Ha, I was just about to comment that

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

      No joke tho, he had a mini series on writing a neural network that was left unfinished. I bet we'll finally get the long-awaited conclusion as he puts in life forms!!!

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

      unappreciated comment

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

    Coding Adventures in 5 years: So today we will be watching our generated Alien civilizations fight against the multi-galaxy humans.

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

      Not as hard as it sounds

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

      Stellaris...

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

      @@kurtisgibson2929 ...

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

      @@asyncxeno i know because it's been done

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

      @@kurtisgibson2929 Aah yes, the AI simulating an advanced civilization going to war against an advanced form of humanity. Of course it has. Where again?

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

    Me: tries to run anything that actually looks this good
    My Computer: Do you want to explode?

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

    The fact that he can make these things make sense is astounding

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

    This seems like a tutorial for the first 7 days in the job of an omnipotent entity.

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

      Yes

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

      So... a game developer?

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

      No kidding. Our reality functions like one of those tutorials where the dev reads through it halfway, misunderstands/misapplies half of that, and wings the rest.

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

      Didn't he rest on the 7th day?

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

      Underrated

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

    This stuff just makes me realize how crazy complicated real life is

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

      Every other person you see is as real and complicated as you. Sometimes i refuse to believe this because of how insane it is

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

      well we are a bunch of atoms that are attracted to each other and not a single object , that's what messes with my brain XDDD

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

      And in theory if you could know enough about everything, break it all down mathematically, and calculate it all from the big bang, you'd be able to know the future through every cause and effect chain

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

      @@EKIANandWolvesGaming nah I get why that seems to make sense but there are truly random events happening all the time. The spin of a quark for example, when it is formed

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

      @@EKIANandWolvesGaming I think one of the main problems with that theory is that you cannot know / have complete precision of natural values (acceleration, etc.), and those precision errors will cause prediction errors over long periods of time due to the butterfly effect. Though perhaps it could be precise enough to at least be accurate for a few billion years...though of course it would still require an impossibly large amount of processing power.

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

    Others showing us how we can use Unity.
    Sebastian is showing us WHAT WE CAN DO with Unity.
    Every priceless journey starts with imagination.
    Absolutely wonderful! :)

  • @MrPink-xv5el
    @MrPink-xv5el 3 ปีที่แล้ว +156

    11:06 W-what are you d-doing, Stepsize?"

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

      T-taking a density sample of your optical depth.

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

      Nothing terribly interesting.

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

      That's disgusting. I love it.

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

      It had to be done

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

    I'm a physicist and this serie is one of the most beautiful things I've ever seen.

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

      How good are the formulas used in this video?

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

      You don't have to be physicist to admire beauty, do you? )

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

      @@f23anone82 but if you can admire a physic simulation as a physicist is has to be great

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

    What I love about this channel is the fact that we get a whole background course in real world physics before he makes anything.

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

    Whenever someone makes some asinine comment like "you don't need math to be a successful programmer". I just refer them to your videos.

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

    The more I watch your series on making this solar system, the more I appreciate what Maxxis went through creating SPORE. That might be mostly because Spore doesn't look too far off from what you've made thus far, though with today's tech and such you'd likely be able to make something that looks a bit better.
    In any case, loved the video.

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

    This was so interesting, and the result is absolutely stunning! Looking forward to the next one man.

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

      Thank you :)

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

      I bet you can't make atmosphere with Unity's particle system!

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

      Can you make a space game (or you can’t do that)

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

      Go back to making Karlson you beautiful bastar

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

      @Kwame Opoku I like how you spelled out "question mark" and then used a question mark

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

    He's so calm explaining all of this, I can't imagine he doesn't get immensely frustrated like me trying to figure out these problems and having to do ridiculous amounts of research to solve them

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

      Right? He says it like he knows exactly what he has to do, exactly how to do it, and why he has to do it that way all the time. It would be so interesting to actually just watch him do it

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

      I'm sure he gets frustrated while actually coding it. We're just seeing the result

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

      @@quinnhart7678 ye

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

      @@quinnhart7678 r/wooosh

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

      @@personwatchingthings1354 r/wooosh

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

    I rewatch the videos from this series every month, because of how satisfying they are. I'm looking so much forward for you to continue this series.

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

    Mans is really in a lague of his own

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

    Kid
    "Mom why is the sky blue?"
    Coolest Mom ever
    "I don't know, let's make one and find out shall we"

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

      i wnat that

    • @AN-ou6qu
      @AN-ou6qu 3 ปีที่แล้ว +4

      That toddler is about to get their mind absolutely exploded because nobody at that age can actually understand any of this lol, sorry coolest mom ever

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

      @@AN-ou6qu it's not that hard actually

    • @Hello-qg4yk
      @Hello-qg4yk 3 ปีที่แล้ว +3

      EnDeRBeaT yeah. They can understand MUCH MORE than people realise. You just need to approach it gradually

    • @Hello-qg4yk
      @Hello-qg4yk 3 ปีที่แล้ว

      Not:
      Heres quantum mechanics
      But:
      Theres this thing called a photon. It is the light you see and ...
      [LOTS OF DETAILED TALKING]
      so thats quantum mechanics.
      IMO they can but you just need to take so much time explaining it gradually that they already are a year older or something. Like how you dont learn everything in school in 1 year but 12

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

    At this point it's fair to say these are devlogs, not Coding Adventures.

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

      A bit of both, I'd say. Definitely far more experimental than most devlogs.

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

      Yea. Kind of. Feels like an adventure to watch. But oh man the depth he goes to

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

      Both

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

    After spending 4 years to get my astronomy degree, I feel vindicated to hear optical depth used properly for cool reasons, and when you decided to normalize your unit system to 1 for simplicity I nearly cried

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

      same! god I wish I normalized my simulation of the surface of the star, I spent too much time checking the numbers with a calculator.

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

    I reaaaally like the transition from the black space sky to the atmosphere. So natural.

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

    7:41 Reminds me of my favorite programming trick, which is writing a function and forgetting to call it later

    • @user-dh8oi2mk4f
      @user-dh8oi2mk4f 3 ปีที่แล้ว +13

      Mine is creating a function, changing the name, then forgetting I changed the name and wasting 3 hours.

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

      I declare a function, make the function and then the program decides to not let me call the function
      Like 2/3 functions can't be called because the program doesn't like them, while the others have no problems

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

      And then re-writing it only to end up with a worse function

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

      I call it before actually creating it or when it‘s just a construct which returns nothing.

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

    "Perhaps one day I'll write code that works perfectly first time."
    Liar. Such arts are arcane and beyond mortal comprehension!

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

      Everyone knows only the Chosen One is capable of such thing!

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

      @@NeverEverTM *writes " print( ' hi ' ) " * - " it worked perfectly first time!"

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

      luckily he's basically a god at this point

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

    You are insanely talented sir. Physics, math, shaders, coding, and it all comes in a very smooth and entertaining package. Big fan.

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

    the transition at 0:26 to 0:28 was phenomenal

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

    At the end of this series he would say: "And this is how i created the earth, the universe and you. You are just thouthands lines of code and living in my simulation, watching those videos right now".

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

      Dammit I can't believe u just read my mind haha

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

      @@AppyTheApe The simulation probably doesn't have enough memory to give everyone unique thoughts or something

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

      @@oliverer3 Or maybe I'm just glitching because of a bug in that simulation, I'm telling you that's very much possible.

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

    This coding adventure is scratching an Outer Wilds shaped hole in my heart and I'm loving it.

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

    He just made a planet with atmosphere and sunsets that look so amazing and real. It's awesome to have this sort of your own world, and I hope you'll add more stuff to it.

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

    7:40 Wow, that's my favorite trick, too! When I first right my code, about 90% of the functions don't exist, that way I know what I need to do to make it work.

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

    Love this series! It's just incredible to see his process and everything come together so perfectly in the end

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

      Sam Hogan Thanks! :)

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

      I don't wanna be that guy but... "WhAt aRe yoU DoiNg hERe"

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

      @@chimitrash2966 enjoying quality content? TH-camrs are humans too.

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

      @@chimitrash2966 what he can't learn if he is a TH-camr?

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

      @@SebastianLague um but what i want to know is how i Can play this beatiful work of art for my self because ive always enjoyed open adventure games

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

    there are three skill to be an expert programming :
    1 : experience programming
    2 : understanding physics
    _But most importantly..._
    3 : *talking fast like a rapper* (11:12)

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

    I really love this journey (which I joined an bit late by the looks of it), not only from a programming perspective, which I absolutely love, but also because of how you explain the physics behind it in the clearest way possible

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

    words cannot explain how much joy i get from watching this series. keep up the good work, and please make a full game of this. this is literally my dream game.

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

    Wow I didnt know Star Citizen made so much progress! Jokes aside awesome work my man you always always shock me. Thank you for sharing your knowledge Cheers!

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

    “Hey everyone, I’ve just been having fun being a literal deity making planets”

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

    This is absolutely beautiful, both from a coding and artistic perspective. Very inspired by your work. I just started learning Unity and you are my go-to resource for almost anything. Congrats and thanks!

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

    I absolutely love the way you have done this series, not only is it fascinating to watch and see what you managed to achieve, but as a coder also interested in these topics, it is very valuable at pointing out various techniques used, and even explaining and visualizing them to a degree to make delving into the topics easier(plus I know what to look up in order to get full details on a topic).
    So, thank you for these, I look forward to seeing your future progress and see what you manage to do with it moving forwards.

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

    My man is literally making Outer Wilds as a solo dev

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

      Ikr after watching the video I want to play Outer Wilds again

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

      While also making a video series on it, and making it flawless while at it, because the rest wasn't enough.

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

      procedural planets wouldn't work for Outer Wilds. this is like No Man's Wilds

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

      @@SoulSukkur I would guess that the Outer wilds planets are at least partially procedurally generated at some point and then they went in and modified them.

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

      @@perfredelius8060 I watched the making of documentary from noclip and they didn't suggest anything like that. they discussed how they had to design Timber Hearth as layers of spheres, and then they had to overhaul that for the Ember Twin, which has more complex geometry. everything in that game was made deliberate. they talked about how annoying it was to make brittle hollow, which has the highest level of surface detail. they had to model each of the flat bits individually.
      Honestly, i don't see how there would be any design benefit to procedural generation. if you want to have a way to generate as many unique-but-similar moons as you want, then go ahead and make a random crater generator. but Outer Wilds only has 3 moons, and only one of those has craters. designing systems to procedurally generate things you'll only need once is so inefficient. just make a sphere and sculpt some dents into it. no math, no parameters, full artistic control.

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

    Sebastian Lague is a 10th-dimensional being who designed our entire universe for a school project and is now role-playing as a human to give us a tease of the entire process. Erosions, ecosystems, oceans, and now the Universe. Thank you for this video!

    • @Hello-qg4yk
      @Hello-qg4yk 3 ปีที่แล้ว +3

      That would explain everything!
      Especially why its free!

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

    Your videos are so interesting, also the content you includes...it makes you a genius...more than any other developer I've ever seen

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

    these are some of the most well-done coding videos i've ever seen, really appreciate how much effort you put into making the visuals to explain concepts as you write the code

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

    "That sped things up immensely, with the minor tradeoff of completely ruining everything" is pretty much the slogan of every first optimization attempt ever xD Your dry sense of humour is such a joy to behold, please don't ever lose it!

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

    Hey everyone, hope you enjoy this little video about atmospheres! TH-cam's compression was not so kind on the results (they came out a bit blocky and bandy) so I've put together a little demo build where you can play with some of the settings yourself and see the results. It's available here if you're interested: sebastian.itch.io/atmosphere-experiment
    Some notes:
    A number of knowledgeable people have pointed out in the comments that reality is not as simple as my little diagram around 4:35, and that light does not literally wiggle up and down like a wave, so please note that my diagram is incorrect!
    The project files from this episode are currently in early access for patrons of the channel, so if you'd like to experiment with those (and support my work in the process) you can download them here: www.patreon.com/posts/project-files-40730130 There is a public repository for this on-going Solar System project over here: github.com/SebLague/Solar-System, which currently includes the gravity simulation and procedural planets from the previous two episodes, and the atmospheres will be added to it on September 15

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

      Yes

    • @user-nj1qc7uc9c
      @user-nj1qc7uc9c 3 ปีที่แล้ว +2

      youtube: video was uploaded 4 minutes ago
      also youtube: comment was posted f i f t y m i n u t e s a g o

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

      Have been looking forward to another video!

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

      Yes this is awesome! Love it!

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

      I would love to see how collisions with other planetary and asteroid bodies act.

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

    Your Coding Adventure series is the most inspiring and impressive thing I've ever seen on TH-cam! Love it! Wish you the best.

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

    What a great guide and the best part about it was how thoroughly you explained everything. So thoroughly in fact, that I noticed some parts that I thought I could maybe improve even. I'm itching to try it out myself now. Really inspirational!

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

    Next time: adding erosion and clouds back in!

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

      Please!!!!
      That would be insane!

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

      It would be really hard though... erosion is a static effect and requires you to store all the procedural data somewhere, and raymarched clouds are extremely computationally expensive.

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

    *sees Sebastian has uploaded a new video*
    Me: "It's a good day."

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

    This is absolutely incredible, I'm thoroughly impressed. I can't imagine how much effort this must take, thank you for sharing your work and process!

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

    Wow, this is not only phenomenally cool code but has also helped me understand more about how light scatters through our own atmosphere as well!! Love the content, keep up the great work!

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

    Up next on coding adventures: Sebastian simulates the entire universe in real time.
    Jokes aside I love your videos!

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

      episode 100, how to code self avare life forms

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

      This actually isn't completely unattainable. For a game, you wouldn't actually need to simulate the entire universe at the same time, just the region close enough that the player that they can meaningfully observe it. The rest can just be loaded/generated "on the fly" as needed, or unloaded to save space (pun intentional) if it is no longer inside this region. Methods like this are often used to enable games to have extremely large, and sometimes practically infinite, worlds (or universes in this case) that couldn't possibly fit in memory in their full forms; Minecraft is probably the most famous example. I've even seen Sebastian implement systems like this on other projects, so he could easily simulate an entire fictional universe.

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

      @@andrewsprojectsinnovations6352 he dun been woooshed

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

      @@andrewsprojectsinnovations6352 Yes you're right. The program SpaceEngine has already done something like this. (I'd suggest checking it out. The old versions are free I think or you can find some footage on yt.)

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

      Nah, he never optimizes it - he'll just simulate the entire universe at 12fps :P

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

    Me: uses a inverted sphere with a unlit transparent material for the sky
    Sebastian: makes a 20 minute long video explaining the shaders and scripts he wrote

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

      Would a skybox work?

    • @Elyzeon.
      @Elyzeon. 3 ปีที่แล้ว +14

      @@helltubejackie1086 if you want low quality shit then yes

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

      @@helltubejackie1086 skybox is basically the inverted sphere but marginally better performance

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

      @@theaveragepro1749 o

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

    I’ve never sat on my couch before and cheered out loud about code like it was a sporting event. This is brilliant. I was moved. Also had to google what a float3 was, haven’t seen that yet. The results were beautiful both visually and scientifically. An intersection of art and science. Also, you just taught me why sunsets are fiery orange. This might be the greatest coding video I’ve ever watched. Wow. Just... wow...

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

    You’re a baby god, learning how to make a universe.

  • @user-nz8qr2ds1y
    @user-nz8qr2ds1y 3 ปีที่แล้ว +89

    Bugs that i've found so far(in the demo):
    1. Stars are visible through the ocean
    2. Scattering doesn't apply on the ocean reflections/glares
    3. The ocean reflections/glares are visible even when the sun is under the horizon

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

      Put this in the itch page.

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

      The oceans are almost definitely temporary.

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

      Oceans aren't really there. It's all just a shader based on planet's centre position. Sebastian would need to make them more of a "physical" in-game object over just a screen space shader

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

    Electromagnetic waves don't "undulate" through space like that. We say they're transverse waves because they are formed by electric and magnetic fields that point perpendicular to the direction of travel. The wave itself may have a volume, or it may be very narrow, depending on the light source, dispersion, that sort of thing.
    What's actually happening is that the air molecules are being polarized by the oscillating electric field of the light traveling through it, which makes them behave like tiny little antennae and reradiate. These molecules are like mass-spring systems; they have a natural frequency they "like" to oscillate at. This resonance frequency would be the frequency that would result in the most efficient scattering. Well, it turns out that for air this frequency is actually in the ultraviolet, which means the "higher frequency = more scattering" rule works, but only for visible light. If the sun output more energy in higher wavelengths, and your eyes were sensitive to those wavelengths, you might expect the sky would be purple.

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

      Well said. You can actually see that uv light is scattered more in practice if you use a uv camera. If you were able to see uv light, the world would be extremely misty and thick as the atmosphere is scattering the light a ton.

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

      earth is flat

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

      its hard to tell if ​ @Sr-71 Blackbird is a troll. I hope so

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

      also, great explanation! Thank you!

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

      @@syfou725 dont worry i am a troll

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

    Wow the way you explained the colours of the atmospheres was amazing. If I was taught that in school I probably wouldn't have got it at all.

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

    I love this. You have such a calm and relaxing voice. You're talking about such interesting things and it's for coding. Literally nothing I dislike about anything here

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

    Your videos always amaze me! I love that you take a very physics based approach to most of these coding adventures, and the end result is beautiful!

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

      Happy you liked it, thanks!

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

      @@SebastianLague Please keep up the quality, man. I'd ask for that request, and also thanking you for your efforts.
      *Note:* I'd like to resend similar messages again in the future videos.

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

    "I've long since lost any faith in the code I write" same, man. same.

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

    These coding adventures are just stunning. Absolutely great work.

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

    A very original and well-made physics/coding video. Very refreshing, thank you.

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

    The way he acts like he's just a normal programmer makes me regret my pay cheques...

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

      People have already done these things.. he learns from those people..
      Pretty sure programmers do very complicated things like this.
      I am not saying it isn't amazing but he isn't the one to come up with everything, he learns it from other sources too.

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

      ​@@elythas128 I am a professional developer. Very few devs have the ability to not only abstract the maths problems this well, but to also explain it so concisely... And I work with an ex-maths teacher now programmer...

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

      ​@@elythas128 That has nothing to do with my comment though?

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

      @@elythas128 See you've already demonstrated my point... You couldn't even decipher a 15 word TH-cam comment, let alone a university paper

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

      @@YouReyKarr Yeah sorry I responded to the wrong comment, well no, it was more confusing, I responded twice, you responded to my response, but I thought the original comment was another one, sorry for the misunderstanding. Also I am not sure why would you degrade me when I did not attack you in any way, sorry if it seemed so. (And no, I don't think I could decipher a university paper, not without prior knowledge.

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

    When the sun started to go away and we saw the stars, it made me say "WOOOW" really really! Congrats!!!

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

    I don't think I currently know any other channel that shows principles and coding areas that visually pleasing and well written.

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

    I have been waiting for the new upload like its the day before Christmas, this video blew my mind.

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

    In five years he's gonna make a video like "I was messing around with variables to make self-aware AI creatures."

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

    I love that you include the parts where you mess up. The mistakes are often my favorite part

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

      These video's are about what he want's to explore, things he wants to try. I have tried doing similar things on a smaller scale and honestly the biggest joy in some ways is when it doesn't go right.
      It's easy for someone with more experience to produce a "perfect" video that doesn't show the mistakes or his frustration. By showing you all that he is first saying that you probably will never write perfect code first time, but, also that mistakes happen even when you have more experience

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

    I love watching these videos, despite the fact that I have absolutely no idea what he's talking about.

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

    I've watched this series 2 times its so interesting, i recently started coding and I wish i will get as good as you, keep on making great videos

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

    that feel when you accidentally discover God's secret TH-cam channel detailing how he made everything

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

    Fun fact: those planets were once a untextured coloured sphere.

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

      before that they were cubes!

    • @MrWide-ht9rp
      @MrWide-ht9rp 3 ปีที่แล้ว +4

      Alex A wait seriously??! No way!

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

      So much Potential in the Blender default cube

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

    for some reason I can't stop watching your videos... it really puts into perspect how much I have to learn as a new game developer with only a couple tutorials under my belt. can't wait for the next video. :)

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

    It really gives you a good visual of a still frame of the transition from blue sky to sunset/sunrise and night