ratatui-ratty 🐀
A ratatui widget for placing
inline 3D objects in Ratty through the
Ratty Graphics Protocol.
Example
use io;
use ;
use ;
The widget emits RGP APC sequences into the target buffer cell. Ratty then resolves the asset and renders it as an inline 3D object anchored to that terminal region.
Payload Registration
If the object data is already in memory, register it directly instead of referring to a file path:
use io;
use ;
Examples
examples/big_rat.rs: minimal inline object demoexamples/document.rs: TempleOS-inspired editor with embedded objectsexamples/draw.rs: 2D drawing pane with live 3D previewexamples/rubiks_cube.rs: interactive 3D Rubik's cube
License
Licensed under The MIT License.