https://github.com/inokinoki/fourier-svg-rs
https://github.com/inokinoki/fourier-svg-rs
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/inokinoki/fourier-svg-rs
- Owner: Inokinoki
- License: mit
- Created: 2021-06-13T17:02:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-25T13:14:20.000Z (about 5 years ago)
- Last Synced: 2024-10-29T14:19:06.145Z (over 1 year ago)
- Language: Rust
- Size: 542 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Fourier SVG Painter
Use Fournier Transform to draw an SVG Path.

## Build
Use cargo to build it:
```
cargo build
```
## Run
At the moment, the program can accept a svg file, and take the first path as the target:
```
cargo run -- -f ./test.svg
```
Or a string with SVG path format:
```
cargo run -- -p "$(cat ./test.svg.txt)"
```
Without panic, there should be an `output.html` file containing the render result. Open it with a browser that supports canvas, and you will see the animation.
## More
- Write "How it works"
- Add more "render backend".