Тёмный

1.1 What is a Vector? - The Nature of Code 

The Coding Train
Подписаться 1,7 млн
Просмотров 130 тыс.
50% 1

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

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 132   
@pointerish
@pointerish 4 года назад
I admire your enthusiasm, Daniel. You are a great educator.
@globinhoFF
@globinhoFF 4 года назад
esse ai e BR
@ciceroaraujo5183
@ciceroaraujo5183 4 года назад
@@globinhoFF ola colega.
@ra4950
@ra4950 3 года назад
Totally agree!
@kedusyared6589
@kedusyared6589 2 года назад
Grammarly is helpful after all innit :uganda:
@Trasgoooo
@Trasgoooo Год назад
This is fascinating. I was never interested in physics when I was a kid but this is so exciting, you're a great teacher, Daniel!
@VenomSwitch
@VenomSwitch 4 года назад
I've been using Processing and 5js for almost a year and I can't even explain how good a teacher you are, if only you did all computing topics such Software engineering and data science. You'd make university a breeze for 90% of students!
@user-zu6ts5fb6g
@user-zu6ts5fb6g 4 года назад
Yes, but i would argue that most professors, if they had a lot of freetime (e.g. as a youtuber), would be equally as good at teaching. stress is a big factor.
@VenomSwitch
@VenomSwitch 4 года назад
@@user-zu6ts5fb6g True, however someone reading from a slideshow he made 4 years ago isn't really worth paying £9000/yr for lol. That being said, I do have some great tutors aswell!!
@Metacious
@Metacious 4 года назад
No matter how much I study vectors, understanding the what and why is always welcome
@plamenyankov2182
@plamenyankov2182 4 года назад
I've just bought your book The Nature of Code and I am planning to eat it from cover to cover while I am taking Computational Mathematics and Programming 2 at university. Thank you man you are the best!
@marioecg
@marioecg 4 года назад
I am so glad you are taking time to remake these series Dan. Thank you!
@Brunoenribeiro
@Brunoenribeiro 3 года назад
The definitive series to start learning computer graphics. Wish I had classes like these before!
@lilyanezlibenmeradi7291
@lilyanezlibenmeradi7291 3 года назад
I am just so happy you exist, for so many reasons!! Thank you for the knowledge you are sharing and the enthusiasm you are spreading. ❤️
@AhmadAlMutawa_abunoor
@AhmadAlMutawa_abunoor 4 года назад
You are the reason why I am passionate about coding. I hope I can be as passionate as you are... Keep up the good work.
@diegoferreira3444
@diegoferreira3444 4 года назад
I'm Glad you still make these vídeos, they're super helpful, thats a real teacher for you
@AK56fire
@AK56fire 2 года назад
All your videos are fun to watch. Thanks for making them. I learn a lot from them.
@RodrigoNishino
@RodrigoNishino 3 года назад
Dude... that swaeter is just amazing
@merajjahir2602
@merajjahir2602 3 года назад
i have been learning from you for quite some time , what i love is when you are talking about some topic and along the way you seem to have videos about a closely related topic . and when i am watching that video you have another video about another closely related topic .
@bel-gk-a2304
@bel-gk-a2304 4 года назад
Your video helps me understand not only programming, but also expand my knowledge of the English language!)))) Amazing! Thank you much from Russia!
@Awahrani31
@Awahrani31 4 года назад
Could you do like a data structures course ? Btw I love your channel and your work.
@krccmsitp2884
@krccmsitp2884 2 года назад
Thanks for the introduction to and explanation of vectors. 👍 Back in school I didn't understand it 😵, but through your video I finally could. 😁
@jordimantilla5218
@jordimantilla5218 2 года назад
loving the way you teach
@ciceroaraujo5183
@ciceroaraujo5183 4 года назад
Your energy is a whole other level.
@gokulb9221
@gokulb9221 4 года назад
I don't know why I came to this video.. But it was really interesting to know the concept in depth.. I don't even know javascript yet but stayed till the end of the video ♥️ Literally never enjoyed a coding video this much♥️♥️💯
@michelangelo3330
@michelangelo3330 4 года назад
I'm from Italy and I just bought your book "The nature of Code". I hope to follow this playlist, cause i'm studying Computer Science for Software development in Italy, so I'm so interested... You are a great educator!!!
@leo848
@leo848 4 года назад
You're from Italy? aRe u in quarantine right now?
@michelangelo3330
@michelangelo3330 4 года назад
@@leo848 i live in a region where quarantine has not yet been arranged. But I'm avoiding leaving home so I'm quiet ... I spend time programming and netflix hahaha
@SameBasicRiff
@SameBasicRiff 4 года назад
I always go back to your intro videos because I love your explanations. Thank you!
@SoreBrain
@SoreBrain 4 дня назад
Nature of Code 2024 LET'S GO (from origin to destination)
@amirulidzham3686
@amirulidzham3686 4 года назад
Watching your video while experiencing detention. Love your video. Nail your style. Need theory and code
@RomanPillai
@RomanPillai 4 года назад
This is Bob Ross of the 21st century but a techie instead
@lank_asif
@lank_asif 4 года назад
LMAO that's PERFECT!!!!!!
@samuelcampbell6559
@samuelcampbell6559 3 года назад
"Look there are some happy little vectors."
@seancpp
@seancpp 4 года назад
Love the explanation. Very clear. When I was younger I found it helpful to conceptualize vectors AS an actual point, but with math functions to extract the information about direction, magnitude, distance, etc Because when I was trying to take my algebra knowledge of a vector and apply it to programming, it ended up looking like: struct Vec2d { float magnitude; float direction; }; But luckily my mentor at the time set me straight quickly. But since I was learning the concepts of OOP and encapsulation, the idea of a Point having encapsulated behaviors for distance, direction, etc just made more sense naturally. Maybe a useful insight for any teachers of younger people. Edit: Kate Gregory has a great talk about this at one of her CPPCon keynotes. People naturally understand objects-teach objectly
@srijanpaul
@srijanpaul 4 года назад
Happy to hear this series is being redone ! Love your channel Dan
@florinalozinca8055
@florinalozinca8055 3 года назад
whenever i see that bubble class my mind goes to "what does it mean to be a bubble?!" :))) anyways, thank you so much for all the fun classes. i think i watched everything you posted on p5 and now i'm having a rewatch :D
@LIGHTRAYMultimedia
@LIGHTRAYMultimedia 4 года назад
You are the best teacher, ever!, Congratulations!
@60pluscrazy
@60pluscrazy 3 года назад
Excellent 👌
@seyedmortezakamali2597
@seyedmortezakamali2597 4 года назад
learning in quarantine with the best teacher ever math class always was boring for me but you made it fun
@sairaj6875
@sairaj6875 3 года назад
Just want to let you know that you are an awesome teacher.
@_c_y_ko3150
@_c_y_ko3150 4 года назад
Dude makes the world a better place : )
@alifrizki9845
@alifrizki9845 4 года назад
Thanks dan to make the book free to read. it makes math less scarier to learn.
@dzaki4559
@dzaki4559 3 года назад
Very intuitive explanation, thanks
@wexer82
@wexer82 4 года назад
Thank you.
@VanosTurbo
@VanosTurbo 4 года назад
Looking forward to future videos
@greyrabbit2157
@greyrabbit2157 4 года назад
u deserve a lot more attention.
@culturapoliticaycomputador9999
@culturapoliticaycomputador9999 3 года назад
Joder Danny es el mejor, Saludos Hermano.
@nouuane377
@nouuane377 4 года назад
You are so happy teaching us
@manty9831
@manty9831 4 года назад
That was extremely helpful lesson. Thanks for all of your work!
@rupinderjeetsingh2657
@rupinderjeetsingh2657 4 года назад
Best teacher ever
@devsutong
@devsutong 4 года назад
wowww very interesting! waiting for the next video!!
@reefu
@reefu Год назад
It’s important to note that lists of numbers and arrows in space are BOTH vectors, neither are more fundamental than the other. A vector is really a super abstract idea, they are any set of objects which satisfy a certain collection of properties. It just so happens that arrows in space and lists of numbers both satisfy the necessary properties to be called a vector, and so they are both the same thing.
@robodev6033
@robodev6033 2 года назад
This is the ideal math teacher that every one need.
@elyaizen
@elyaizen 4 года назад
Gawd Dan I love you! ❤❤
@marilu0007
@marilu0007 3 года назад
love it, I want to be like you one day!!!!!
@JoePetrakovich
@JoePetrakovich 3 года назад
you teach so damn good!!!! ty
@Mirko_ddd
@Mirko_ddd 4 года назад
*this dot* song. I missed it so much ♥️
@suryaatrish
@suryaatrish 4 года назад
The way you teach us is funny, amazing and mesmerizing. The explanation you give is just awesome. And thanks for the free to read book. It really helps. ♥️
@user_16309
@user_16309 4 года назад
Please explain your video indexing scheme. I see this one, for example, begins with 1.1. All your videos are numbered, yet for the life of me, I can't make sense of this. Please point me to or make a video on what we are to make of this and how it's relevant to your content. Thank you very much.
@barongello
@barongello 4 года назад
Well, not Daniel, but: Usually, teaching series like this one has the form: X.Y.Z. Where X is the chapter (like Vectors on this one), Y is the video inside this chapter (like introduction, summing, subtracting, rotating, etc.) and Z stands for the video part (when it has more than one part, like first we do basic things, then we improve, add colors, etc.) Coding Challenges are "spare" videos on specific topics, started trying to code stuff with given time and then evolved to doing interesting things. The Coding Challenges are just sequential numbered #123 and sometimes it has two or more parts (thus #123.1 and #123.2) Correct me anyone if I am also misunderstood x)
@TheCodingTrain
@TheCodingTrain 4 года назад
You can also check the navigation at thecodingtrain.com/ which hopefully will help a bit.
@Daniel-th3dh
@Daniel-th3dh 4 года назад
WOW! great video!
@lank_asif
@lank_asif 4 года назад
Ya still got it homie!!
@Kaivuri8D
@Kaivuri8D 4 года назад
This is so great. Looking forward seeing this whole serie
@chanasiegel2706
@chanasiegel2706 4 года назад
Who would dislike this? 😮
@gregfletcher2360
@gregfletcher2360 4 года назад
Coding Train == ❤️
@ahmedhassanahmedhassan6495
@ahmedhassanahmedhassan6495 4 года назад
Hoş geldiniz hocam.
@neillunavat
@neillunavat 4 года назад
You finally redid all the videos Dan. Hopefully we'll get to hear the "I'll magically edit these videos afterwards" statement. 😃
@SYNAPSEdwl
@SYNAPSEdwl 4 года назад
💕 Many thanks for your great job 💕
@bjoern.molinari
@bjoern.molinari 4 года назад
Always a pleasure to watch your explanations. A lot of value. top. thanks for your work!
@robinwulz1404
@robinwulz1404 4 года назад
Please, have some love from Germany
@Luftbubblan
@Luftbubblan 4 года назад
Very nice. Was doing pretty much the same thing as @11:00 couple of days ago, would been perfect to see this video then hehe. I wanted to rand movement using vector in C++ and took the same approach as you did here but turned out it had to be a bit different(Couldn't solve it without looking it up :/ ). pos.x=2*(float)rand()/(float)RAND_MAX -1; And same for y.
@patrickmayer9218
@patrickmayer9218 Год назад
*Physics vectors are important for game dev because velocity is how game objects move. *P5 Vectors store X and Y components rather than direction and magnitude. *var varName = createVector(xComponent, yComponent) to create vector obj
@brucewernick6542
@brucewernick6542 4 года назад
Using vectors and drawing from your random walk and particle system examples, I have an idea for another code example. Simulate the spread of a virus, including options for the effect of lockdown. I quite like the idea of the reducing the alpha value as the walker ages.
@soejrd24978
@soejrd24978 4 года назад
Yess! I hope I can make my girlfriend learn JavaScript through P5, keep at it!
@abumohsenpour
@abumohsenpour 2 года назад
12:15 this dot song
@doshi050050
@doshi050050 4 года назад
Thanks, really intresting (:
@smartmob4568
@smartmob4568 4 года назад
U r awesome maaaaan
@VVGRestoration
@VVGRestoration 3 года назад
What about glenz vectors?
@liorschenk4122
@liorschenk4122 10 месяцев назад
okay but how many dimensionals did Dan record before getting cut off at 2:34 😂
@mustafasalih5328
@mustafasalih5328 4 года назад
Hi dan🌈 do a video about finding the index of item in an array that the sum of its left side equals to the sum of its right side 🦄
@nicholasmarino670
@nicholasmarino670 4 года назад
love it
@phookadude
@phookadude 4 года назад
Not sure but aren't the 2 versions of the program not the same? If you use random adds to x and y then your new positions will be square relative to the origin. So +3 to both x and y will get you a 45 degree angle with a length of ~4.2. Whereas with actual vectors a 45 degree angle with a length of 3 will be a length of 3.
@ThatOneStuff
@ThatOneStuff 4 года назад
dat fav scalar tho
@CcrcOoo
@CcrcOoo 4 года назад
Hey Coding Train !! That you make it’s so very interesting, but I am a French People and... I don’t understand that you speak . In your other video, I see that subtitles on your other video . Can you put too on this video of nature of Code please for people French like me . Thank you very much I’m sorry if my English is bad or not
@TheCodingTrain
@TheCodingTrain 4 года назад
Merci! je vais essayer!
@CcrcOoo
@CcrcOoo 4 года назад
The Coding Train ok Thank you very much 😊
@miraliseyyedisahebari177
@miraliseyyedisahebari177 5 месяцев назад
2:38 Ok I'm ggonna watch the rest of the video with my mom
@tsary_8561
@tsary_8561 8 месяцев назад
Why did you use this.pos instead of pos in the attributes?
@mariovelez578
@mariovelez578 4 года назад
You said we are going to be creating a simple physics engine. Are you going to be going over the Separating Axis Theorem?
@RahulGuha-lq8bo
@RahulGuha-lq8bo 4 года назад
Sir maybe the co ordinates would be (3,4)
@jumpsplat120
@jumpsplat120 4 года назад
Here's the thing that I don't understand; if the magnitude is the "hypotenuse", then it would seem that the magnitude of a vector is intrinsically tied to the x and y position. There would be no way to increase the length, or magnitude, of the vector without also changing the x and y components. Is there something that I'm misunderstanding?
@omga_3459
@omga_3459 Год назад
I think he meant that you can move the vector without affecting the magnitude. For x and y component you need to substract the final X to the inital X (the same for y) values, so that you can move your vector and keep its magnitude. hope it will make sense.
@mohamadnaser2697
@mohamadnaser2697 4 года назад
sir, thank you for this amazing video but I wish more procassing videos so pelace do it
@dopefish86
@dopefish86 4 года назад
he did the same thing in Processing years ago. see here ru-vid.complaylists?view=50&sort=dd&shelf_id=6 most helpful and enjoyable lessons i've ever seen :) he's redoing this in p5 js now, so probably there's not many processing videos in the near future ;)
@toastyPredicament
@toastyPredicament 2 года назад
return this.inspired == TRUE
@dusterleuchten5800
@dusterleuchten5800 4 года назад
Will there be a chapter about state machines? I missed that in your old Book
@iluvyunie
@iluvyunie 4 года назад
This came at such a good time for me. Int main() { String You = "gem" return
@andrewyoung222
@andrewyoung222 3 года назад
Is there a way to save our creations as svg files for editing in graphics packages?
@markusmulholland
@markusmulholland 3 года назад
Shout out to everyone who watched the Processing originals.
@sleep3017
@sleep3017 4 года назад
this.dot this.dot this.dot the this.dot song!!! yay!!
@Eltopshottah
@Eltopshottah 4 года назад
10:38 puts head down in defeat because i know im not going to do that :c
@nick5625
@nick5625 4 года назад
ill take whatever he is taking ;D
@lordoffatcats
@lordoffatcats 4 года назад
how do I use processing with the atom text editor?
@stealth3002
@stealth3002 4 года назад
He's using p5js, the javascript version of processing, and running it on a webpage. If you want to use processing I found a way to use it as a java library on stack overflow(stackoverflow.com/questions/21309851/use-processing-in-java-application). Then you can just use atom to editor your java project and run it using command line.
@sebastianjossang3007
@sebastianjossang3007 4 года назад
How can i send a file i made to Dan?
@BurninAss
@BurninAss 4 года назад
just gotta love your enthusiasm for teaching
@pascalpetzold2562
@pascalpetzold2562 4 года назад
Hi from Germany
@necaton
@necaton 4 года назад
You're only explaining the very basics about vectors. A second video about vectors would be great.
@mariovelez578
@mariovelez578 4 года назад
This is only the first episode. I'm sure he'll go over dot product and cross priduct
@imharishsambasivam
@imharishsambasivam 4 года назад
That 1 dislike😤
@FiveFishAudio
@FiveFishAudio 2 года назад
What's our vector, Victor?
@francescopodesta4339
@francescopodesta4339 4 года назад
Hey Dan, what do you think about coronavirus?
@garfield4629
@garfield4629 2 года назад
There’s gotta be one guy that gets Dans IP address and measure the distance between them
@yuzhao5883
@yuzhao5883 4 года назад
why you look more handsome than before haha
@theodorbischler5973
@theodorbischler5973 4 года назад
Right?! No homo, but I love that sweater! And that beard!
@TheHumanistX
@TheHumanistX 8 месяцев назад
If you watch at 1.5x or faster it becomes cocaine vectors and is even better
@kipchickensout
@kipchickensout 2 года назад
The fact I predicted he'd write 6
Далее
1.2 Vector Math - The Nature of Code
11:57
Просмотров 63 тыс.
Coding Challenge 179: Elementary Cellular Automata
21:41
V16 из БЕНЗОПИЛ - ПЕРВЫЙ ЗАПУСК
13:57
1.1: Vectors - The Nature of Code
9:50
Просмотров 148 тыс.
Coding Challenge #14: Fractal Trees - Recursive
15:53
Просмотров 891 тыс.
What is a Vector?  Definition & Examples in Physics
44:52
10 Math Concepts for Programmers
9:32
Просмотров 1,9 млн
What is a vector? - David Huynh
4:41
Просмотров 1,9 млн
5 Math Skills Every Programmer Needs
9:08
Просмотров 1,1 млн
Bézier curves (Coding Challenge 163)
22:59
Просмотров 269 тыс.
I coded one project EVERY WEEK for a YEAR
13:13
Просмотров 647 тыс.
V16 из БЕНЗОПИЛ - ПЕРВЫЙ ЗАПУСК
13:57