There is a good 2D Graphics crate?


#1

Hi, I’m searching a good 2D graphics crate.
The only request I have is to draw some circles and move it with an algorithm.
I don’t need user interaction at all.

I found piston-graphics (and conrod) but on my system, i have a problem with Mesa-17.3 so I can’t use it before the official release of Mesa-18. I have this problem with every graphics-related crate from the Piston framework.
I found even amethyst but I haven’t the ability to use a so sophisticated game engine… for only draw some circles around a canvas.

Someone know some good name for this type of crate?


#2

If you are using Windows, I would recommend Direct2d. It is not a crate though. Simply several function calls


#3

Linux, Windows is not even in the future targets


#4

Something like Cairo maybe?


#5

Yes!
A window with some polygon moved by a code, nothing else


#6

Well then, there’s this: https://crates.io/crates/cairo-rs :slight_smile:


#7

here http://arewegameyet.com/categories/2drendering.html