#wgpu #2d-graphics #2d #rendering #2d-3d #3d

ascending_graphics

A graphical rendering library for 2D, using wgpu and winit

20 releases (11 breaking)

new 0.12.0 Jul 18, 2024
0.10.1 Jun 25, 2024
0.2.0 Mar 26, 2024

#148 in Graphics APIs

Download history 83/week @ 2024-04-01 354/week @ 2024-04-08 2/week @ 2024-04-15 119/week @ 2024-04-22 143/week @ 2024-04-29 259/week @ 2024-05-06 113/week @ 2024-05-13 28/week @ 2024-05-20 125/week @ 2024-05-27 150/week @ 2024-06-03 27/week @ 2024-06-10 125/week @ 2024-06-17 132/week @ 2024-06-24 110/week @ 2024-07-01 434/week @ 2024-07-15

681 downloads per month

MIT/Apache

1MB
9K SLoC

Rust 7.5K SLoC // 0.0% comments WebGPU Shader Language 1K SLoC // 0.0% comments

Ascending Graphics

https://crates.io/crates/ascending_graphics Docs PRs Welcomed Discord Server

📑 Overview

A 2D extendable rendering library using WGPU and Winit.

  • WGPU Backend.
  • Winit for windows and inputs.
  • Buffered Sorted Rendering.
  • Render Images
  • Render Basic Lighting
  • Render Shapes via lyon
  • Render Optimized Rectangle with Corner Rounding and image support.
  • Render Text using cosmic-text.
  • Optimized Map Renderer. (see examples).
  • Atlas System with Texture Arrays and texture defragmentation support.
  • Tilesheet loader to help with 2D tiles to Textures.
  • Supports both Instance Buffers and Vertex Buffers.
  • Extendable

🚨 Help

If you need help with this library or have suggestions please go to our Discord Group

🔎 Examples

Ascending Client Client showcase

Ascending Map Editor

Render Demo

Demo showcase

Dependencies

~29–65MB
~1M SLoC