{"repo":"cxreiff/bevy_ratatui_camera","free":true,"listed":false,"github":"https://github.com/cxreiff/bevy_ratatui_camera","clone":"git clone https://github.com/cxreiff/bevy_ratatui_camera.git","description":"A bevy plugin for rendering your bevy app to the terminal using ratatui.","language":"Rust","stars":336,"topics":["bevy","ratatui","tui","ascii","rust"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"bevy ratatui camera [![Crate Badge]][Crate] [![Docs Badge]][Docs] [![Downloads Badge]][Downloads] [![License Badge]][License] Bevy inside the terminal! Uses bevy headless rendering, ratatui, and bevy ratatui to print your bevy application's rendered frames to the terminal. [!IMPORTANT] This crate was renamed from bevy ratatui render to bevy ratatui camera . getting started cargo add bevy ratatui camera bevy ratatui ratatui crossterm As shown above, when RatatuiCameraPlugin is added to your application, any bevy camera entities that you add a RatatuiCamera component to, will have a RatatuiCameraWidget inserted that you can query for. Each RatatuiCameraWidget is a ratatui widget that when drawn will print the most recent frame rendered by the associated bevy camera, as unicode characters. Use bevy ratatui for setting ratatui up and receiving terminal events (keyboard, focus, mouse, paste, resize) inside bevy. strategies The method by which the rendered image is converted into unicode characters depends on the RatatuiCameraStrategy that you choose. Insert a variant of the component alongside the RatatuiCamera to change the behavior from the default. Refer to the RatatuiCameraStrategy documentation for descriptions of each variant. For example, to use the \"Luminance\" strategy: autoresize By default, the dimensions of the texture the camera renders to will be resized each frame to the dimensions and aspect ratio of the buffer area it was last rendered within, to gracefully handle ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cxreiff","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cxreiff/bevy_ratatui_camera/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}