Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vallentin/textmation
- Owner: vallentin
- License: zlib
- Created: 2019-03-07T22:05:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-08T22:35:50.000Z (over 2 years ago)
- Last Synced: 2023-02-27T14:22:13.910Z (over 1 year ago)
- Topics: animation, computer-graphics, language, programming-language, rendering
- Language: Python
- Homepage:
- Size: 172 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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 textmationcargo 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/