Distance without Pythagoras 🤯 ? @Radu
Distance without Pythagoras 🤯 ?  @Radu
Uploaded June 2023 | Updated September 2026, 2 weeks ago
When we measure distances in the real world, we… don’t really use the Pythagorean theorem… We use a ruler of some kind. We just move the ruler so that one point is at the start and just read the value at the other point… No fancy math. Or is there some hidden math when doing this? We’ll see… In this video I’ll show you how to teach the computer to measure distances in the same way we do and then compare which is better. I’ll code this experiment from scratch using vanilla JavaScript and HTML canvas.

We use techniques like canvas rotation and translation to orient the points horizontally and then investigate the pixels to see where they are in this new view and calculate the distance.

⭐ LINKS ⭐

Vectors (and the atan2 method):
youtu.be/nzyOCd9FcCA

Pythagorean Theorem:
youtu.be/iqSlzYXdFzw
Distance without Pythagoras 🤯 ?Scintillating Grid Optical Illusion using JavaScriptMachine Learning Course - Lesson 1: JavaScript Drawing AppCoding an Augmented Reality Pinwheel in JavaScript (#JSVFX)How To Code With ChatGPT?Magnifier Illusion in JavaScript: Text Enlargement EffectUnderstanding AI - Lesson 3 / 15: Multilabel Neural NetworksLEO: A Live Coding Assistant for TeachersSelf-driving car - No libraries - JavaScript course [Lecture 8]Machine Learning Course - Lesson 2: Visualizing Data with JavaScriptJavaScript ⛄ Christmas Calendar šŸ“… Day 20 šŸŽ„JavaScript šŸ›· Christmas Calendar šŸ“… Day 12 šŸŽ„
Radu Mariescu-Istodor |

Distance without Pythagoras 🤯 ?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER