Популярное

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

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

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

Топ запросов

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

Coding Challenge 130: Fourier Transform User Drawing

Автор: The Coding Train

Загружено: 2019-01-28

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

Описание:

In this coding challenge, I implement the Discrete Fourier Transform algorithm in JavaScript and render a drawing using epicycles derived from the transform. Code: https://thecodingtrain.com/challenges...

p5.js Web Editor Sketches:
🕹️ Fourier Transform: https://editor.p5js.org/codingtrain/s...
🕹️ Fourier Transform - user-drawn path: https://editor.p5js.org/codingtrain/s...
🕹️ Fourier Transform - complex numbers: https://editor.p5js.org/codingtrain/s...
🕹️ Fourier Transform - user-drawn path with complex numbers: https://editor.p5js.org/codingtrain/s...

Other Parts of this Challenge:
📺 Part 1 - Drawing with Fourier Transform and Epicycles :    • Coding Challenge #130.1: Drawing with Four...  
📺 Part 3 - Complex Numbers:    • Coding Challenge 130: Fourier Transform Dr...  

🎥 Previous video:    • Coding Challenge #129: Koch Fractal Snowflake  
🎥 Next video:    • Coding Challenge 131: Bouncing DVD Logo  
🎥 All videos:    • Coding Challenges  

References:
🚂 Coding Train Logo:   / 1079437780466520065  
💾 p5.FFT: https://p5js.org/reference/#/p5.FFT
💾 FFT on Algorithm Archive: https://www.algorithm-archive.org/con...
🗄 Discrete Fourier transform on Wikipedia: https://en.wikipedia.org/wiki/Discret...
🗄 Complex Number on Wikipedia: https://en.wikipedia.org/wiki/Complex...

Videos:
🎥 But what is the Fourier Transform? A visual introduction:    • But what is the Fourier Transform?  A visu...  
🎥 Fourier Analysis For The Rest Of Us:    • Fourier Analysis For The Rest Of Us  
🎥 Epicycles, complex Fourier series and Homer Simpson's orbit:    • Epicycles, complex Fourier series and Home...  
🔴 Code Train Live 165:    • Coding Train Live 165: Drawing with Fourie...  

Related Coding Challenges:
🚂 #125 Fourier Series:    • Coding Challenge 125: Fourier Series  

Timestamps:
0:00 Fourier Transform and Epicycles Part 2 - render a user-drawn path
1:20 Create a state variable
2:18 When the mouse is pressed, set the state as "user"
4:18 Render points while the user is drawing
6:48 Reset variables
7:38 Fix offset
8:38 Up next: have the inputs be complex numbers

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

#fouriertransformsquarewave #discretefouriertransform #epicyclesdrawing #javascript #p5js

Coding Challenge 130: Fourier Transform User Drawing

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

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

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

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

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

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

Coding Challenge 130: Fourier Transform Drawing with Complex Number Input

Coding Challenge 130: Fourier Transform Drawing with Complex Number Input

Coding Challenge 186: Wave Function Collapse

Coding Challenge 186: Wave Function Collapse

Приключения в кодировании: звук (и преобразование Фурье)

Приключения в кодировании: звук (и преобразование Фурье)

Coding Challenge #130.1: Drawing with Fourier Transform and Epicycles

Coding Challenge #130.1: Drawing with Fourier Transform and Epicycles

But what is the Fourier Transform?  A visual introduction.

But what is the Fourier Transform? A visual introduction.

Coding Challenge #127: Brownian Tree Snowflake

Coding Challenge #127: Brownian Tree Snowflake

Coding Challenge 125: Fourier Series

Coding Challenge 125: Fourier Series

Эпициклы, комплексный Фурье и орбита Гомера Симпсона

Эпициклы, комплексный Фурье и орбита Гомера Симпсона

Преобразование Фурье: лучшее объяснение (для начинающих)

Преобразование Фурье: лучшее объяснение (для начинающих)

But what is a Fourier series?  From heat flow to drawing with circles | DE4

But what is a Fourier series? From heat flow to drawing with circles | DE4

Появляется новый тип искусственного интеллекта, и он лучше, чем LLMS?

Появляется новый тип искусственного интеллекта, и он лучше, чем LLMS?

Coding Challenge #136.2: Perlin Noise GIF Loops

Coding Challenge #136.2: Perlin Noise GIF Loops

Understanding the Discrete Fourier Transform and the FFT

Understanding the Discrete Fourier Transform and the FFT

Coding Challenge #113: 4D Hypercube (aka

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

Ocean waves simulation with Fast Fourier transform

Ocean waves simulation with Fast Fourier transform

What is a Fourier Series? (Explained by drawing circles) - Smarter Every Day 205

What is a Fourier Series? (Explained by drawing circles) - Smarter Every Day 205

К чему готовиться? Останемся без денег? Что делать, когда заблокируют всё? || Дмитрий Потапенко*

К чему готовиться? Останемся без денег? Что делать, когда заблокируют всё? || Дмитрий Потапенко*

Can you guess the song? Fourier Music Decomposition

Can you guess the song? Fourier Music Decomposition

НОВОСТИ ИИ: Qwen 2511 - огонь, Китайцы Обходят Claude 4,5, Nvidia паокупает Groq

НОВОСТИ ИИ: Qwen 2511 - огонь, Китайцы Обходят Claude 4,5, Nvidia паокупает Groq

What is a Discrete Fourier Transform (DFT) and an FFT?

What is a Discrete Fourier Transform (DFT) and an FFT?

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



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



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