deno_sdl2
SDL2Tutorial
Our great sponsors
deno_sdl2 | SDL2Tutorial | |
---|---|---|
1 | 1 | |
125 | 2 | |
- | - | |
7.2 | 0.0 | |
about 2 months ago | almost 4 years ago | |
TypeScript | Rust | |
MIT License | - |
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
-
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.
SDL2Tutorial
What are some alternatives?
winit - Window handling library in pure Rust
scaters - A Chip 8 Emulator Written in Rust and SDL2
webview_deno - 🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
alacritty - A cross-platform, OpenGL terminal emulator.
deno_lint - Blazing fast linter for JavaScript and TypeScript written in Rust
deno - A modern runtime for JavaScript and TypeScript.
deno-canvas - Canvas API for Deno, ported from canvaskit-wasm (Skia).
pane - 🖼️ A deno module providing bindings for cross-platform windowing
minifb - MiniFB is a small cross platform library to create a frame buffer that you can draw pixels in
deno-minifb - Deno wrapper around minifb, for making a framebuffer you can draw pixels to
caviar - ⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser