Популярное

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

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

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

Топ запросов

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

Coding Challenge

Автор: The Coding Train

Загружено: 2019-02-14

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

Описание:

In this video, I visualize the "mathematical heart" Cardioid using times tables calculations. Code: https://thecodingtrain.com/challenges...

🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...

🎥 Previous video:    • Coding Challenge 132: Fluid Simulation  
🎥 Next video:    • Coding Challenge #134.1: Heart Curve  
🎥 All videos:    • Coding Challenges  

References:
🗄 Cardioid on Wikipedia: https://en.wikipedia.org/wiki/Cardioid
📝 Rainbow Topics suggestion from Eduardddd: https://github.com/CodingTrain/Rainbo...

Videos:
🎥 Times Tables, Mandelbrot and the Heart of Mathematics:    • Times Tables, Mandelbrot and the Heart of ...  
🎥 Times Tables Visualization Poster in Processing:    • Times Tables Visualization Poster in Proce...  
🎥 Polar Coordinates:    • 3.4 Polar Coordinates - The Nature of Code  
🎥 The Modulo Operator:    • Guest Tutorial #6: The Modulo Operator wit...  
🔴 Coding Train Live 168:    • Coding Train Live 168: Mathematical Hearts...  

Related Coding Challenges:
🚂 #21 Mandelbrot Set with p5.js:    • Coding Challenge 21: Mandelbrot Set  
🚂 #116 Lissajous Curve Table:    • Coding Challenge #116: Lissajous Curve Table  
🚂 #134 Heart Curve:    • Coding Challenge #134.1: Heart Curve  
🚂 #163 Bézier Curves:    • Bézier curves (Coding Challenge 163)  

Timestamps:
0:00 Introduction
1:00 Simon Tiger's Processing Day presentation
2:07 Discussion of the times tables calculations
4:03 Start Coding!
5:34 Map the point's index to an angle
6:08 Use polar coordinates to get point location
6:31 Draw the points
7;48 Start with the 2-times table
8:37 Write a getVector() function
11:00 Use modulo operator to get remainder for mapping
12:28 Add PI to rotate the cardioid 180 degrees
13:31 Animate by mapping mouseX to the total number of points
14:34 Change to 3-times table
16:19 Animate by changing the factor
16:43 Conclusion and creative possibilities

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://thecodingtrain.com/discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ 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...

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...

#cardioid #cardioidtimestables #timestablesvisualization #heartalgorithm #polarcoordinates #modulooperator #processing

Coding Challenge

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

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

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

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

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

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

Coding Challenge #134.1: Heart Curve

Coding Challenge #134.1: Heart Curve

Таблицы умножения, Мандельброт и сердце математики

Таблицы умножения, Мандельброт и сердце математики

Coding Challenge 125: Fourier Series

Coding Challenge 125: Fourier Series

Bézier curves (Coding Challenge 163)

Bézier curves (Coding Challenge 163)

Цепи Маркова — математика предсказаний [Veritasium]

Цепи Маркова — математика предсказаний [Veritasium]

Visualizing Data with 7-Segment Displays

Visualizing Data with 7-Segment Displays

Coding Challenge 168: MandelBulb 3D Fractal

Coding Challenge 168: MandelBulb 3D Fractal

Цена российской нефти упала до $34.. Как жить дальше? | Дмитрий Потапенко*

Цена российской нефти упала до $34.. Как жить дальше? | Дмитрий Потапенко*

Coding Challenge 185: Unfolding Fractals

Coding Challenge 185: Unfolding Fractals

3-6-9 Теслы и вихревая математика: действительно ли это ключ к вселенной?

3-6-9 Теслы и вихревая математика: действительно ли это ключ к вселенной?

КЛАДБИЩЕ ВСУ. ПОТЕРИ ВСУ В КУПЯНСКЕ ОГРОМНЫ 💥Военные Сводки 31.12.2025

КЛАДБИЩЕ ВСУ. ПОТЕРИ ВСУ В КУПЯНСКЕ ОГРОМНЫ 💥Военные Сводки 31.12.2025

Coding Challenge 165: Slide Puzzle

Coding Challenge 165: Slide Puzzle

Expanding in three dimensions

Expanding in three dimensions

The Future of Veritasium

The Future of Veritasium

The Mandelbrot Fractal Explained!

The Mandelbrot Fractal Explained!

🧪🧪🧪🧪Как увидеть гиперпространство (4-е измерение)

🧪🧪🧪🧪Как увидеть гиперпространство (4-е измерение)

Turning Images into Dots: The Magic of Dithering

Turning Images into Dots: The Magic of Dithering

Вейвлеты: математический микроскоп

Вейвлеты: математический микроскоп

Ложь о деколонизации: почему мир не найдет путь к освобождению

Ложь о деколонизации: почему мир не найдет путь к освобождению

Coding Challenge #55: Mathematical Rose Patterns

Coding Challenge #55: Mathematical Rose Patterns

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



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



Контакты для правообладателей: [email protected]