bevy_ratatui_render
Bevy inside the terminal!
Uses bevy headless rendering, ratatui, and ratatui_image to print the rendered output of your bevy application to the terminal using unicode halfblocks.



examples/cube.rs, bevy many_foxes example, sponza test scene
getting started
There is a convenience function if you do not need access to the ratatui draw loop and just would like
the render to print to the full terminal (use instead of adding the draw_scene system above):
new.print_full_terminal
I also recommend telling bevy you don't need a window or anti-aliasing:
DefaultPlugins
.set
.set
supported terminals
This relies on the terminal supporting 24-bit color. I've personality tested and confirmed that the following terminals display color correctly:
- Alacritty
- Kitty
- iTerm
what's next?
This package currently contains both the headless rendering functionality and a layer of integration between ratatui and bevy. I plan to scoop out the integration layer and contribute to the bevy_ratatui package instead.
Additionally, this package is currently set up for a single camera. It shouldn't take much more code to allow creating multiple render targets.
credits
- Headless rendering code adapted from bevy's headless_render example (@bugsweeper, @alice-i-cecile, @mockersf).
- bevy's many_foxes example used for example gif.
- bevy_sponza_scene used for example gif.