#graphics #gui #egui

epaint

Minimal 2D graphics library for GUI work

13 breaking releases

0.21.0 Feb 8, 2023
0.20.0 Dec 8, 2022
0.19.0 Aug 20, 2022
0.18.1 May 1, 2022
0.10.0 Feb 28, 2021

#35 in GUI

Download history 12821/week @ 2022-12-07 10062/week @ 2022-12-14 9112/week @ 2022-12-21 9475/week @ 2022-12-28 9279/week @ 2023-01-04 9657/week @ 2023-01-11 10898/week @ 2023-01-18 11748/week @ 2023-01-25 12774/week @ 2023-02-01 13130/week @ 2023-02-08 14905/week @ 2023-02-15 13989/week @ 2023-02-22 13870/week @ 2023-03-01 17756/week @ 2023-03-08 16177/week @ 2023-03-15 13536/week @ 2023-03-22

63,315 downloads per month
Used in 302 crates (10 directly)

(MIT OR Apache-2…

1MB
10K SLoC

epaint - egui paint library

A bare-bones 2D graphics library for turning simple 2D shapes and text into textured triangles.

Made for egui.


lib.rs:

A simple 2D graphics library for turning simple 2D shapes and text into textured triangles.

Made for egui.

Create some [Shape]:s and pass them to [tessellate_shapes] to generate [Mesh]:es that you can then paint using some graphics API of your choice (e.g. OpenGL).

Feature flags

Dependencies

~1–5.5MB
~93K SLoC