#applications #ascii #window #render #single #framework #ascii-text

mterm

Provides a framework for single window applications that render ASCII text

2 releases

0.1.1 Jun 27, 2021
0.1.0 Jun 27, 2021

#366 in Rendering

25 downloads per month

MIT license

51KB
997 lines

mterm

GitHub Workflow Status Crates.io Crates.io Crates.io GitHub repo size

This crate provides a framework for implementing an application that requires a single window with ASCII text. It uses the GPU to render the ASCII quickly and provides a trait of two methods so that user's code can hook into the main loop that is implemented by the crate.

Examples

There is one example that demonstrates a simple application that implements mterm::App which constructs a mterm::Image containing the "Hello World" message, and blits it on to the screen.

Dependencies

~11–29MB
~427K SLoC