A library for 2D graphics, written in Rust, that works with multiple back-ends.
Maintainers: @bvssvni, @Coeuvre
Notice: This is a very early stage of the project!
Latest news: Text!
Back-ends |
---|
opengl_graphics |
gfx_graphics |
Experimental algorithms are developed in a separate repository: Graphics-Lab
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.
To write your own back-end BackEnd
trait. The BackEnd
trait implements default behavior for all methods, so it is up to you how much code to write. If it can not find a method, it will call the unimplemented!
macro.
- Easy to use
- Minimal dependencies
- Vector graphics
- Images
- Text
- Clipping
- To have a feature complete library for 2D graphics in general
- Reasonable defaults with resolution detection whenever possible
- Image formats
- Backward compability (expect lot of breaking)
- Platform or back-end specific code
- 3D
- Physics
- Node tree
- One-to-one correspondence with standards
- Integration with platform GUI