docs.rs failed to build termgpu-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
termgpu 📟 ❤️ 🖼️
A GPU-accelerated terminal graphics engine for Rust, enabling real-time rendering of 3D graphics directly in your terminal. Built on top of wgpu and crossterm, termgpu brings modern rendering techniques to the command line.
Features
- Render 3D graphics in the terminal using Unicode and ANSI colors
- Real-time input handling (keyboard, resize)
- Customizable rendering pipelines (vertex, fragment, compute shaders)
- Easy-to-use abstractions for meshes, transformations, and pipelines
- Extensible UI context for overlays and widgets
(WIP)
Example
Render a rotating triangle in your terminal:
use Duration;
use *;
See examples/basic.rs for the full example.
Getting Started
- Add to your Cargo.toml:
[]
= { = "." }
- Create a WGSL shader: See examples/basic.wgsl for a minimal shader.
- Run the example:
Roadmap
Basic 3D rendering in terminal
Input and resize handling
Compute shader support
UI widgets (labels, buttons, overlays)
More mesh primitives and materials
License
This project is licensed under the Unlicense License. See the LICENSE file for details.