Тёмный

Math for Game Devs [2022, part 1] • Numbers, Vectors & Dot Product 

Freya Holmér
Подписаться 249 тыс.
Просмотров 723 тыс.
50% 1

Primarily for my students at FutureGames - I will only read chat/superchats during breaks!
Find out more about the school at futuregames.se/
❓ FAQ ❱ acegikmo.notion.site/FAQ-8b62...
💖 Support me on Patreon ❱ / acegikmo
📺 I usually stream on twitch ❱ / acegikmo
💬 Join my discord ❱ / discord
🐦 Follow me on twitter ❱ / freyaholmer
(timestamps courtesy of @manuvaad from the comments! thank u)
0:00:00 Intro
0:24:40 Number line, vector fundamentals
1:05:26 2D Vectors
1:29:14 Vector length (magnitude)
1:42:12 Vector normalization
1:52:04 Q: "Is there a term for vector that fits in a square instead of circle?"
1:55:33 Vector length (code version)
2:09:27 Vector multiplication
2:17:08 Dot product use cases
2:42:10 Practice
2:54:21 Note about scalar projection
2:55:00 Vector projection
3:01:46 Assignments
3:20:00 Questions

Опубликовано:

 

2 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 221   
@user-it3vk9wx7z
@user-it3vk9wx7z 14 дней назад
why did i wake up to this i hate math
@manuvaad
@manuvaad Год назад
24:40 number line, vector fundamentals 1:05:26 vector in two-dimensional Cartesian coordinates 1:29:14 finding vectors' length 1:42:12 normalized vector 1:52:04 Q: "Is there a term for vector that fits in a square instead of circle?" 1:55:33 finding vectors' length (code version) 2:09:27 vector multiplication 2:17:08 dot product use cases 2:42:10 practice 2:54:21 note about scalar projection 2:55:00 vector projection 3:01:46 assignments 3:20:00 questions
@mohitashliya8750
@mohitashliya8750 Год назад
This guy is the saviour
@cristinocanga
@cristinocanga Год назад
The hero we need
@acegikmo
@acegikmo Год назад
Thank you! I've added them to the video now
@badrakhariunchimeg1031
@badrakhariunchimeg1031 5 месяцев назад
love me
@badrakhariunchimeg1031
@badrakhariunchimeg1031 5 месяцев назад
@@mohitashliya8750 really good girls
@RobertThomsonDev
@RobertThomsonDev Год назад
Bout to study all of these in succession! your splines tutorial helped me so much already, thanks for everything you do!
@tarsyth3433
@tarsyth3433 Год назад
Lecture starts at 24:40 :)
@Hazel-Olivia
@Hazel-Olivia Год назад
thank you :)
@w0mblemania
@w0mblemania Год назад
Big cheers. It may be useful to re-up some of these episodes in an edited format.
@musikalniyfanboichik
@musikalniyfanboichik Год назад
Sponsorblock
@Simple_OG
@Simple_OG Месяц назад
Revanced automatically skipped
@omgawesomeomg
@omgawesomeomg Год назад
In case someone is struggling with the fact that the vector a-b gives you the vector from b to a and not the other way around, maybe this helps: To get from b to a, you can first subtract b (i.e. -b) to get back to zero and then add a (i.e. +a). So the vector from b to a can be written as -b+a and since we're allowed to flip the numbers (or vectors) around when doing addition, this is the same as a+(-b) or simply a-b.
@cptwoody7103
@cptwoody7103 Год назад
maybe this is principle of change any children's transform space to any of transform space you want ?
@tljstewart
@tljstewart Год назад
Think of it as Final minus Initial, it’s a common concept in math and science and can be applied generally.
@sullivan3503
@sullivan3503 Год назад
Also delta x = xf - xi. That is final minus initial.
@testdriver3146
@testdriver3146 11 месяцев назад
@@UNABRIDGED_SCIENCE You have so many issues that I don't even know where to start. Seek some help. Maybe start with your social skills, then follow up with English language classes. Really. Seek some help.
@egemenka1
@egemenka1 Год назад
Wow, this video is absolutely amazing! Freya's method of explaining math concepts for game development is truly brilliant. The way she presents the material is so clear, concise, and easy to understand. The examples and visuals used throughout the video were incredibly helpful in solidifying my understanding of the subject matter. I can't thank you enough for sharing this valuable resource, Freya. You are a gifted educator, and I look forward to watching more of your videos in the future. Keep up the fantastic work!
@trungnguyencong3216
@trungnguyencong3216 8 месяцев назад
"a lot of people forget math" Thank you, you are a lifesaver. I am someone from a different field who used to work in web development for 2 years, but I am very passionate about Unity programming and transitioning into it. I have forgotten most of my math, but thanks to this series of yours, I hope it will help me in the learning and self-development process.
@abeni3432
@abeni3432 2 месяца назад
I just bumped into this channel, specifically, this video. THIS WOMAN IS AMAZING!!
@lorenbeall147
@lorenbeall147 Год назад
welcome back Freya. happy to see you again. very good content.
@henrmota
@henrmota Год назад
Very nice of you to put all this effort teaching this ❤!
@typhoonsgt6507
@typhoonsgt6507 Год назад
Hello thank you for creating videos like this. I am an upcoming college student who will take this course and I am very bad at math and I am scared to lose my scholarship that I acquired if I fail math that is why I am thankful for you for making these for free
@vuxius5670
@vuxius5670 Год назад
It really worked for me after I look and try some tutorials, yours is the one that worked. Owe you a lot.
@philosophia5577
@philosophia5577 10 месяцев назад
I wat to let you know that you have reached your target audience. Just found your channel while learning how to write custom shaders in Flutter(its a UI Toolkit) and while I was also looking for math, I found your channel! Keep it up for all the amazing work you have done!
@okeowoaderemi
@okeowoaderemi 9 месяцев назад
I legit came here after entering Animation in Flutter. Wild, did you see an resource for animation. I'm trying to improve my math.
@ErikBorchersVR
@ErikBorchersVR Год назад
Thank you for posting these videos on RU-vid!
@frostl3d
@frostl3d Год назад
Thank you so much for posting it!
@Mentox2
@Mentox2 Месяц назад
Thank you so much for making this series.
@Kindjie
@Kindjie Год назад
Hi Freya! Just stopping by quickly (before even watching the VOD) to say thank you for doing this series! We really appreciate you and what you're doing... Even old guys like me who need to refresh our failing memories now and then. 😅Please keep up the good work. 😊
@dannys_85
@dannys_85 Год назад
Wy how old you are? 37 hire still learning every day for some years now.
@Pneumostome
@Pneumostome Год назад
I'm 61 with extensive background in 3D, simulation, and so forth, but trying to get my mind around the actual guts of interactivity, eg. programming/scripting and MATH! Thank you for these videos.
@vjfnv8463
@vjfnv8463 11 месяцев назад
I cannot believe what I am seeing it with my eyes! LOOL TY SO MUCH!
@j0rge1454270
@j0rge1454270 Год назад
Yes! I'm heading to work so won't be able to watch until later. Thanks for the upload later!!
@GameDevEFacil
@GameDevEFacil Год назад
oh no, I lost it lol keep doing it please, you're my math savior
@DonChups
@DonChups Год назад
Thanks a lot for this class.
@MultiToto07
@MultiToto07 Месяц назад
Thank you very much for creating such free quality resources ! You are so great 🙏
@sagenodes
@sagenodes Месяц назад
Beautiful and Amazing, thank you!
@zoop391
@zoop391 Год назад
I really appreciate the courtesy for uploading the stream, thanks.
@NosebleeddeGroselha
@NosebleeddeGroselha 10 месяцев назад
If my math teachers in middle/high school were lovely people who love cats, I would be a math genius by now I never developed anything, but suddenly had an idea that would make a great game for my final project in college, so I decided to take in the challenge. I’m sure your content will literally save my life. I haven’t even watched an hour of it yet and I already love your way of teaching, I can’t believe you’re putting all this out for free! Thank you so much for all this, Freya. +1 sub!
@samolodaimao2972
@samolodaimao2972 Год назад
J'aime beaucoup ton travail !
@rat_king-
@rat_king- Год назад
that art is so amazing!
@idsappples
@idsappples Год назад
thank you for your service
@techthyself
@techthyself 24 дня назад
Amazing, yet reasonable formulated.
@chibiparadox
@chibiparadox Год назад
Um actually the vector at 1:32:20 would be a-b not b-a. For length direction doesn't matter, but b-a would point the other way.
@mulualemtekle6094
@mulualemtekle6094 Год назад
heyyy, thanks for doing this!
@xX_dash_Xx
@xX_dash_Xx Год назад
3 y's!!!
@TheLightofaidan
@TheLightofaidan 17 дней назад
Man. I just woke up to this playing and I was having a lucid dream where someone was taking me hostage and I had to give an answer to some number riddle. Freaky.
@user-it3vk9wx7z
@user-it3vk9wx7z 14 дней назад
LOL
@konstantinkhrebtov3042
@konstantinkhrebtov3042 Месяц назад
you are great teacher!!!
@iamgruff
@iamgruff Год назад
Hey megabosscat Freya, I noticed after the 1hr ish mark you mentioned that imaginary numbers are not important to game dev, but... Quaternions :)) I get what you are inferring i think, which is that it is unlikely any engine user will ever customise a quaternion implementation themselves and therefore can simlpy just use them when calling to some in-engine wrapper like Quaternion.Something(). But from a mathy POV [which you said you were coming from I think], its pretty important to represent orientations and rotations in game math, especially when aiming not to incur things like rotational edge cases such as gimble lock [when using Euler math to solve for O and R]. Your great by the way, and I'm certainly not trying to throw any shade/or corrective attitude at yuo (i've learned so so much from your content), but I think it might be fairer to say something like "they sit lower down the chain in game math where a dev might not need to know much about the inner workings, but be satisified the math has been proven so it can be used without worry of the constraints that come with using Euler method. ?? i dunno, am I wrong here, or did I misinterpret this part of this absolutely amazing long form lecture?! Thanks for all your super hard work to deliver this stuff, I literally love catching up on your latest videos. [Also, if you have time, let me know if I did misinterpret the whole imaginary numbers section on whether one should at least know about imaginary nums] 🥲
@acegikmo
@acegikmo Год назад
most people who use quaternions never actually understand or unravel the inner workings, and I would even go as far as to say, most people making engines also don't really have to learn how quaternions work, you can just copy/paste code and trust the math and you'll be fine. so yeah, this is why I don't consider it important. it's interesting though!
@myth0genesis
@myth0genesis Год назад
@@acegikmo I'm actually using imaginary numbers right now for the solution of the signed distance field of a quadratic Bezier curve in a ray marched shader.
@slavaukharikkim4833
@slavaukharikkim4833 Год назад
Спасибо! Большое человеческое спасибо!
@Dexterdevloper
@Dexterdevloper 2 месяца назад
I really appreciate it.
@MichaelCharlesAubrey
@MichaelCharlesAubrey Год назад
I love your K702s!
@RegenerationOfficial
@RegenerationOfficial Год назад
1:00 you are correct, youtube got way more mainstream and approachable for disabled
@andyvandenberghe6364
@andyvandenberghe6364 Год назад
amazing i just found this channel.
@-Engineering01-
@-Engineering01- Год назад
When i got my second job I wanna to thank you with a huge support, thanks Freya !
@quas67
@quas67 Год назад
Legend is back
@mathbbn2676
@mathbbn2676 11 месяцев назад
very well. I want to teach like this . so very clear exercise
@testdriver3146
@testdriver3146 11 месяцев назад
Great information and some interesting ways to explain. Thank you very much. Inget e' som gamla Svedala !
@CanadianBoyArt
@CanadianBoyArt Год назад
thank you so much.❤ If possible, please share the slides with us.
@fbl2022
@fbl2022 Год назад
Oh man! your live took place at 5:00 am in my country😫 ...anyway, YOU GREAT✌😁👍
@Deewens
@Deewens Год назад
Hello, many thanks for the video. Will you share the board you just draw everything in?
@Vazzible_gaming
@Vazzible_gaming 7 месяцев назад
You should teach computational geometry, I think you would be very good at it.
@thejaycem
@thejaycem 9 месяцев назад
u'r an angel!
@n00bphd84
@n00bphd84 Год назад
Manhattan distance metric. Very fun
@TPubbie
@TPubbie 6 месяцев назад
Are the assignments available to the public? Thanks for uploading these!
@adamrees3740
@adamrees3740 3 месяца назад
This Video should be mandatory in all Schools Globally 😂
@official_mixedfisher198
@official_mixedfisher198 Месяц назад
impressive asf
@serefine927
@serefine927 Год назад
I woke up to this. I left a crochet vid one to fall asleep but this also good
@liquaard2824
@liquaard2824 Год назад
Hi Freya , cant thank enough for these videos -- i am just about to start watching this series , should i watch Math For Game Devs (2020) before this ?
@lewcreative
@lewcreative Год назад
It's more or less the same stuff, I haven't completed 2020 but, have seen part of it.
@realcygnus
@realcygnus Год назад
4 hrs ! 🍿engaged 👍
@invaderzip7356
@invaderzip7356 Год назад
To draw a perfectly straight line in photoshop in any direction. To draw a perfect horizontal or vertical you can hold shift and draw horizontal or vertical. To draw in any other angle, First you must put a dot in the starting point the hold down shift and place a dot at the end point.
@acegikmo
@acegikmo Год назад
not with a tablet pen, pen pressure makes the line basically invisible
@invaderzip7356
@invaderzip7356 Год назад
@@acegikmo you may have the widows ink on that may be messing it up. i have a wacom intuos. windows ink tends to mess up quite a few things in photoshop for drawing tablets
@acegikmo
@acegikmo Год назад
@@invaderzip7356 I mean the tablet works fine, it's just that it takes pen pressure into account for the start/end of the line, and unless I jam the pen into the tablet for 1 frame at the end, the line won't have full opacity
@konstantinkhrebtov3042
@konstantinkhrebtov3042 Месяц назад
very good idea 3:57:xx when you move the formula to the same vector!!!!!
@sergiohere12
@sergiohere12 Год назад
Are there any differences between this videos and the ones you did 1 year ago? Is there more content? I'm doing a videogame master and I would be interested in learning more about math because I really suck hah. Should I watch this new one from 2022 or the old one? Thanks in advance!
@acegikmo
@acegikmo Год назад
the content is about the same, but the old ones are edited to remove pauses and whatnot, so they are a little easier to watch! The end of this course will have some new things though
@sergiohere12
@sergiohere12 Год назад
@@acegikmo great, thanks so much for clarifying it and for your incredible work!
@leif1075
@leif1075 Год назад
@@acegikmo just to confirm is this the type of math thst is useful and relevant to people who want to get into designing and developing video games?? Thanks for sharing freely for those who can't afford classes now if so!
@acegikmo
@acegikmo Год назад
@@leif1075 yep!
@leif1075
@leif1075 Год назад
@@acegikmo Thanks for answering. Would you say it is a comprehensive beginner course or it goes a little beyond a beginner course evrn?
@ihasz0212
@ihasz0212 Год назад
Hey, I was always interested in game dev maths that was needed forbthe programming and rendering set ups. You built up the information very well from the basics. Might I ask you a personal question? Do you happen to have Hungarian ancestors? When I saw your username I had the feeling that it looked Hungarian. Thank you for your answer!
@skeleton_craftGaming
@skeleton_craftGaming 10 месяцев назад
I would argue , like calculus, imaginary numbers are used to very frequently. If you're designing your own physics engine. But especially imaginary numbers are used a lot by people. It's just abstracted into functions.
@howdarethee
@howdarethee Год назад
Hey Freya! Are you using plain Photoshop for your live presentation and which tablet are you working on?
@acegikmo
@acegikmo Год назад
Wacom intuos pro w. vanilla Photoshop yeah!
@fangornthewise
@fangornthewise Год назад
There is more than one type of Photoshop? O.o
@nena8571
@nena8571 Месяц назад
First of all, this whole video is brilliant and second you are so beautiful 😊
@konstantinkhrebtov3042
@konstantinkhrebtov3042 Месяц назад
perfect, try to change the ceros and ones under same writed you
@konstantinkhrebtov3042
@konstantinkhrebtov3042 Месяц назад
take infinite from cercle to center like with invinite vector stablised in b
@sankalpadhakal9216
@sankalpadhakal9216 8 месяцев назад
good game bro. big fan from noth redriver
@Zwaynn
@Zwaynn 27 дней назад
I fell asleep, and just woke up seeing this
@user-it3vk9wx7z
@user-it3vk9wx7z 14 дней назад
same
@user-it3vk9wx7z
@user-it3vk9wx7z 14 дней назад
hella annoying
@laniakeas92
@laniakeas92 Год назад
Not trying to be creepy but your voice is like asmr for my ears! Soothing.
@damianoriello283
@damianoriello283 10 месяцев назад
Is it a good playlist for programmers that are new in the gaming world and have a basic knowledge of math ?
@elizabethmonroe2290
@elizabethmonroe2290 9 месяцев назад
okay, so a vector is just a point that can become something based on context, like a position, direction, or offset?
@xhivo97
@xhivo97 11 месяцев назад
Lol at RU-vid UX with not being able to find the superchats. Idk why but RU-vid has a really bad UX in the app and I guess on desktop with live chat too.
@pcb5135
@pcb5135 3 месяца назад
How does this distance formula looks in the equation? 35:40
@juanfranciscocastillo5149
@juanfranciscocastillo5149 Год назад
Great!!! 🙋🏻‍♂️👍
@ophelia6044
@ophelia6044 Год назад
you almost always have your headset on, is it a habit just to casual have it on or do you actually have it playing something? I just like to have it casually myself...
@cleitonthiagomoreiramonte3913
Question: what is the name of the artist who did the cover/illustration for your chanel?
@acegikmo
@acegikmo Год назад
twitter.com/yo_su_ra
@cleitonthiagomoreiramonte3913
Thanks
@Peregonn1
@Peregonn1 6 месяцев назад
What is a hotkey in photoshop to swicth between colors in a swatch? like here: 31:43. But sometimes you choose color with a cursor...
@acegikmo
@acegikmo 5 месяцев назад
I've added custom shortcuts for my colors! I use a streamdeck to make it a little easier twitter.com/FreyaHolmer/status/1678773554882699264
@duckman6403
@duckman6403 Год назад
i'm a graduate and im stuck on the first assignment. Don't want to look anything up. My prospects are over before they even began...
@Aloga_
@Aloga_ Год назад
I will watch this video over and over again. 🤍
@johnpaulodevera1281
@johnpaulodevera1281 7 месяцев назад
I love your cat!
@alemswazzu
@alemswazzu 5 месяцев назад
Good video. I appreciate the work. The constant zooming in and out and moving around the screen towards the middle of the video drove me nuts though.
@sazhchocobo
@sazhchocobo 8 месяцев назад
easiest sub of my life
@stateofthefuck2089
@stateofthefuck2089 11 месяцев назад
it helps me a lot
@sun4positive
@sun4positive 9 месяцев назад
I think tour right using RU-vid vs Twitch! 👍👍👍👍
@fatherless_activity
@fatherless_activity 6 месяцев назад
25:18 WHO STARTS THEIR 4 WITH THE LINE FIRST
@vitasjasiukonis8631
@vitasjasiukonis8631 Год назад
What course is this from where you teach?
@acegikmo
@acegikmo Год назад
this is my math class for my students at futuregames! (link in description)
@vitasjasiukonis8631
@vitasjasiukonis8631 Год назад
@@acegikmo thanks. I’ll look a little more navigating the site. I’m just trying to build a foundation when getting into Linear algebra and mult variable Calc next spring, with some programing along the way. Great content with applications. Thanks for your work.
@adhochero6619
@adhochero6619 Год назад
I would have joined the live stream, but I was fast asleep.
@amirmoezz
@amirmoezz Год назад
Hi there, What exactly is this? And what are the examples of its uses?
@acegikmo
@acegikmo Год назад
all of this is in the context of math for game developers, specifically programmers and technical artists
@amirmoezz
@amirmoezz Год назад
@@acegikmo does it have any uses for an ordinary individual?
@acegikmo
@acegikmo Год назад
@@amirmoezz it might! depends on what you do in life
@amirmoezz
@amirmoezz Год назад
@@acegikmo understood, thanks for taking your time. I'm not a graphic designer anyway, but the whole algebras and formulas sounded interesting.
@supertenchoo4271
@supertenchoo4271 11 месяцев назад
Hey Freya Holmer why not write math book for gamedevelopment
@JuneTreeDraws
@JuneTreeDraws 6 месяцев назад
Came for learning math for game devs, stayed for the most based AI image generation opinions by Freya
@Shineglow
@Shineglow 2 месяца назад
is it possible to create bouncing laser without cross product? I can't understand how to reflect ray using only dot product. I know that hit point, normal, and direction makes a plane that can have only 2 ortogonal. i want to get one of them to get annother orthogonal and then reflect my ray with normal and second vector orthogonal to may ray (first is normal). Can someone give me a hint on how I can achieve this with just the tools in this video?
@Shineglow
@Shineglow 2 месяца назад
I still haven't checked it out, but I think I've found the solution: var pointOfProjectToNormal = dot(-ray, normal) * normal; var halfedVectorToMirrored = pointOfProjectToNormal - (-ray); pointOfProjectToNormal += halfedVectorToMirrored; nextRayDirection = pointOfProjectToNormal.normal; // mirrored direction
@Rick-ng3lr
@Rick-ng3lr Год назад
Awesome!!
@mimimalloc
@mimimalloc 8 месяцев назад
Thank you for this excellent lesson that has taught me how to commit crimes with both direction and magnitude
@KendricStern
@KendricStern 10 месяцев назад
What university let you own your likeness and lectures?
@acegikmo
@acegikmo 10 месяцев назад
I teach at futuregames in stockholm, which is a vocational education, not a university!
@KendricStern
@KendricStern 10 месяцев назад
@@acegikmo Thanks for upload! Do any of the students have links to the projects they finished?
@princemandal7393
@princemandal7393 25 дней назад
which country are you from
@pcb5135
@pcb5135 3 месяца назад
Im confused about vector normalization marking, at first it was: a/||a|| but later it says: a with a hat ^
@pcb5135
@pcb5135 3 месяца назад
i figured that out
@felipedejesus6696
@felipedejesus6696 Год назад
Wao q padres conceptos... 🙊!
@joakimappelqvist8237
@joakimappelqvist8237 6 месяцев назад
Barn Som skriker får med stor sannolikhet för lite uppmärksamhet.
@elitequeef
@elitequeef 11 месяцев назад
As a dev, you need calculus to do what I do love. ;)
@chiragsawajiyani8540
@chiragsawajiyani8540 Год назад
Next class?
@acegikmo
@acegikmo Год назад
9:00 CEST tomorrow!
@baraksmash
@baraksmash Год назад
SPOILER ALERT: 3:37:00 Floofer Scooter
@IcedDoubleYT
@IcedDoubleYT Год назад
if i suck at math can I still become a game dev
Далее
Lerp smoothing is broken
57:19
Просмотров 77 тыс.
Why can't you multiply vectors?
51:16
Просмотров 397 тыс.
Everything You Need to Know About VECTORS
17:42
Просмотров 1 млн
The Beauty of Bézier Curves
24:26
Просмотров 1,9 млн
10 Math Concepts for Programmers
9:32
Просмотров 1,7 млн
The Continuity of Splines
1:13:50
Просмотров 1,3 млн