Graphics Build Status Crates.io Crates.io

A library for 2D graphics, written in Rust, that works with multiple back-ends.

Maintainers: @bvssvni

Graphics online docs

How to contribute

Latest news: Color spaces are now well defined!

| Back-ends | |--------------------| | openglgraphics | | gfxgraphics | | glium_graphics |

Experimental algorithms are developed in a separate repository: Graphics-Lab

Motivation

Sharing graphics source code across projects in Rust

Rust is programming language developed by Mozilla and the Rust community. It is fast, safe, concurrent and cross platform. Because of the many numbers of potential platforms (read: all kinds of computers), it would be nice to have a 2D graphics library that works with multiple back-ends, so you don't have to invent a new graphics engine for each platform you are working on.

One trait for all back-ends

To write your own back-end, use the Graphics trait. The Graphics trait implements default behavior for some methods, which can be overridden for higher quality or better performance.

Goals

Non-Goals

Used by

Dependencies

dependencies