Crates.io | display3d |
lib.rs | display3d |
version | 0.1.17 |
source | src |
created_at | 2024-01-12 13:17:29.535844 |
updated_at | 2024-11-01 04:58:02.868751 |
description | A tool to display 3d objects in the terminal |
homepage | |
repository | https://github.com/renpenguin/display3d |
max_upload_size | |
id | 1097672 |
size | 143,022 |
display3d is a command line interface for rendering and animating 3D objects using ANSI escape codes, written using gemini-engine in the Rust programming language.
For a basic guide on how to use the tool, run display3d --help
Please note that this form of rendering requires the terminal to support ANSI escape codes, support for which tends to be unreliable on Windows from installation to installation. If you are having issues getting an image on Linux or MacOS, please submit an issue request
Make sure you have rust and cargo installed before proceeding with either of these methods
Run cargo install display3d
. This will download, compile and install the latest stable release of display3d. You can then simply run display3d
to access it
Clone this repository with git clone https://github.com/renpenguin/display3d.git
or download and extract this repository.
Build the project with cargo build --release
. The binary will be saved to <project-repo>/target/release/display3d
To run the example spinning shark, run display3d blahaj.obj -t 0,0,5.5
. You can get the blahaj.obj
and blahaj.mtl
(for colours, should be stored together with blahaj.obj
) files in the resource folder of this repository.