tev
minifb
Our great sponsors
tev | minifb | |
---|---|---|
2 | 10 | |
969 | 917 | |
- | - | |
8.1 | 2.8 | |
14 days ago | 6 months ago | |
C++ | C | |
BSD 3-clause "New" or "Revised" License | 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.
tev
-
The joy of building a ray tracer, for fun, in Rust
In the decade I spent working on RenderMan at Pixar, I learned just how immensely useful it was to have an image viewer running in a separate process talking to the renderer over a socket or pipe. (The Image Tool, or "It" is RenderMan's viewer.) Having it stay up even if you kill the render or it crashes for some reason and being able to flip back and forth to easily compare test renders across recompiles is game changing.
If I were to start writing a new renderer, the first thing I'd do is to hook it up to an external image viewer over some protocol. These days, I find myself liking TEV (https://github.com/Tom94/tev) a lot as a simple open-source image viewer that supports this. See the links in the README for Python and Rust implementations of its protocol.
minifb
-
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
-
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.
What are some alternatives?
winit - Window handling library in pure Rust
SDL - Simple Directmedia Layer
rust-rt - A simple raytracer built as an exercise to learn some Rust
microui - A tiny immediate-mode UI library
libtcod - A collection of tools and algorithms for developing traditional roguelikes. Such as field-of-view, pathfinding, and a tile-based terminal emulator.
deno-canvas - Canvas API for Deno, ported from canvaskit-wasm (Skia).
the-ray-tracer-challenge-fsharp - F# implementation of the ray tracer found in The Ray Tracer Challenge by Jamis Buck
deno_sdl2 - SDL2 module for Deno
deno-minifb - Deno wrapper around minifb, for making a framebuffer you can draw pixels to
pane - 🖼️ A deno module providing bindings for cross-platform windowing
pk_do_not_be_afraid - ASM really isn't that different from C! This collection of tutorials bridges your existing knowledge of C or C++ to teach assembly language.