Skip to content

Commit 28b8892

Browse files
authored
Update readme
1 parent 8385e10 commit 28b8892

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

readme.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
Create webm/mp4/gif videos by animating SVG files (e.g. exported from Figma or any other vector image editor).
22

3+
4+
# Typical example
5+
6+
7+
Create text file `demo.smte`:
8+
9+
```
10+
set_frame_size 600 300
11+
place boomerang 0 100
12+
animate_1000 move boomerang 400 - && rotate boomerang 720 && scale boomerang 2
13+
```
14+
15+
Place boomerang.svg into `src/` folder. E.g. this one: [boomerang.svg](./examples/src/boomerang.svg)
16+
17+
Run
18+
```
19+
npx scriptimate@latest -i demo.smte -f gif
20+
```
21+
22+
You will receive:
23+
24+
![](./examples/3_parallel_animations.gif)
25+
326
# Prerequirements
427

528
You need to have next packages on your system (work for Ubuntu or [Windows WSL2](https://hinty.io/devforth/how-to-install-wsl-2-best-way-to-run-real-linux-on-windows/)):

0 commit comments

Comments
 (0)