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

Поделиться
HTML-код
  • Опубликовано: 3 июн 2024
  • ИгрыИгры

Комментарии • 208

  • @anouaraja7256
    @anouaraja7256 3 года назад +191

    Freya Holmer, The Shader Goddess

  • @MatthewAWinston
    @MatthewAWinston 3 года назад +176

    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 Год назад +9

      some ppl got salty over your compliments lol

    • @datarake7222
      @datarake7222 Год назад +10

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

  • @pepperizedgaming
    @pepperizedgaming 4 года назад +84

    Fantastic talk, thank you Freya

  • @Quesbe
    @Quesbe 3 года назад +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)

  • @Samich
    @Samich 3 года назад +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.

  • @jonathansaindon788
    @jonathansaindon788 2 года назад +10

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

  • @bigmistqke
    @bigmistqke 2 года назад +4

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

  • @razveck
    @razveck 4 года назад +45

    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 9 месяцев назад

      "She"? What "she"?

  • @titusgrothaus2550
    @titusgrothaus2550 3 года назад

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

  • @ConstantDupuis
    @ConstantDupuis 4 года назад +4

    Very good overview and clear illustrations

  • @Kenbomp
    @Kenbomp 2 года назад +3

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

  • @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!!!

  • @venkataramayya4266
    @venkataramayya4266 2 года назад

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

  • @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

  • @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

  • @joshgordon7299
    @joshgordon7299 2 года назад

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

  • @quinndepatten4442
    @quinndepatten4442 2 года назад +8

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

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

  • @sral8769
    @sral8769 Год назад

    This was really fun to watch :) Thank you

  • @slimepixel
    @slimepixel Год назад

    This was great explanation!
    Thank you!

  • @NevRS32
    @NevRS32 3 года назад

    That was AWESOME! Thank you!

  • @romansalnikov5079
    @romansalnikov5079 2 года назад

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

  • @PrathviShettyoo5
    @PrathviShettyoo5 4 года назад +5

    Wow that's visualisation was so cool

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

  • @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 :)

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

  • @JonathanAnima
    @JonathanAnima 20 дней назад

    32:32 "this is my bussiness card....feed back me and tell me how shitty this talk was " ...hahahah such a humble genius.
    You're awesome , a math goddess indeed, thanks

  • @metalemissary416
    @metalemissary416 Год назад

    Freya taught me a lot of the things I know today

  • @vmmi8215
    @vmmi8215 2 года назад

    This is amazing, i watched until the end 😭

  • @h5gocean
    @h5gocean Год назад

    Very Insightful, how did i miss this 😇

  • @edisonphoenix3303
    @edisonphoenix3303 2 года назад

    Absolutely Awesomeeee!

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

  • @kristal1624
    @kristal1624 9 месяцев назад

    Wonderful Freya ❤❤❤

  • @bissash103
    @bissash103 4 года назад +9

    Great Talk Freya

  • @levitycreations
    @levitycreations 2 года назад

    Amazing!

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

  • @rodolfoxavierneto6667
    @rodolfoxavierneto6667 3 года назад

    Thanks from Brazil

  • @vertenyi
    @vertenyi 2 года назад

    thank you, it was great

  • @ahmedosman4658
    @ahmedosman4658 Год назад +1

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

  • @thaptam
    @thaptam 2 года назад

    This is awesome

  • @mysund
    @mysund 11 месяцев назад

    Excelent.

  • @williamzulu5134
    @williamzulu5134 3 года назад +1

    Thanks Freya.

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

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

  • @danplt
    @danplt 2 года назад

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

  • @HarishIyer21
    @HarishIyer21 10 месяцев назад +1

    Freya Holmer - The Shader Goddess

  • @zettkusanagi6322
    @zettkusanagi6322 2 года назад +1

    im in love!!!!

  • @asoor
    @asoor Год назад +4

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

  • @yonilaskov340
    @yonilaskov340 7 месяцев назад

    great

  • @SeaOfTorment
    @SeaOfTorment 9 месяцев назад +3

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

    • @Edward-bm7vw
      @Edward-bm7vw 9 месяцев назад +2

      *he *his

    • @ItsBaffledd
      @ItsBaffledd 7 месяцев назад +1

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

  • @InnerAtmos
    @InnerAtmos Год назад

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

  • @josueurielquintana
    @josueurielquintana Год назад

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

  • @alexsteed3091
    @alexsteed3091 3 года назад

    Dope.

  • @yasasvitennety4885
    @yasasvitennety4885 Месяц назад

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

  • @sp10sn
    @sp10sn 2 года назад +6

    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.

  • @Deplissee
    @Deplissee 3 года назад +2

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

    • @JasminUwU
      @JasminUwU 3 года назад +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 11 месяцев назад +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

  • @Kenbomp
    @Kenbomp 2 года назад

    Nice not too hard to make it plot angled polygons.

  • @madshorn5826
    @madshorn5826 3 года назад +11

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

  • @joshuastein1888
    @joshuastein1888 3 года назад

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

  • @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

  • @Talmagett
    @Talmagett 6 месяцев назад

    🔥

  • @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 :)

  • @null21235
    @null21235 3 года назад

    Beautiful

  • @martinpetersson4350
    @martinpetersson4350 Год назад

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

  • @qubitx64
    @qubitx64 4 года назад +1

    right

  • @HotHeadCringe
    @HotHeadCringe Год назад

    [sits on the floor]

  • @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!)

  • @cupostuff9929
    @cupostuff9929 Год назад

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

  • @KnightwitchRecords
    @KnightwitchRecords 9 месяцев назад

    29:00 code

  • @corriedotdev
    @corriedotdev 3 года назад

    Insane

  • @krissloo143
    @krissloo143 3 года назад +7

    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 года назад +36

      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.

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

  • @retsapb6319
    @retsapb6319 2 года назад +1

    Thought i knew everything about lerps, was dead wrong

  • @nobody7817
    @nobody7817 Год назад

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

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

  • @kaus05
    @kaus05 2 года назад

    She has a youtube channel if anyone wants

  • @samferrer
    @samferrer Год назад

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

  • @riaan077
    @riaan077 2 года назад +11

    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?

  • @rishikeshjaiswal3979
    @rishikeshjaiswal3979 3 года назад +4

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

  • @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!!!!!

  • @xr_xharprazoraxtra5428
    @xr_xharprazoraxtra5428 Год назад

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

  • @NegativeYoutube
    @NegativeYoutube Год назад

    right right right, right?

  • @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. ) ]

  • @TaHaKaT
    @TaHaKaT 3 года назад +5

    NERD!

  • @Blacksoul444
    @Blacksoul444 Год назад

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

  • @user-og9nl5mt1b
    @user-og9nl5mt1b 3 года назад +4

    Why she is so.cute omg

  • @geddon436
    @geddon436 Год назад +1

    simple math???? where?

  • @StickyLabDev
    @StickyLabDev 3 года назад +1

    me ,dont understand at whole all ,

  • @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

  • @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

  • @magni6o213
    @magni6o213 Год назад +1

    Is she a man who became a woman??

  • @2PACBRB2014
    @2PACBRB2014 Год назад +5

    Is that a man?

    • @b43xoit
      @b43xoit 5 месяцев назад

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

  • @Dumah2007
    @Dumah2007 3 года назад +3

    nice slideshow Joachim.

  • @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

  • @rproctor83
    @rproctor83 3 года назад +1

    This is called regression, not progression

  • @BigBrother4Life
    @BigBrother4Life 10 месяцев назад +3

    Is she a guy? a transgender?

  • @aaaab384
    @aaaab384 Год назад +3

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

  • @ukranaut
    @ukranaut 3 года назад +6

    Is that a dude?

    • @Quesbe
      @Quesbe 3 года назад +14

      She's a woman.

    • @ukranaut
      @ukranaut 3 года назад +2

      @@Quesbe hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

    • @Quesbe
      @Quesbe 3 года назад +8

      @@ukranaut what?

    • @ukranaut
      @ukranaut 3 года назад +2

      @@Quesbe hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

    • @Quesbe
      @Quesbe 3 года назад +7

      @@ukranaut no offense but u r weird