ycliper

Популярное

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

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

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

Топ запросов

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

Coding Challenge #55: Mathematical Rose Patterns

Автор: The Coding Train

Загружено: 2017-02-08

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

Описание: In this coding challenge, I attempt to create rose (rhodonea) curves using trigonometry function and polar coordinates. Code: https://thecodingtrain.com/challenges...

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

🎥 Previous video:    • Coding Challenge #54.1: Islamic Star Patterns  
🎥 All videos:    • Coding Challenges  

References:
🏛 Rose Mathematics on Wikipedia: https://en.wikipedia.org/wiki/Rose_(m...)

Live Stream Archives:
🔴 Live Stream #76:    • Live Stream #76: Attractors, Algorithmic R...  

Related Coding Challenges:
🚂 #116 Lissajous Curve Table:    • Coding Challenge #116: Lissajous Curve Table  
🚂 #125 Fourier Series:    • Coding Challenge 125: Fourier Series  
🚂 #133 Times Tables Cardioid Visualization:    • Coding Challenge #133: Times Tables Cardio...  
🚂 #134 Heart Curve:    • Coding Challenge #134.1: Heart Curve  
🚂 #C1 - Coding in the Cabana Maurer Rose:    • Coding the Maurer Rose  

Timestamps:
0:00 Introduction to the Mathematical Rose Patterns Coding Challenge
0:35 Whiteboard discussion of polar coordinates
3:15 Discussion about how to use the r=cos(kθ) formula
3:45 Into the code...draw a circle with polar to cartesian transformation
5:30 Start to draw shapes using the formula
6:46 In a way, we're done! But wait, there's more...
7:35 Re-creating some patterns from the Wikipedia page; using the k=n/d form
8:50 Adding the p5.js DOM library to create some sliders
10:30 Re-factoring the code use the denominator of the k=n/d formula as the number of loops in the draw function
11:30 Done! What else can you do with it?!

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

#algorithmicroses #mathematicsroses #polarcoordinates #trigonometry #p5js #javascript

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Coding Challenge #55: Mathematical Rose Patterns

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

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

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

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

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

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

Coding Challenge #56: Attraction and Repulsion Forces

Coding Challenge #56: Attraction and Repulsion Forces

Coding Challenge #127: Brownian Tree Snowflake

Coding Challenge #127: Brownian Tree Snowflake

Струны до ужасны!

Струны до ужасны!

Coding Challenge #136.1: Polar Perlin Noise Loops

Coding Challenge #136.1: Polar Perlin Noise Loops

Recreating Vintage Computer Art with Processing

Recreating Vintage Computer Art with Processing

Beginners Guide to Machine Learning in JavaScript

Beginners Guide to Machine Learning in JavaScript

Coding Challenge 12: Lorenz Attractor

Coding Challenge 12: Lorenz Attractor

The Nature of Code: Simulating Natural Systems

The Nature of Code: Simulating Natural Systems

Coding Challenge #107: Sandpiles

Coding Challenge #107: Sandpiles

Программисты Vibe не могут перестать проигрывать

Программисты Vibe не могут перестать проигрывать

Coding Challenge #113: 4D Hypercube (aka

Coding Challenge #113: 4D Hypercube (aka "Tesseract")

20260320 085021 Leonhard Euler (e) Reedley College Math 5b Calculus II 10.2 Limit Laws for Sequences

20260320 085021 Leonhard Euler (e) Reedley College Math 5b Calculus II 10.2 Limit Laws for Sequences

Nie żyje aktor Chuck Norris. Miał 86 lat

Nie żyje aktor Chuck Norris. Miał 86 lat

My Apple IIe: A simple text based arcade game in Applesoft Basic

My Apple IIe: A simple text based arcade game in Applesoft Basic

Coding Challenge 185: Unfolding Fractals

Coding Challenge 185: Unfolding Fractals

Panika w Moskwie. Na dachu Kremla SNAJPERZY. Putin ZNIKNĄŁ. Bunt wywołał Szojgu. Ślady KABAJEWEJ

Panika w Moskwie. Na dachu Kremla SNAJPERZY. Putin ZNIKNĄŁ. Bunt wywołał Szojgu. Ślady KABAJEWEJ

Turning Images into Dots: The Magic of Dithering

Turning Images into Dots: The Magic of Dithering

Coding Challenge 186: Wave Function Collapse

Coding Challenge 186: Wave Function Collapse

Coding Challenge 11: 3D Terrain Generation with Perlin Noise in Processing

Coding Challenge 11: 3D Terrain Generation with Perlin Noise in Processing

Coding Challenge 124: Flocking Simulation

Coding Challenge 124: Flocking Simulation

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



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



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