Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Coding Challenge

Автор: The Coding Train

Загружено: 2021-02-20

Просмотров: 103152

Описание:

Choo choo! In this challenge, I build on chapter 3 (Oscillating Motion) of the Nature of Code series and simulate a simple pendulum in p5.js via angular acceleration. https://thecodingtrain.com/challenges...

🕹️ p5.js Simple Pendulum https://editor.p5js.org/codingtrain/s...
🕹️ p5.js OOP Pendulum: https://editor.p5js.org/codingtrain/s...
🕹️ p5.js Pendulum Array: https://editor.p5js.org/codingtrain/s...
🎥 Pendulum Array Exploration:    • Coding Train Live!  

🎥 Previous Coding Challenge:    • Coding Challenge 158: Shape Classifier Neu...  
🎥 Next Coding Challenge:    • Coding Challenge 160: Spring Forces  
🎥 All Coding Challenges:    • Coding Challenges  

🎥 Previous Nature of Code Video:    • 3.7: Additive Waves - The Nature of Code  
🎥 Next Nature of Code Video:    • Coding Challenge 160: Spring Forces  
🎥 All Nature of Code Videos:    • The Nature of Code  

Links discussed in this video:
🔗 Nature of Code Playlist: https://thecodingtrain.com/learning/n...
🔗 Applications of Differential Equations - The Simple Pendulum: http://calculuslab.deltacollege.edu/O...
🔗 Simple Pendulum (myPhysicsLab.com): https://www.myphysicslab.com/pendulum...
🔗 Object Oriented Simple Pendulum (Nature of Code Book): https://github.com/nature-of-code/noc...

Other videos mentioned in this video:
🎥 Polar Coordinates - Nature of Code:    • 3.4 Polar Coordinates - The Nature of Code  
🎥 3.2 Angular Motion - Nature of Code:    • 3.2 Angular Motion - Nature of Code  
🎥 Double Pendulum - Coding Challenge #93:    • Coding Challenge 93: Double Pendulum  
🎥 Coding Train Live! (February 6th 2021):    • Coding Train Live!  

Timestamps:
0:00 Choo choo!! 2021 Coding Challenge!
0:43 Code! Drawing a bob and an arm.
1:08 Explain! How are we going to think about this?
2:55 Code! Add our main variables.
3:20 Explain! How do we figure out where the bob is? Trigonometry is the answer!
4:39 Code! Use the polar coordinates formulas we just worked out.
6:30 Code! Let's use angular motion!
7:55 Explain! What is the force of the pendulum? Trigonometry is the answer!
10:46 Code! Add the pendulum force.
12:04 Whoops! Correction on why we multiply by -1.
13:34 Code! Add -1 to the formula.
13:57 Whoops! I figured out some things that I never really understood.
14:24 Code! Correct the 3 step process.
15:32 Something doesn't feel quite right.
16:59 Explain! Angular acceleration relates to the arm length!
18:58 Code! Let's divide by length.
19:54 Code! You could add some damping.
20:21 Ideas! What could you do next?

🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/Guides/com...
🚩 Suggest Topics: https://github.com/CodingTrain/Rainbo...
💡 GitHub: https://github.com/CodingTrain
💬 Discord:   / discord  
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
📚 Books: https://www.amazon.com/shop/thecoding...
🖋️ Twitter:   / thecodingtrain  
📸 Instagram:   / the.coding.train  

🎥 Coding Challenges:    • Coding Challenges  
🎥 Intro to Programming:    • Start learning here!  

🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org

📄 Code of Conduct: https://github.com/CodingTrain/Code-o...

Coding Challenge

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Coding Challenge 160: Spring Forces

Coding Challenge 160: Spring Forces

Coding Challenge 161: Estimating π from Random Numbers with Euclid's Algorithm

Coding Challenge 161: Estimating π from Random Numbers with Euclid's Algorithm

Coding Challenge 177: Soft Body Physics

Coding Challenge 177: Soft Body Physics

The Nature of Code

The Nature of Code

Зачем нужны кристаллы? Вот почему, с примерами!

Зачем нужны кристаллы? Вот почему, с примерами!

Coding Challenge 145: 2D Raycasting

Coding Challenge 145: 2D Raycasting

Код работает в 100 раз медленнее из-за ложного разделения ресурсов.

Код работает в 100 раз медленнее из-за ложного разделения ресурсов.

Coding Challenge 184: Collisions Without a Physics Library!

Coding Challenge 184: Collisions Without a Physics Library!

Stop Cham #1403 - Niebezpieczne i chamskie sytuacje na drogach

Stop Cham #1403 - Niebezpieczne i chamskie sytuacje na drogach

Coding Challenge 168: MandelBulb 3D Fractal

Coding Challenge 168: MandelBulb 3D Fractal

The Windows 11 Disaster That's Killing Microsoft

The Windows 11 Disaster That's Killing Microsoft

Coding Challenge 186: Wave Function Collapse

Coding Challenge 186: Wave Function Collapse

Only 1% Solve This! Germany Math Olympiad Problem

Only 1% Solve This! Germany Math Olympiad Problem

FERRAN ŁAMIE KOD, A YAMAL GASI ŚWIATŁO! CZY ONI JESZCZE KIEDYŚ PRZEGRAJĄ? | SKRÓT

FERRAN ŁAMIE KOD, A YAMAL GASI ŚWIATŁO! CZY ONI JESZCZE KIEDYŚ PRZEGRAJĄ? | SKRÓT

Coding Challenge 166: ASCII Text Images

Coding Challenge 166: ASCII Text Images

Coding Challenge 162: Self-Avoiding Walk

Coding Challenge 162: Self-Avoiding Walk

Bézier curves (Coding Challenge 163)

Bézier curves (Coding Challenge 163)

3.4 Polar Coordinates - The Nature of Code

3.4 Polar Coordinates - The Nature of Code

Why Does Fire BURN? Feynman's Answer Will DESTROY Your Reality

Why Does Fire BURN? Feynman's Answer Will DESTROY Your Reality

2.6 Mutual Attraction - The Nature of Code

2.6 Mutual Attraction - The Nature of Code

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com