{"id":21017901,"url":"https://github.com/sthysel/fourier","last_synced_at":"2025-05-15T06:31:27.711Z","repository":{"id":40421235,"uuid":"263104174","full_name":"sthysel/fourier","owner":"sthysel","description":"Fourier signal decomposition visualization","archived":false,"fork":false,"pushed_at":"2025-02-10T20:26:53.000Z","size":5329,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-12T21:57:41.819Z","etag":null,"topics":["fourier","fourier-transform","pygame","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sthysel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-11T16:56:53.000Z","updated_at":"2022-05-08T07:14:23.000Z","dependencies_parsed_at":"2023-01-28T01:15:32.052Z","dependency_job_id":"4110d0c1-f7c5-4946-a8b1-75ee023c8870","html_url":"https://github.com/sthysel/fourier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Ffourier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Ffourier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Ffourier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sthysel%2Ffourier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sthysel","download_url":"https://codeload.github.com/sthysel/fourier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254288036,"owners_count":22045862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fourier","fourier-transform","pygame","python"],"created_at":"2024-11-19T10:22:36.704Z","updated_at":"2025-05-15T06:31:26.712Z","avatar_url":"https://github.com/sthysel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fourier's frequency decompositions (Version 0.0.1)\n\n![Fourier](pics/fourier.gif)\n\nI first saw this representation of a Fourier series from a senior student's\ndissertation at Uni in 1995. Through the years it occasionally cropped up. Most\nrecently was a post from [DineshNG](https://github.com/DineshNG) in\n[r/Python](https://reddit.com/r/Python/)\n\nBelow is basically a summary of that post. The repo contains my own re-worked\nversion of the visualization.\n\n# Fourier series and transform resources\n\n3Blue1Brown [has an excellent video on the\ntopic](https://www.youtube.com/watch?v=spUNpyF58BY) explaining Fourier\ntransforms visually like this\n\n[This interactive webpage](http://www.jezzamon.com/fourier/) that's very\nwell-coded and easy to use. You can probably run through the whole page in 15\nminutes or less, depending on how much you choose to interact.\n\nMary Boas' *Mathematical Methods for the Physical Sciences*. A world-class\nresource in math \"crash courses\" if you will, this book will be a lifelong\nresource for learning and relearning heavy math topics that you will use for the\nrest of your academic life. There's a lengthy section on Fourier Series and one\non Fourier Transforms.\n\n[This lecture series from\nStanford](https://www.youtube.com/playlist?list=PLB24BC7956EE040CD). It's all\nabout the Fourier Transform, and it's a very inviting course that will leave you\nentirely without questions or confusion by the end. By far the best resource on\nthis list, but it would easily take you weeks to get through the 30 lectures,\neach I think 50 minutes long. Also, I believe [this is the set of lecture notes\nand practice problems that goes along with this lecture\nseries](https://see.stanford.edu/materials/lsoftaee261/book-fall-07.pdf). It\nwould be well worth your time to work with these materials once you've gained a\ndecent front-end understanding from the first two sources I listed.\n\n\n# Install\n\nTo install pygame on Arch Linux you need to install these dependencies:\n\n```\n$ yay -S sdl_image sdl_mixer sdl_ttf portmidi\n```\n\nOther systems may have pygame already, the setup below should install all\ndependencies.\n\nNow do `pip install -e .` in a virtualenv as usual. Type `fourier` to get the\nanimation.\n\nYou can set a few parameters like these:\n\n```\n❯ fourier --help\npygame 1.9.6\nHello from the pygame community. https://www.pygame.org/contribute.html\nUsage: fourier [OPTIONS]\n\nOptions:\n  -t, --terms INTEGER   Number of terms  [default: 3]\n  -r, --radius INTEGER  Radius  [default: 100]\n  --version             Show the version and exit.\n  --help                Show this message and exit.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsthysel%2Ffourier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsthysel%2Ffourier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsthysel%2Ffourier/lists"}