rastor 0.1.13

A terminal-based game engine
Documentation

Rastor

Rastor is a 2d game engine that works in the terminal. For now, it is in very very early development only supporting:

  • shapes:
    • rectangles
    • triangles
    • lines
  • 2d rotation
  • Z-index (depth sorting)

Although the terminal wasnt really made for games, this serves more as a fun project to work on. I made this project cuz I was bored

Examples

(accessed through cargo run --example <example>) 2026-02-1912-37-51-ezgif com-optimize 2026-02-2000-13-40-ezgif com-optimize

How to run

  1. download rust
  2. yes

Future Plans

We plan on Rastor being both a 2d and 3d game engine (which works in the terminal). Too bad, we dont plan on Rastor being used for embedding animations inside another TUI software. Though, you can make your own fork of this repo to support embedding.

Features:

  • More shapes
  • Some sort of a camera system

Contribution

Rastor is very much open-source. We are committed to accept any work from contributors and we would HIGHLY appreciate any contributions

  • Bug Report: If you encounter an issue with Rastor, please do create an Issue with the Bug report template
  • Feature Request: If you have an idea or if there is a capability that Rastor is missing to make development easier and robust, please do create an Issue with the Feature request template
  • Documentation Request: If you're reading Rastor docs and think that it could be better, please do create an Issue with the Documentation request template

License

This project is licensed under the MIT License - see the LICENSE file for details.