All Projects → Jezzamonn → Fourier

Jezzamonn / Fourier

Licence: mit
An Interactive Introduction to Fourier Transforms

Programming Languages

Jupyter Notebook
11667 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Fourier

Python Machine Learning
机器学习算法项目
Stars: ✭ 134 (-92.59%)
Mutual labels:  jupyter-notebook
Mxnet Gtc Tutorial
MXNet Tutorial for NVidia GTC 2016.
Stars: ✭ 134 (-92.59%)
Mutual labels:  jupyter-notebook
Part bilinear reid
Code for ECCV2018 paper: Part-Aligned Bilinear Representations for Person Re-Identification
Stars: ✭ 135 (-92.54%)
Mutual labels:  jupyter-notebook
Ml
Machine Learning Projects and Learning Content
Stars: ✭ 134 (-92.59%)
Mutual labels:  jupyter-notebook
Tf Tutorial
Short tutorial for TensorFlow, designed to be presented in-person
Stars: ✭ 134 (-92.59%)
Mutual labels:  jupyter-notebook
Handwriting Synthesis
Implementation of "Generating Sequences With Recurrent Neural Networks" https://arxiv.org/abs/1308.0850
Stars: ✭ 135 (-92.54%)
Mutual labels:  jupyter-notebook
Python tips
Some Python tips for beginner to intermediate users. Also used as a personal cheat sheet. Featured here https://bit.ly/2ZaV4Pl
Stars: ✭ 134 (-92.59%)
Mutual labels:  jupyter-notebook
Riptide
Simple Training and Deployment of Fast End-to-End Binary Networks
Stars: ✭ 135 (-92.54%)
Mutual labels:  jupyter-notebook
Curso Python Udemy
Curso Maestro Python 3 en Udemy (20 horas)
Stars: ✭ 134 (-92.59%)
Mutual labels:  jupyter-notebook
Beyond Jupyter
🐍💻📊 All material from the PyCon.DE 2018 Talk "Beyond Jupyter Notebooks - Building your own data science platform with Python & Docker" (incl. Slides, Video, Udemy MOOC & other References)
Stars: ✭ 135 (-92.54%)
Mutual labels:  jupyter-notebook
Deep Learning With Python
Example projects I completed to understand Deep Learning techniques with Tensorflow. Please note that I do no longer maintain this repository.
Stars: ✭ 134 (-92.59%)
Mutual labels:  jupyter-notebook
Notebooks
Speedml Python Notebooks
Stars: ✭ 134 (-92.59%)
Mutual labels:  jupyter-notebook
Ssss
"Deep Learning and Quantum Programming" Spring School @ Song Shan Lake
Stars: ✭ 135 (-92.54%)
Mutual labels:  jupyter-notebook
Dea Notebooks
Repository for Digital Earth Australia Jupyter Notebooks: tools and workflows for geospatial analysis with Open Data Cube and xarray
Stars: ✭ 133 (-92.65%)
Mutual labels:  jupyter-notebook
Ml learning in action
ML study process record
Stars: ✭ 135 (-92.54%)
Mutual labels:  jupyter-notebook
Tianchiorgame
天池比赛,kaggle等等(Keras/PyTorch实战)
Stars: ✭ 134 (-92.59%)
Mutual labels:  jupyter-notebook
Machine Learning Projects
This repository consists of all my Machine Learning Projects.
Stars: ✭ 135 (-92.54%)
Mutual labels:  jupyter-notebook
Ventilator
Low-Cost Open Source Ventilator or PAPR
Stars: ✭ 1,665 (-7.96%)
Mutual labels:  jupyter-notebook
Pycon Ds 2018
Introduction to Python for Data Science for PyCon 2018
Stars: ✭ 135 (-92.54%)
Mutual labels:  jupyter-notebook
Sourcecodeofmongoredis
《左手MongoDB,右手Redis——从入门到商业实战》书籍配套源代码。
Stars: ✭ 135 (-92.54%)
Mutual labels:  jupyter-notebook

An Interactive Introduction to Fourier Transforms

This is the source code for jezzamon.com/fourier

Understanding this code

This webpage is coded in JavaScript, using Webpack, a tool that merges all the JS files into one and translates it into something compatible with older browsers. It uses npm to install dependencies and run the build scripts.

It uses some features of modern JavaScript like classes that might not be too familiar to you if you've only done intro JavaScript, but don't let that phase you too much! All the interactivity and graphics is just done with raw JS, no graphic libraries or anything like that.

Where the interesting files are

The content of the page is written in Markdown, in content/content.md. That file gets converted into HTML when the website is built in script/make-html.js). (If you would like to create a translation for a new language, there are instructions in content/)!

The code for all the interactive elements on the page is under the js/ folder. Each interactive element has a 'controller' that handles updating and rendering that element (e.g. EpicyclesController). There's something that I called a conductor that handles events and passes them on to each controller. Then they're all created and linked to elements on the page in main.js.

The actual Fourier transform is done in just-fourier-things.js, which is really a wrapper over the fft.js library. Sound synth is done in synth.js, using the Web Audio API.

To generate the images used for the JPEG section, I used Python and a Jupyter notebook. That's in python/dct.ipynb, and it's fairly readable itself.

Installing stuff

If you're curious about playing with the code yourself, you'll need to install npm. You can then run npm install to install all the dependencies. Once that's done, you can run npm run watch to start a script that will listen for file changes and rebuild everything, and npm run reload to launch a webserver that reloads the page whenever anything changes :) (warning though: I haven't tried to build things on Windows so not sure how some of the scripts will run there)

If you want to mess with the python stuff, you'll need jupyter, as well as NumPy, PIL, SciPy and Matplotlib. I recommend using Anaconda to install all that.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].