softbuffer
piet
Our great sponsors
softbuffer | piet | |
---|---|---|
6 | 11 | |
252 | 1,213 | |
10.7% | 2.4% | |
8.2 | 5.3 | |
11 days ago | 28 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
softbuffer
-
How do rust gui frameworks avoid rerendering?
On a more recent machine, that same (well, more primitive) app with pixels or softbuffer struggled beyond acceptable. But was definitely poorly written.
-
Minimal 2D library for games? I'm struggling a bit to settle on one to learn.
I'm using winit and softbuffer for my CurrentProjectâ„¢.
-
Which OpenGL crate should I use?
Another annoyance is that it's not possible to have flicker-free resizing with wgpu without completely killing the performance. OTOH, softbuffer resizing never flickers.
-
What 2D graphics library would you most recommend?
Why not minifb or softbuffer (which lets you use winit)?
-
Rust's Option and Result. In Python.
machine learning, neural networks, image processing, cryptography (though it is getting better), font shaping/rendering (though it is getting better), CPU/software rendering (though it is getting better)
-
Hey Rustaceans! Got a question? Ask here! (24/2022)!
I have decided that wgpu is not worth it, and gone to softbuffer, which does not stretch, and works a whole lot better. Downside: no GPU and no scaling support.
piet
- Cairo – Open-Source 2D Graphics Layer/API with Fonts and Many Back-Ends
-
A simple 2d graphic library
You can even check https://github.com/linebender/piet and https://github.com/RazrFalcon/tiny-skia. They are pure rust libraries. Skia as a whole is a big binary to add.
-
Druid, a Rust-native UI toolkit, released v0.8 after two years of work by 80 contributors.
First, at the deepest level, we are moving away from Piet, which is a cross-platform 2D graphics abstraction. Under the hood it uses whatever the standard OS API is. Instead we will be using Vello which we have been building as a research project for years already. It is starting to near its v0.1, which is very exciting. Fundamentally it is a novel GPU accelerated 2D rendering engine with a strong focus on performance. It is not ready for benchmarks yet, but we're confident it will deliver. If you're curious, you can check out the Vello roadmap for 2023.
-
What 2D graphics library would you most recommend?
you can use piet, although that is more of an abstraction over existing, platform-dependent libraries. So not really pure rust, but definitely cross-platform.
-
Piet-GPU Progress: Clipping
Piet is the backend for the Druid UI framework. It is indeed cross-platform. The SVG backend looks like it would work without an OS, but I'm not sure the value of a GUI toolkit without an OS anyway :)
https://github.com/linebender/piet#backends
https://github.com/linebender/druid/tree/master/druid-shell/...
-
Looking for an image manipulation library that can add text to images. (and has documentation for it)
Piet can render text. You can use Piet_common with the BitMapTarget to generate images Here is an example.
-
Simple graphics library using software rendering?
Piet (https://github.com/linebender/piet) should work.
-
What Graphics Library to use?
So the 3 I'm looking at right now are 1. druid 1. piet 1. bevy
-
Rust GUI: Introduction, a.k.a. the state of Rust GUI libraries (As of January 2021)
It relies on piet 2D graphic library; on Linux that means GTK/Cairo 2D primitives
What are some alternatives?
embedded-graphics - A no_std graphics library for embedded applications
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
areweguiyet - A website built for the Rust community
vgtk - A declarative desktop UI framework for Rust built on GTK and Gtk-rs
druid - A data-first Rust-native UI design toolkit.
orbtk - The Rust UI-Toolkit.
winit - Window handling library in pure Rust
Azul - Desktop GUI Framework
xilem - An experimental Rust native UI framework
rustshed - Rust types in Python. https://justforfunnoreally.dev/
weird-move-behaviour-reproduction
image - Encoding and decoding images in Rust