An open API service indexing awesome lists of open source software.

https://github.com/inokinoki/fourier-svg-rs


https://github.com/inokinoki/fourier-svg-rs

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# Fourier SVG Painter

Use Fournier Transform to draw an SVG Path.

![Preview for a kiwi](preview.gif)

## 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".