Популярное

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

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

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

Топ запросов

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

Coding Challenge

Автор: The Coding Train

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

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

Описание:

In this multi-part challenge, I use a parametric equation (from Wolfram Mathworld) to draw a heart curve in Processing (Java). Code: https://thecodingtrain.com/challenges...

p5.js Web Editor Sketches:
🕹️ Heart Curve: https://editor.p5js.org/codingtrain/s...
🕹️ Beating Heart GIF: https://editor.p5js.org/codingtrain/s...

🎥 Previous video:    • Coding Challenge #133: Times Tables Cardio...  
🎥 Next video:    • Coding Challenge #135: Making a GIF Loop i...  
🎥 All videos:    • Coding Challenges  

References:
❤️ Heart Curve Formulas: http://mathworld.wolfram.com/HeartCur...
🖌 Daily Art:   / sasj  
🐝 Bees & Bombs:   / beesandbombs  
💾 Loop Templates: https://github.com/golanlevin/LoopTem...
💾 EZGIF: https://ezgif.com/

Videos:
🎥 Part 2:    • Coding Challenge #134.2: Heart Curve GIF Loop  
🎥 Polar Coordinates:    • 3.4 Polar Coordinates - The Nature of Code  
🎥 Drawing with Fourier Transform and Epicycles:    • Coding Challenge #130.1: Drawing with Four...  
🎥 Livestream Archive:    • Coding Train Live 168: Mathematical Hearts...  

Related Coding Challenges:
🚂 #133 Times Tables Cardioid Visualization:    • Coding Challenge #133: Times Tables Cardio...  
🚂 #135 Making a GIF Loop in Processing:    • Coding Challenge #135: Making a GIF Loop i...  

Timestamps:
0:00 Introducing today's topic: drawing a heart curve
1:00 Start coding
2:27 Polar to cartesian coordinates
3:48 Try "futzing" with the equations
5:50 Add the equation for a heart
8:10 Animate the heart
10:41 Conclusion--can you draw a different heart curve?

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:   / 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...

#heartcurve #parametricequation #polarcoordinates #gifloop #processing

Coding Challenge

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

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

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

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

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

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

array(0) { }

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



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



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