Coding Challenge 125: Fourier Series

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=Mm2eYfj0SgA



Duration: 28:47
560,030 views
12,885


In this coding challenge, I visualize a Fourier series for a square wave in JavaScript with p5.js. Code: https://thecodingtrain.com/challenges/125-fourier-series

πŸ•ΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/SJ02W1OgV

πŸŽ₯ Previous video: https://youtu.be/mhjuuHl6qHM?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Next video: https://youtu.be/-OL_sw2MiYw?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
πŸ—„ Fourier Series: https://en.wikipedia.org/wiki/Fourier_series
πŸ“„ Purrier Series (Meow) and Making Images Speak: http://bilimneguzellan.net/purrier-series-meow-and-making-images-speak/
πŸ“„ An Interactive Guide To The Fourier Transform by Better Explained: https://betterexplained.com/articles/an-interactive-guide-to-the-fourier-transform/

Videos:
πŸŽ₯ What is a Fourier Series?: https://youtu.be/ds0cmAV-Yek
πŸŽ₯ But what is the Fourier Transform? A visual introduction: https://youtu.be/spUNpyF58BY
πŸš‚ Polar Coordinates: https://www.youtube.com/watch?v=O5wjXoFrau4
πŸ”΄ Coding Train Live 163: https://youtu.be/pKyU92cza0Y?t=2390s

Related Coding Challenges:
πŸš‚ #61 Fractal Spirograph: https://youtu.be/0dwJ-bkJwDI
πŸš‚ #130 Drawing with Fourier Transform and Epicycles: https://youtu.be/MY4luNgGfms

Timestamps:
00:00 Welcome! Some resources on the Fourier Series
02:44 Explain! What is a Fourier Series?
07:00 Code! Create a dot spinning around a circle!
11:41 Code! Draw the wave path of the dot!
14:41 Oops! Invert the order of the wave!
16:16 Code! Add multiple circle waves!
23:50 Code! Draw the Fourier series!
25:30 Code! Add slider for number of circles!
27:39 Suggestions

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

πŸš‚ Website: http://thecodingtrain.com/
πŸ‘Ύ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: https://github.com/CodingTrain
πŸ’¬ Discord: https://thecodingtrain.com/discord
πŸ’– Membership: http://youtube.com/thecodingtrain/join
πŸ›’ Store: https://standard.tv/codingtrain
πŸ–‹οΈ Twitter: https://twitter.com/thecodingtrain
πŸ“Έ Instagram: https://www.instagram.com/the.coding.train/

πŸŽ₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— 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-of-Conduct

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

#fourier #maths #javascript #p5js







Tags:
computer science
programming
daniel shiffman
tutorial
coding
the coding train
coding challenge
coding train
creative coding
code challenge
creative coding tutorials
coding train coding challenge
javascript (programming language)
programming challenge
fourier series
fourier transform
fourier visualized
fourier series visualization
fourier square wave
fourier square wave example
fourier series square wave
fourier transform square wave