softbuffer
Softbuffer integrates with the raw-window-handle crate to allow writing to a window in a cross-platform way while using the very high quality dedicated window management libraries that are available in the Rust ecosystem. (by rust-windowing)
minifb
MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in (by emoon)
Our great sponsors
softbuffer | minifb | |
---|---|---|
6 | 10 | |
267 | 924 | |
9.2% | - | |
8.0 | 2.8 | |
3 days ago | 7 months ago | |
Rust | C | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of softbuffer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-06.
-
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.
minifb
Posts with mentions or reviews of minifb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-12.
-
creating a free, fast and simple digital painting software (not planned UI/UX yet)
I would also recommend looking into SDL2 or MiniFB for cross-platform support, as not everyone uses X11.
- Minimal Cross-Platform Graphics
- MiniFB: Cross-Platform Rendering Library
-
graphics library for setting pixels on screen
MiniFB is what you want for this.
-
Best way to write a cross-platform graphical program in C while using only bare minimum third-party libraries?
MiniFB maybe?
-
eBook Gentle Introduction to Assembly Language (AARCH64)
But you can have a skeleton program that sets up framebuffer for you (e.g. with minifb or TIGR), then link it that skeleton with your code (in assembly or whatever you prefer).
- The joy of building a ray tracer, for fun, in Rust
-
native web-api graphics (live, not image)
I also saw minifb, which seems like a really to-the-point way to get a buffer I can draw to., so I guess I will go in that direction (rust lib, make FFI bindings for deno, etc.)
-
Can I make graphics without any libraries?
If you just want to push pixel data to a frame buffer then I can highly recommend minifb. MIT licensed, Supports a lot of platforms, and it’s about as simple as you can get. It also handles input if you need it, too.
-
Best libraries for making a raycaster in C
I think this library will fit your goals: https://github.com/emoon/minifb
What are some alternatives?
When comparing softbuffer and minifb you can also consider the following projects:
winit - Window handling library in pure Rust
rustshed - Rust types in Python. https://justforfunnoreally.dev/
SDL - Simple Directmedia Layer
weird-move-behaviour-reproduction
raytracer-exp - A simple raytracer built as an exercise to learn some Rust
site - Code for the website / Código para o site
microui - A tiny immediate-mode UI library
wgpu - Cross-platform, safe, pure-rust graphics api.
libtcod - A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
piet - An abstraction for 2D graphics.
deno-canvas - Canvas API for Deno, ported from canvaskit-wasm (Skia).