The Simple Yet Powerful Math We Don't Talk About - Freya Holmer I Neat Corp

Поділитися
Вставка
  • Опубліковано 10 тра 2024
  • Ігри

КОМЕНТАРІ • 205

  • @anouaraja7256
    @anouaraja7256 3 роки тому +180

    Freya Holmer, The Shader Goddess

  • @MatthewAWinston
    @MatthewAWinston 3 роки тому +172

    Freya, the rare true Rockstar. The integration of Art, Code, and Math each enabling a richer understanding and utilization of each other.
    Reminiscent of Gödel, Escher, Bach. You may find this presentation moving!

    • @chickenduckhappy
      @chickenduckhappy 2 роки тому +5

      'tis impolite and quite a bit ungentlemanly to go overboard with compliments toward a Lady young of age.

    • @ashereinhorn
      @ashereinhorn Рік тому +3

      @@chickenduckhappy agreed. chill out Matthew.

    • @alles_muss_anders_werden
      @alles_muss_anders_werden Рік тому

      Fettes DoubleDislike für Matthew Winston ! 👎👎

    • @nachfullbarertrank5230
      @nachfullbarertrank5230 Рік тому +8

      some ppl got salty over your compliments lol

    • @datarake7222
      @datarake7222 Рік тому +9

      The people commenting here hating on your comment are ridiculous. Looks like they never left their moms basement.

  • @pepperizedgaming
    @pepperizedgaming 4 роки тому +83

    Fantastic talk, thank you Freya

  • @jonathansaindon788
    @jonathansaindon788 2 роки тому +9

    You have a very good way of explaining complex stuff in an easy to understand manner. Thank you for this very enlightening talk!

  • @Samich
    @Samich 2 роки тому +10

    Had no idea about remap. I was trying to build up some calculation from scratch to figure out how to lerp between 3 different gradients over time in a shader. I was losing my mind trying to see how I could keep one gradient up longer than the others. This helped me so much.

  • @DePistolero
    @DePistolero 4 роки тому +17

    I took a picture of that as well, yes using my phone right from the laptop screen... And Remaper made my whole day.... I am so happy for it.... Thank you!!!

  • @Kenbomp
    @Kenbomp 2 роки тому +3

    Really shows how powerful formulas are. The pictures are good for examples. But the formulas are so elegant.

  • @venkataramayya4266
    @venkataramayya4266 2 роки тому

    Thanks for a wonderful and simple explanation of LERP etc.!!!

  • @chansmart
    @chansmart 4 роки тому +15

    Awesomly simple explanation of complexy looking math functions. Opens up so many possibilities and scope for creativity, also Thanks for uploading this video

  • @titusgrothaus2550
    @titusgrothaus2550 2 роки тому

    Awesome talk - it was very eye opening for me with the great visual examples. thx !

  • @NevRS32
    @NevRS32 3 роки тому

    That was AWESOME! Thank you!

  • @ConstantDupuis
    @ConstantDupuis 4 роки тому +4

    Very good overview and clear illustrations

  • @quinndepatten4442
    @quinndepatten4442 2 роки тому +8

    Holy shit, I can feel my brain expanding. This shit is awesome.

  • @slimepixel
    @slimepixel Рік тому

    This was great explanation!
    Thank you!

  • @edisonphoenix3303
    @edisonphoenix3303 2 роки тому

    Absolutely Awesomeeee!

  • @PrathviShettyoo5
    @PrathviShettyoo5 4 роки тому +5

    Wow that's visualisation was so cool

  • @sral8769
    @sral8769 Рік тому

    This was really fun to watch :) Thank you

  • @kristal1624
    @kristal1624 9 місяців тому

    Wonderful Freya ❤❤❤

  • @bigmistqke
    @bigmistqke 2 роки тому +4

    Would love an in-depth breakdown of that water shader. Looks absolutely gorgeous.

  • @joshgordon7299
    @joshgordon7299 2 роки тому

    Wow amazing, I'm already thinking of ways I can use this in my programs

  • @Quesbe
    @Quesbe 2 роки тому +28

    Using lerp as a way to overlay texture is so simple and yet elegant! I never thought of that (even though I'm guessing it's already being used for that purpose everywhere anyway -- painter's algorithm being less efficient)

  • @vmmi8215
    @vmmi8215 2 роки тому

    This is amazing, i watched until the end 😭

  • @romansalnikov5079
    @romansalnikov5079 2 роки тому

    I really liked it, I'm impressed. Watched in one breath. I'ts very interesting and informative!

  • @levitycreations
    @levitycreations 2 роки тому

    Amazing!

  • @vertenyi
    @vertenyi 2 роки тому

    thank you, it was great

  • @thaptam
    @thaptam 2 роки тому

    This is awesome

  • @metalemissary416
    @metalemissary416 Рік тому

    Freya taught me a lot of the things I know today

  • @THEspindoctor84
    @THEspindoctor84 3 роки тому +49

    this was such an awesome description of lerp and inverse lerp! It really helped solidify my understanding of them, and I've already found several use cases in my game that I have easily been able to accomplish!
    listened twice - understood lerp.
    listened three times - understood inverse lerp.
    listened four times - understood remap.

    • @supendi42
      @supendi42 2 роки тому +1

      Lol turns out I'm not the only one who is rewatching haha

  • @razveck
    @razveck 4 роки тому +43

    I struggle with the mapping issue she mentioned on a regular basis. I have to remap things all the time. I didn't know there was an inverse lerp function, and this will save me countless hours in the future

    • @ThePC007
      @ThePC007 2 роки тому

      If I understand things correctly it's just the _map_ function that's provided in the Arduino framework. I've found this function so useful that I started using it in non-Arduino projects as well.

    • @Edward-bm7vw
      @Edward-bm7vw 8 місяців тому

      "She"? What "she"?

  • @rodericksibelius8472
    @rodericksibelius8472 Рік тому +1

    Mathematics is the tool of all Engineering Sciences and Technology, it is awesome that we have 'computers' today with the use of programming we can create graphics and animation in colors: visualization, and to computer games. Engineering design is the most indispensable tool for use of this. Thank You for educating us.

  • @rodolfoxavierneto6667
    @rodolfoxavierneto6667 2 роки тому

    Thanks from Brazil

  • @hund4440
    @hund4440 2 роки тому +10

    In blender there is the "map range" function which is just a generalised version of lerp and iv lerp. It takes input range minimum and maximun, output range minimum maximum and the value as inputs and outputs the remapped value. For a normal lerp the input bounds are just 0 and 1. And it also does extrapolation aswell but this can be turned off if not desired.

  • @bissash103
    @bissash103 3 роки тому +9

    Great Talk Freya

  • @h5gocean
    @h5gocean Рік тому

    Very Insightful, how did i miss this 😇

  • @DigilusionStudios
    @DigilusionStudios 2 роки тому +3

    Looking at the points and vectors you have to make a bezier curve are the same kind of ideas that Tony Derose talks about used in the development of the Toy Story movies with the Catmull-Clark equations. He gave a TedTalk in 2013 using a SubDiv program making curves into full circles for 3D geometry used in Pixar just by splitting the midpoints.

  • @mysund
    @mysund 10 місяців тому

    Excelent.

  • @m.sierra5258
    @m.sierra5258 2 роки тому

    Surprised to not have seen distance maps in this talks. Animation using distance maps and lerp is a really nice usecase as well I think :)

  • @williamzulu5134
    @williamzulu5134 3 роки тому +1

    Thanks Freya.

  • @zettkusanagi6322
    @zettkusanagi6322 2 роки тому +1

    im in love!!!!

  • @alexsteed3091
    @alexsteed3091 3 роки тому

    Dope.

  • @danplt
    @danplt 2 роки тому

    I was thinking she may going to mention lerp. She did!

  • @kidannelson6449
    @kidannelson6449 Рік тому

    I have no idea if its because of freya but Unity shadergraph now has a remap node that does exactly what she described around 26:00.

  • @HarishIyer21
    @HarishIyer21 9 місяців тому +1

    Freya Holmer - The Shader Goddess

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

    🔥

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

    great

  • @kummer45
    @kummer45 2 роки тому +8

    The problem with Bernstein Polynomials and Bezier constructions that no one explains clearly how they where formed or derived in great detail.
    These are engineering drawing mechanical techniques that where rediscovered by computer scientists. It's amazing that forgotten techniques are being rediscovered again like the quaternions studied by Hamilton.

  • @asoor
    @asoor Рік тому +4

    I truly admire this woman and her deep knowledge. Bravo Freya! Keep it up

  • @Bobbo1771
    @Bobbo1771 Рік тому

    Freya Holmer : Game Devs :: Felicia Day : Nerdcore
    They both do a fantastic job engaging with their communites, and emit such a positive vibe.
    Freya has so much educational content on her channel though, she's probably become Big(O) in the function that determines my interest in math.

  • @ahmedosman4658
    @ahmedosman4658 Рік тому +1

    She deserves better that to be watched with the interruption of ads

  • @josephmerrill2686
    @josephmerrill2686 Рік тому

    Unrelated but adjacent, I'm interested in whether the 3D fractal program, Mandelbulb 3D can be sped up. Apparently the fractal generators on the back end need higher resolution than actual graphical resolution and therefor requires Large Floating Point numbers and apparently (I'm told) this means we can't use GPUs. One idea I have for that program is whether they could at least separate out the post processing and assign that to GPUs. But I wonder if there are other ways to speed up fractal generation, possibly get it on a GPU platform. IDK.

  • @Kenbomp
    @Kenbomp 2 роки тому

    Nice not too hard to make it plot angled polygons.

  • @InnerAtmos
    @InnerAtmos Рік тому

    I would be so much better at math today, if Freya taught me in school as a kid.

  • @Deplissee
    @Deplissee 3 роки тому +2

    When copy&paste implementing: I think a Lerp with "(b-a) * t + a" would be faster (less operations).

    • @JasminUwU
      @JasminUwU 2 роки тому +2

      Not that it matters much anyway. Most of your performance isn't being used on lerp

    • @devforfun5618
      @devforfun5618 2 роки тому

      @@JasminUwU only if you use lerp whenever possible, which the talk is promoting

    • @SVVV97
      @SVVV97 10 місяців тому +1

      ​@@devforfun5618you might also argue that in this case you'd want the numerically more stable convex-combination version she's shown in the talk

  • @josueurielquintana
    @josueurielquintana Рік тому

    I woulda burned the whole house when you showed that sine cosine tang simulation graph

  • @sp10sn
    @sp10sn 2 роки тому +5

    I feel the editor was very rude to Freya. Despite her effort to call attention to slides, which she prefaced as critical, the edit is largely footage of her expressing an amazing narrative. But not in the way she wanted to.

    • @bigmistqke
      @bigmistqke 2 роки тому +1

      Mm, don't really understand what u mean. The graphics look clear and I can follow along easily.

  • @AndrewTSq
    @AndrewTSq 2 роки тому +1

    If I only learn 50% of this math, I will know 100% more. interesting, even if I dont really understand everything :)

  • @HotHeadCringe
    @HotHeadCringe Рік тому

    [sits on the floor]

  • @yasasvitennety4885
    @yasasvitennety4885 15 днів тому

    She's been named appropriately. Freya is a God lol

  • @joshuastein1888
    @joshuastein1888 2 роки тому

    she made Budget Cuts??? i almost broke my hand grabbing through the hole in the floor....

  • @madshorn5826
    @madshorn5826 3 роки тому +11

    Shouldn't inverse "Lerp" be "Prel"? ;-)

  • @null21235
    @null21235 3 роки тому

    Beautiful

  • @qubitx64
    @qubitx64 4 роки тому +1

    right

  • @SeaOfTorment
    @SeaOfTorment 8 місяців тому +2

    This is amazing! I love the way she teaches! Are there more recordings of her teaching in this manner?

    • @Edward-bm7vw
      @Edward-bm7vw 8 місяців тому +2

      *he *his

    • @ItsBaffledd
      @ItsBaffledd 6 місяців тому +1

      @@Edward-bm7vwyou’re a lo* ser*

  • @martinpetersson4350
    @martinpetersson4350 Рік тому

    Hah I knew it was a bezier as soon as I saw it!

  • @KnightwitchRecords
    @KnightwitchRecords 9 місяців тому

    29:00 code

  • @fairnut6418
    @fairnut6418 2 роки тому +2

    30:57 literally the reason I don't attend a single math related class in my university, I either learn the things myself or you know... let them slide

  • @corriedotdev
    @corriedotdev 2 роки тому

    Insane

  • @cupostuff9929
    @cupostuff9929 Рік тому

    1:03 ayo, who did these captions, she ain't named Franco Murray

  • @nobody7817
    @nobody7817 Рік тому +1

    I'm an old Electronics engineer, worked on TV sets (you know--REAL TVs with actual Cathode Ray Tubes as a viewing screen) in my younger years. I would LOVE for her to look at the old RCA color guns and explain them from input to light emission. I mean I understood it, probably better than most of my peers, I had no problems troubleshooting them... but I bet she could bring that antiquated circuit theory to life! (BTW--analog is always superior to digital in real life animation---brownie points for any body that can explain why below!)

  • @samferrer
    @samferrer Рік тому

    Lots of numbers... in programming? Those who state that are missing the whole point in programming... and math in general ...

  • @retsapb6319
    @retsapb6319 2 роки тому +1

    Thought i knew everything about lerps, was dead wrong

  • @rishikeshjaiswal3979
    @rishikeshjaiswal3979 3 роки тому +4

    Bezier curves are literally what Pixar uses in their animation and modelling and shading!

  • @n-0-1
    @n-0-1 Рік тому

    I clicked on this video and didn't think I was actually going to be interested enough to watch the whole video. Its crazy how math can be used to emulate reality.

  • @nobody7817
    @nobody7817 Рік тому

    3:42 Yeah... I understood it; but didn't know what it was either....

  • @kaus05
    @kaus05 2 роки тому

    She has a youtube channel if anyone wants

  • @bobasquid3339
    @bobasquid3339 2 роки тому +3

    Math is a reason why so many people never finish their degrees. Non stem math requirements are needlessly too rigorous. It's a statistic.

    • @qqqq-dp4rv
      @qqqq-dp4rv Рік тому

      just skip the degree part and go work in a cafe or something

    • @bobasquid3339
      @bobasquid3339 Рік тому

      @@qqqq-dp4rv Well, just look at these right wing f(R)auds, high school drop outs to ivy league, leading part of the country. I don't think solving for the quadratic equation made a difference. We actually need cafe workers. That's not an insult.

  • @riaan077
    @riaan077 2 роки тому +10

    Man this girl is pretty cute and smart too! Best combo.

    • @DoubleBullet
      @DoubleBullet 2 роки тому +15

      it's a guy.

    • @DoubleBullet
      @DoubleBullet 2 роки тому +4

      @FVRS I’m not kidding, it’s a trans guy. Look at his old videos and you will see.

    • @mattlegge8538
      @mattlegge8538 2 роки тому +2

      @FVRS Are you questioning yourself yet? hahaha

    • @w0nnafight
      @w0nnafight 2 роки тому

      @FVRS lol

    • @luxraider5384
      @luxraider5384 2 роки тому +4

      @FVRS i mean, doesn t his voice make it obvious?

  • @krissloo143
    @krissloo143 3 роки тому +6

    Haha, when she finally showed the lerp code I decided to test my understanding for what she was talking about and wrote my own code which is a step further from hers after simplifying stuff
    it goes like this:
    return a + t*(b - a);
    I wonder why didnt she notice that

    • @null21235
      @null21235 3 роки тому

      Same equation

    • @Zguy1337
      @Zguy1337 3 роки тому +35

      So "a+t*(b-a)" and "(1-t)*a+b*t" are the two standard ways of implementing lerp. Mathematically, yes, they are exactly the same, but when running on actual hardware with IEEE 754 floating point numbers, they are /not/ necessarily the same! Why? Rounding errors.
      With the version Freya presented, for t=0 you are guaranteed to get back exactly a, and for t=1 you are guaranteed to get back exactly b. That is not the case with the simplified version. There you are only guaranteed to get back exactly a for t=0, but you are /not/ guaranteed to get back exactly b for t=1, due to rounding errors with IEEE 754 floating point values. That said, for the most part, especially with nice simple values for a and b, you will get back exactly b, and even if you don't, depending on your use case, it will be close enough to not matter. But that is why many developers prefer the version Freya presented.

    • @krissloo143
      @krissloo143 3 роки тому +2

      @@Zguy1337 Thanks a lot :) it makes a lot of sense now. I'm like it wasn't that hard to see, why didn't she use a simpler way.
      But it still means we're performing less operations in the simpler method, aren't we? (my use case was games programming, mostly dealing with floats, though Unity already has a built in Lerp function)

    • @milanstevic8424
      @milanstevic8424 3 роки тому

      from my custom library
      static public float Lerp(float t, float min, float max) => min * (1f - t) + max * t; // more robust computation of: min + t * (max - min)
      static public float InverseLerp(float lerp, float min, float max) {
      float denom = max - min; return denom.IsCloseToZero()? min : (lerp - min) / denom;
      }
      static public bool IsCloseToZero(this float value, float epsilon = 1E-6f) => Mathf.Abs(value) < epsilon;

    • @milanstevic8424
      @milanstevic8424 3 роки тому +1

      @@krissloo143 "we're performing less operations in the simpler method, aren't we?"
      don't pay too much attention to it. if you don't believe me, benchmark it, it's practically negligible in terms of performance.
      multiplication is VERY fast.

  • @NegativeYoutube
    @NegativeYoutube Рік тому

    right right right, right?

  • @xr_xharprazoraxtra5428
    @xr_xharprazoraxtra5428 Рік тому

    1:59
    my fav part OwO
    8:23
    is it Lerp ? OwO
    8:55
    YES XD I KNEW IT XD

  • @nobody7817
    @nobody7817 Рік тому

    3:00 You couldn't have been more correct in that last statement... I LOVE math...and I always heard: "I'll never need to use this!" Yet people are confused about interest rate calculations and have no idea how to figure out their retirements??? MATH IS VERY IMPORTANT... PAY ATTENTION TO THIS PERSON!!!!!

  • @donaldlouisjohn3652
    @donaldlouisjohn3652 Рік тому

    Where was this event.? Seems like it was in the States, though she seems to work in Sweden. ……….( I’ll just add in my plea, which i expect to be well received in this company, to allow PHOTOS.! ………….In so many places, including here, photos are a no-no. Let’s open this up.! ) …………….[ Freya.: did U notice how i create space with periods.? Like right here. A period between the last word and the Question mark. Writing seems too crowded to me. ( I’m a painter. ) ]

  • @Blacksoul444
    @Blacksoul444 Рік тому

    that's just some math basics. Expected more from the title.

  • @TaHaKaT
    @TaHaKaT 3 роки тому +5

    NERD!

  • @StickyLabDev
    @StickyLabDev 3 роки тому +1

    me ,dont understand at whole all ,

  • @user-og9nl5mt1b
    @user-og9nl5mt1b 3 роки тому +3

    Why she is so.cute omg

  • @TommyLikeTom
    @TommyLikeTom Рік тому

    as a user of blender, your exclamation that you can blender between anything doesn't impress me. In blender you can keyframe anything, and it will automatically "lerp" between them, and you have different lerp settings. You can do it with shaders, color, position, size, rotation, anything really

  • @geddon436
    @geddon436 Рік тому +1

    simple math???? where?

  • @Dumah2007
    @Dumah2007 3 роки тому +3

    nice slideshow Joachim.

  • @erikm9768
    @erikm9768 3 роки тому +5

    Whut? i use these all the time. And every else seem to do that too. I dont understand...

    • @DGFISH88
      @DGFISH88 3 роки тому +7

      Everyone DOES use these all the time, but the logic underpinning the techniques is seldom actually discussed. That's the point of the video, not to introduce lesser known techniques, but to explain the details of some commonly known techniques.

    • @erikm9768
      @erikm9768 3 роки тому +2

      ​@@DGFISH88 Unless the subject is how a quaternion is implemented i think most programmers also know whay say a lerp does internally.

    • @deetvleet
      @deetvleet 3 роки тому +5

      @@erikm9768 a LOT of game programmers learn through doing, either starting with visual scripting in gamemaker and moving up to stuff like unity, and they won't know the fundamentals

  • @MrLinuxFreak
    @MrLinuxFreak Рік тому

    very interesting video..
    are you born as a female or you trans? asking from curiosity

  • @asscancer69thethird70
    @asscancer69thethird70 2 роки тому

    Marry me

  • @2PACBRB2014
    @2PACBRB2014 Рік тому +5

    Is that a man?

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

      I would say. His use of a girl's name is sort of discombobulating.

  • @HomeGameCoder
    @HomeGameCoder 2 роки тому +4

    Thank you Freya!
    This is way easier... if the player goes faster, the camera opens to show more world... if it goes slower, it narrows to show more detail!
    playerVelocity = player.velocity.magnitude;
    float i = Mathf.InverseLerp(minVelocity, maxVelocity, playerVelocity);
    float o = Mathf.Lerp(minFieldOfView, maxFieldOfView, i);
    virtualCamera.m_Lens.FieldOfView = o;

    • @devforfun5618
      @devforfun5618 2 роки тому

      and if you wanna make a hardcore game do the opposite, since adrenalin causes tunnel vision, that could be used in a horror game

  • @magni6o213
    @magni6o213 11 місяців тому +1

    Is she a man who became a woman??

  • @rproctor83
    @rproctor83 3 роки тому +1

    This is called regression, not progression

  • @aaaab384
    @aaaab384 Рік тому +3

    Why did his parents call him Freya? It sounds like a girl's name.

  • @pashechca
    @pashechca 3 роки тому +13

    sound like man,

  • @constantinosschinas4503
    @constantinosschinas4503 Рік тому +2

    Sweet and locally smart guy, went to far, for no reason.

  • @ukranaut
    @ukranaut 2 роки тому +6

    Is that a dude?

    • @Quesbe
      @Quesbe 2 роки тому +14

      She's a woman.

    • @ukranaut
      @ukranaut 2 роки тому +2

      @@Quesbe hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

    • @Quesbe
      @Quesbe 2 роки тому +8

      @@ukranaut what?

    • @ukranaut
      @ukranaut 2 роки тому +2

      @@Quesbe hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

    • @Quesbe
      @Quesbe 2 роки тому +7

      @@ukranaut no offense but u r weird