wgpu_canvas

Crates.iowgpu_canvas
lib.rswgpu_canvas
version4.1.3
created_at2025-02-02 00:24:19.563032+00
updated_at2025-09-23 09:03:29.869246+00
descriptionA 2D WGPU renderer API for drawing text, shapes, and images with Rust.
homepage
repositoryhttps://github.com/ramp-stack/wgpu_canvas.git
max_upload_size
id1539102
size138,196
(CalebCouch)

documentation

https://docs.rs/wgpu_canvas

README

wgpu_canvas

wgpu_canvas is a lightweight, high-performance canvas abstraction layer for Rust applications using wgpu. It provides an intuitive API for drawing text, shapes, and images — all rendered with GPU acceleration and zero JavaScript.

Perfect for Rust-first game engines, UI toolkits, and creative coding frameworks.

✨ Features

  • Draw shapes (rectangles, ellipses) with ease
  • Render images and textures onto a canvas
  • Text rendering powered by GPU font caching
  • Built directly on top of wgpu for maximum performance
  • 100% Rust

🚀 Getting Started

Add wgpu_canvas to your Cargo.toml:

[dependencies] wgpu_canvas = "1.0.0"

📚 Documentation

Full documentation is available at https://docs.rs/wgpu_canvas

Commit count: 0

cargo fmt