deno_sdl2
SDL2 module for Deno (by littledivy)
minifb
MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in (by emoon)
Our great sponsors
deno_sdl2 | minifb | |
---|---|---|
1 | 10 | |
125 | 923 | |
- | - | |
7.2 | 2.8 | |
about 2 months ago | 7 months ago | |
TypeScript | C | |
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.
deno_sdl2
Posts with mentions or reviews of deno_sdl2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-10.
-
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.
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 deno_sdl2 and minifb you can also consider the following projects:
winit - Window handling library in pure Rust
webview_deno - ๐ Deno bindings for webview, a tiny library for creating web-based desktop GUIs
SDL - Simple Directmedia Layer
deno_lint - Blazing fast linter for JavaScript and TypeScript written in Rust
raytracer-exp - A simple raytracer built as an exercise to learn some Rust
deno-canvas - Canvas API for Deno, ported from canvaskit-wasm (Skia).
microui - A tiny immediate-mode UI library
deno - A modern runtime for JavaScript and TypeScript.
libtcod - A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
SDL2Tutorial