#math #gui

emath

Minimal 2D math library for GUI work

5 releases (breaking)

0.12.0 May 10, 2021
0.11.0 Apr 5, 2021
0.10.0 Feb 28, 2021
0.9.0 Feb 7, 2021
0.8.0 Jan 17, 2021

#100 in Math

Download history 1168/week @ 2021-02-21 950/week @ 2021-02-28 1858/week @ 2021-03-07 1489/week @ 2021-03-14 2025/week @ 2021-03-21 1589/week @ 2021-03-28 2027/week @ 2021-04-04 2086/week @ 2021-04-11 1755/week @ 2021-04-18 2135/week @ 2021-04-25 2497/week @ 2021-05-02 2936/week @ 2021-05-09 3321/week @ 2021-05-16 2963/week @ 2021-05-23 3212/week @ 2021-05-30 2955/week @ 2021-06-06

7,838 downloads per month
Used in 38 crates (2 directly)

MIT/Apache

59KB
1.5K SLoC

emath - egui math library

A bare-bones 2D math library with types and functions useful for GUI building.

Made for egui.


lib.rs:

Opinionated 2D math library for building GUIs.

Includes vectors, positions, rectangles etc.

Conventions (unless otherwise specified):

  • All angles are in radians
  • X+ is right and Y+ is down.
  • (0,0) is left top.
  • Dimension order is always x y

Dependencies

~215KB