wgpu_canvas 5.0.8

A 2D WGPU renderer API for drawing text, shapes, and images with Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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

## Discord

https://discord.gg/53ERRpS4S4

Join the Discord server to ask questions, discuss development, or share projects.