https://github.com/flowvix/fourier-drawing
Online tool for visualizing fourier epicycles on any drawable curve.
https://github.com/flowvix/fourier-drawing
fourier simulation svelte typescript vite
Last synced: 8 months ago
JSON representation
Online tool for visualizing fourier epicycles on any drawable curve.
- Host: GitHub
- URL: https://github.com/flowvix/fourier-drawing
- Owner: FlowVix
- License: mit
- Created: 2023-04-07T10:53:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-10T05:30:06.000Z (over 2 years ago)
- Last Synced: 2025-01-09T19:58:22.662Z (9 months ago)
- Topics: fourier, simulation, svelte, typescript, vite
- Language: TypeScript
- Homepage: https://ursu-radu.github.io/fourier-drawing/
- Size: 270 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fourier Epicycles Simulator
This web application allows you to draw any single stroke drawing and observe how it can be drawn using revolving circles.
You can control the **accuracy** of the epicycles (correlates linearily to the amount of circles, accuracy `N` results in `2N + 1` circles), as well as the **framerate** of the simulation.
## For development
This web app uses **Svelte** with **Typescript** and **Vite**, as well as **Rust WebAssembly** for more intensive computations. Drawing is done through **p5.js**.
## To-do
- Support for importing SVG files could be interesting, but in the case that the file has multiple strokes, there's ambiguity on which stroke to pick while keeping the system intuitive
- Exporting coefficients, as .TXT or maybe even .CSV or .JSON files