Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vallentin/textmation

Textmation is a text-based language for creating animations
https://github.com/vallentin/textmation

animation computer-graphics language programming-language rendering

Last synced: 24 days ago
JSON representation

Textmation is a text-based language for creating animations

Awesome Lists containing this project

README

        

*Note that Textmation is in its infancy. Features as well as syntax might change between early versions.*

# Textmation

Textmation (**Text**-based Ani**mation**) is a tool and language for textually creating animations.
Exporting animations currently supports GIF, MP4, AVI, WebM or exporting individual frames as PNGs.
Exporting video formats requires [ffmpeg](https://ffmpeg.org).

## Installation & Testing

*Note that Textmation currently relies on some Python scripts, and can as such not easily be installed with `cargo install --git [url]`.*

```bash
git clone https://github.com/vallentin/textmation
cd textmation

cargo install --path .

# Check help message to see command-line options
textmation --help

# Run "simple" example and output GIF
textmation examples/example_01_simple.anim

# Export format is inferred from the output filename
textmation -o output.mp4 examples/example_01_simple.anim
```

## Examples

Here are some rendered versions of the examples found in the [examples](https://github.com/vallentin/textmation/tree/master/examples) directory.

### [Rectangle & Text](https://github.com/vallentin/textmation/blob/master/examples/example_01_simple.anim)



### [Templates](https://github.com/vallentin/textmation/blob/master/examples/example_02_template.anim)



### [VBox & HBox](https://github.com/vallentin/textmation/blob/master/examples/example_03_layout.anim)



### [Icons](https://github.com/vallentin/textmation/blob/master/examples/example_icons.anim)



### Sliding Transitions

Simple Left to Right
Various Directions


[examples]: https://github.com/vallentin/textmation/tree/master/examples

[cargo]: https://doc.rust-lang.org/cargo/
[rustup]: https://rustup.rs/