PistonDevelopers / Graphics
Licence: mit
A library for 2D graphics, written in Rust, that works with multiple back-ends
Stars: ✭ 381
Programming Languages
rust
11053 projects
Labels
Projects that are alternatives of or similar to Graphics
LOST--Java-2D-Game
2D side-scrolling game made in JAVA with sprite sheet animations
Stars: ✭ 2 (-99.48%)
Mutual labels: 2d-graphics
isometric
A lightweight JavaScript library, written in TypeScript to create isometric projections using SVGs
Stars: ✭ 53 (-86.09%)
Mutual labels: 2d-graphics
MushROMs
Super Nintendo game editing libraries and tools
Stars: ✭ 24 (-93.7%)
Mutual labels: 2d-graphics
Luxor.jl
Simple drawings using vector graphics; Cairo "for tourists!"
Stars: ✭ 293 (-23.1%)
Mutual labels: 2d-graphics
canvas
Draw on an HTML 2D canvas in a web browser from a server program using WebSockets.
Stars: ✭ 71 (-81.36%)
Mutual labels: 2d-graphics
faur
⚒️✨ My personal C games framework. 2D graphics, sound, inputs, states, ECS, and misc utils for data, files, math, memory, strings, time, and more. Builds for Linux, Windows, Web, and embedded devices.
Stars: ✭ 55 (-85.56%)
Mutual labels: 2d-graphics
stochastic sierpinski
A stochastic method to generate an approximation to the Sierpinski triangle
Stars: ✭ 41 (-89.24%)
Mutual labels: 2d-graphics
GLGame
A Tiny 2D OpenGL based C++ Game Engine that is fast, lightweight and comes with a level editor.
Stars: ✭ 49 (-87.14%)
Mutual labels: 2d-graphics
TileMapGenerator
Create your own 2D Maps with layer-by-layer system using Noise-Sample and BufferedImage pattern
Stars: ✭ 19 (-95.01%)
Mutual labels: 2d-graphics
rasterx
Rasterx is an SVG 2.0 path compliant rasterizer that can use either scany, the golang vector or a derivative of the freetype anti-aliaser.
Stars: ✭ 107 (-71.92%)
Mutual labels: 2d-graphics
Pumpkin-Engine
A powerful and capable 2d game engine in Kotlin
Stars: ✭ 1 (-99.74%)
Mutual labels: 2d-graphics
Fbg
Lightweight C 2D graphics API agnostic library with parallelism support
Stars: ✭ 349 (-8.4%)
Mutual labels: 2d-graphics
smooth-polyline
〰️ Smoothing algorithm for 2D lines and polygons
Stars: ✭ 23 (-93.96%)
Mutual labels: 2d-graphics
SimpleTilemap
A fast, easy way to generate runtime tilemaps in Unity
Stars: ✭ 37 (-90.29%)
Mutual labels: 2d-graphics
Graphics
A library for 2D graphics, written in Rust, that works with multiple back-ends.
Maintainers: @bvssvni
Back-ends |
---|
opengl_graphics |
gfx_graphics |
glium_graphics |
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
- Easy to use
- Minimal dependencies
- Vector graphics
- Images
- Text
- Clipping
- To have a feature complete library for 2D graphics in general
Non-Goals
- Image formats
- Backward compatibility (expect lot of breaking)
- Platform or back-end specific code
- 3D
- Physics
- Node tree
- One-to-one correspondence with standards
- Integration with platform GUI
- Resolution detection
Used by
Dependencies
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].