minifb
MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in (by emoon)
deno-canvas
Canvas API for Deno, ported from canvaskit-wasm (Skia). (by DjDeveloperr)
Our great sponsors
minifb | deno-canvas | |
---|---|---|
10 | 2 | |
923 | 185 | |
- | - | |
2.8 | 1.4 | |
7 months ago | about 1 year ago | |
C | JavaScript | |
MIT License | 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.
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
deno-canvas
Posts with mentions or reviews of deno-canvas.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-10.
- Create images without browser?
-
native web-api graphics (live, not image)
sdl2 gets around the first problem by downloading a CLI service & starting it, that speaks JSON over a TCP socket. It's a limited surface of the API, and missing some pretty basic stuff, but I could see it working ok. It's not canvas, so I'd have to translate those sort of calls to it. I discussed that a bit here and it sounds like I could blit images of the canvas to sdl2 surface, but since it doesn't support in-memory images, I'd have to implement that in sdl2, or save a "frame" image to a file, for every blit. Either way, I have the overhead of redrawing every frame as a complete image. This seems incredibly jenky, and I assume will not perform very well, but I haven't tested.
What are some alternatives?
When comparing minifb and deno-canvas you can also consider the following projects:
winit - Window handling library in pure Rust
SDL - Simple Directmedia Layer
deno_sdl2 - SDL2 module for Deno
raytracer-exp - A simple raytracer built as an exercise to learn some Rust
pane - 🖼️ A deno module providing bindings for cross-platform windowing
microui - A tiny immediate-mode UI library
art - @Bigfan/art is a React custom renderer for HTML5 Canvas.
libtcod - A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
deno-minifb - Deno wrapper around minifb, for making a framebuffer you can draw pixels to
the-ray-tracer-challenge-fsharp - F# implementation of the ray tracer found in The Ray Tracer Challenge by Jamis Buck