Pythagorean Theorem: Proof, Applications and JavaScript Code
HTML-код
- Опубликовано: 4 май 2021
- The Pythagorean theorem is one of the most useful things in the world!
It helps me to make Games, Location-based Systems, Augmented reality Apps, Machine learning projects but also to build things in the real world like this swing!
In this video I'll teach you what the Pythagorean theorem is, how to prove it's true, an application of how I use it in practice, and how to implement it in JavaScript! I will show two different proofs for the Pythagorean Theorem: an interactive one inspired by Henry Perigal and a more rigorous one by Alfred Einstein. I then show how to code it in JavaScript in a basic way, but I also give some pro tips and a collision detection application that you can use in your games!
⭐️ Where I use it ⭐️
Machine Learning: • Learn Machine Learning...
Augmented Reality Piano: • VWD Course Contents + ...
Location Based Systems: • Efficient Management a...
Coronaville Game: cs.uef.fi/~radum/coronaville
⭐️ Hackeracer game ⭐️
Practice speed-coding! Can you beat my score ? :-)
radufromfinland.com/projects/...
⭐️ My interactive proof ⭐️
cs.uef.fi/~radum/youtube/pyth...
⭐️ My codepen ⭐️
codepen.io/gniziemazity
⭐️ Other proofs ⭐️
www.cut-the-knot.org/pythagoras
#visualwebdevelopment #vwd #pythagoras
What it is: 0:36
Visual interactive proof: 1:18
Einstein's proof: 2:27
JavaScript code: 5:06
Collision application: 6:02
Pro tips: 6:44
HackeRacer game: 7:30
Radu is not only an amazing teacher, he is also a talented animator and his humour is refreshing. Bravo!
Wow, this comment made my day :-)
Short and clear. Much easier to watch for a lot of people I think. Even if longer format are nice too. Anyway, thanks for sharing.
Thank you! I will try to make more videos in this shorter format.
There is something more useful than the Pythagorean Theorem.
Coffee.
Without me having had enough of coffee, I wouldn't even know what the Pythagorean Theorem is. So Coffee is basically a fundamental building block for the PT. 😉
Okay, jokes aside, a few days ago, I randomly came across one of your videos here and I have been binging them since. I have been working in embedded software development for close to 18 years now, but I hardly had any JavaScript exposure since the late 90s, when you just had to look at it because it was the cool and new thing in your Netscape Navigator. Very interesting and certainly different. Thank you!
Haha, yeah, coffee might just beat it :-)
Amazing to see people with a lot of coding experience watching my videos.
Thanks for watching!
Just wow ❤️
Glad you liked it :-)
I hope you read my comment, your videos are the best ever. I suggest teaching math that is necessary for machine learning using visualization with JavaScript.
I already do in videos like this and in my ML course(s).
Hey there Radu, thanks for a fun and nicely explained tutorial. ;-)
Hi Pierson, glad to hear you liked it :-)
Here from Reddit. This is beautiful content. Keep up the good work, Radu.
Thank you Emmanuel :-) It means a lot to hear things like this!
This is cool. Thank you Radu.
You're welcome :-)
This is a great video on both Pythagorean Theorem and coding. Thank you.
I'm glad you liked it!
I am from *R/learnmath,* which is one of my favorite sub-Reddits! 👍
Cool! Yeah, I visit there from time to time. I posted this or some variant (maybe my newest video) over there too. I guess it's how you found me :)
@@Radu:
I do not have a Reddit login, but I found this there.
@@Inspirator_AG112 Ah, ok! Glad you did :-)
Awesome video,
I use this theorem in every project😊.
I know, right? :-)
Yes
really cool! thank you!
No problem :-)
Good video. Saw your post on Reddit about the game. Excellent video and game.
Congrats
Thank you, Daniel! Glad you liked it.
Well explained, distance calculation useful for so many things. What software did you use to animate all these visuals, did you code all of that? :D
I edited in after effects, but many of the more complicated things are coded, like using that tool I linked in the description. It's very difficult to animate something like that using common tools (at least for me).
You are doing great work
Thanks!
Nice explanation
Thanks :-)
Thanks Radu
You're welcome :-)
You are great sir
Thank you!
I never Thought that Pythagorean theorem can use to detect collision
Sure it can :-) amongst many other uses.
Is the hacker racer glitch fixed?
No. Ups :D
@@Radu lol
You just got another sub cuz, why not :)
Thanks! Hope you'll find it worth it :-)
Why are you so awesome!!!!! :D
Thanks :-) glad to hear I'm awesome :-D
Now I can't stop worrying about that swing I've been meaning to build.
Oh, sorry I brought forth such such a worrying thought :-) But hey, I'm sure it'll be alright!
@@Radu No! You totally solve the issue of building the backrest for me! This is a good thing!
@@scottonanski4173 Wow! Glad to hear :-)
I like hackeracer game☺😂
Cool :-) There are more codes there that you can practice, if you want.
@@Radu very good
sir dont mind please but poor audio quality
Thanks for the tip. I think it got better in more recent videos.