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

ascending_graphics

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

24 releases (14 breaking)

new 0.15.0 Oct 30, 2024
0.13.0 Aug 30, 2024
0.12.0 Jul 18, 2024
0.2.0 Mar 26, 2024

#141 in Graphics APIs

Download history 425/week @ 2024-07-15 212/week @ 2024-07-22 7/week @ 2024-07-29 156/week @ 2024-08-05 18/week @ 2024-08-12 3/week @ 2024-08-19 140/week @ 2024-08-26 9/week @ 2024-09-02 1/week @ 2024-09-16 173/week @ 2024-09-23 16/week @ 2024-09-30 7/week @ 2024-10-07 12/week @ 2024-10-14 122/week @ 2024-10-28

142 downloads per month

MIT/Apache

1MB
9K SLoC

Rust 8K 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

~32–67MB
~1M SLoC