Rust Graphics

Open-source Rust projects categorized as Graphics

Top 23 Rust Graphic Projects

  • GitHub repo iced

    A cross-platform GUI library for Rust, inspired by Elm

    Project mention: Hey Rustaceans! Got an easy question? Ask here (13/2021)! | reddit.com/r/rust | 2021-03-29

    I'm just having trouble understanding what going on with that method. I see it's argument takes a future, but what is that second argument 'F'? Looking at the Iced Todo example I'm still not quite seeing it.TODO ex

  • GitHub repo gfx

    A low-overhead Vulkan-like GPU API for Rust.

    Project mention: I built a simple C8 emulator/debugger/disassembler (Rust) | reddit.com/r/EmuDev | 2021-04-01

    Looks like they are using https://github.com/ggez/ggez which in turn uses https://github.com/gfx-rs/gfx for low-level drawing to the screen

  • GitHub repo glium

    Safe OpenGL wrapper for the Rust language.

  • GitHub repo svgbobrus

    Convert your ascii diagram scribbles into happy little SVG

    Project mention: Ownership Concept Diagram | reddit.com/r/rust | 2021-03-30

    Running it through svgbob (coincidentally in Rust) should do that

  • GitHub repo glutin

    A low-level library for OpenGL context creation, written in pure Rust.

  • GitHub repo svgcleaner

    svgcleaner could help you to clean up your SVG files from the unnecessary data.

    Project mention: Tech stack for my open source icons project (Iconduck) | dev.to | 2021-01-22

    svgcleaner is a CLI (command line) tool which cleans up vector files. Often, vector files will have a lot of extra “stuff” in them that aren’t needed for the presentation side of things, so this helps to reduce the file size. I store both the original vector of the icon, and a cleaned version.

  • GitHub repo kiss3d

    Keep it simple, stupid 3d graphics engine for Rust.

    Project mention: OpenGL in Rust | reddit.com/r/rust | 2021-02-22

    kiss3d might be something for you...

  • GitHub repo rendy

    State of the art "build your own engine" kit powered by gfx-hal

    Project mention: Good rendering libaries for rust | reddit.com/r/rust | 2020-12-28

    There's also rendy which is (I think) more high-level than wgpu

  • GitHub repo lopdf

    A Rust library for PDF document manipulation.

  • GitHub repo rs_pbrt

    Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code. See also https://www.rs-pbrt.org/about ...

    Project mention: Another implementation of PBRTv3 in Rust | reddit.com/r/rust | 2021-03-15

    Big thanks to wahn/rs_pbrt: Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code. See also https://www.rs-pbrt.org/about ... (github.com) and abusch/rustracer: A toy raytracer written in Rust based on PBRT (github.com) which where helpful as references.

  • GitHub repo rusttype

    Mirror of https://gitlab.redox-os.org/redox-os/rusttype

    Project mention: The `rusttype` crate is looking for a new maintainer | reddit.com/r/rust | 2021-04-07

    Hi folks, I just discovered that the rusttype crate is looking for a new maintainer.

  • GitHub repo rust-sloth

    A 3D software rasterizer... for the terminal!

    Project mention: termchat: Terminal chat application on LAN with file transfer and ASCII webcam video streaming support. Built on top of tui-rs and message-io crates | reddit.com/r/rust | 2021-02-06

    Probably I have not been fair with the `ASCII` meaning in the webcam context. At this moment (as you can see in the readme image of the repo) it transform the webcam color pixels to xterm colors to draw in the character background cell. But the idea is that I could make something like https://github.com/mazy1998/asciiVideo or https://github.com/ecumene/rust-sloth

  • GitHub repo tray_rust

    A toy ray tracer in Rust

  • GitHub repo printpdf

    An easy-to-use library for writing PDF in Rust

  • GitHub repo nuklear-rust

    The bindings to the Nuklear 2D immediate GUI library.

  • GitHub repo rpt

    A physically-based path tracer

    Project mention: Compound of five cubes, rendered using Rust (rpt v0.2) | reddit.com/r/computergraphics | 2021-02-26
  • GitHub repo fltk-rs

    Rust bindings for the FLTK GUI library.

    Project mention: Which one has more overhead, immediate continuous mode or retained mode? | reddit.com/r/AskComputerScience | 2021-04-09

    I am deciding between the two Rust libraries, one is egui (uses immediate mode) and the other one is fltk-rs (which uses retained mode).

  • GitHub repo rgx

    Modern mid-level 2D graphics library (by cloudhead)

    Project mention: Interesting pixel art software that might interest programmers. Vim style input on an art software package | reddit.com/r/gamedev | 2021-01-15

    They aren't using opengl directly. They're using rgx:

  • GitHub repo euclider

    A higher dimensional raytracing prototype with non-euclidean-like features

    Project mention: Impossible Geometry in Minceraft: The Long Hallway | reddit.com/r/Minecraft | 2021-01-12

    There's a few, notably noeuclid and euclider. Both of these are "true" non-euclidian renderers in that they use raytracing to actually simulate the traversal of light through all spaces in the scene.

  • GitHub repo fruity

    Rusty bindings for Apple libraries

    Project mention: Wish we had Mac APIs for Rust | reddit.com/r/rust | 2021-02-04

    I recently found https://github.com/nvzqz/fruity looks interesting but also not production ready

  • GitHub repo Image-Processing-CLI-in-Rust

    CLI for image processing with histograms, binary treshold and other functions

  • GitHub repo pilka

    Another live-coding tool for creating shader demos, Vulkan powered.

    Project mention: Using CUDA from Rust? | reddit.com/r/rust | 2021-01-18

    Still Ash or Erupt. Erupt exploits builder pattern more often than ash which saves you from annoying bugs 'temporary variable have been dropped, but only in release mode' like this https://github.com/pudnax/pilka/commit/2860f3d538a1b16e4ce64c7b589feae320ddc750 .

  • GitHub repo bevy_svg_map

    Bevy utility to translate SVG paths to the scene

    Project mention: SVG: The Good, the Bad and the Ugly | news.ycombinator.com | 2021-02-12

    Along those lines, I recently encountered this project that enables the use of SVG to design maps etc for games developed with the Rust language game engine Bevy: https://github.com/carrascomj/bevy_svg_map

    "The properties of the lines (color, opacity, fill...) can be used to programmatically add functionality..."

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-04-09.

Index

What are some of the best open-source Graphic projects in Rust? This list will help you:

Project Stars
1 iced 9,095
2 gfx 4,700
3 glium 2,349
4 svgbobrus 2,336
5 glutin 1,412
6 svgcleaner 1,312
7 kiss3d 950
8 rendy 751
9 lopdf 731
10 rs_pbrt 641
11 rusttype 523
12 rust-sloth 481
13 tray_rust 431
14 printpdf 412
15 nuklear-rust 308
16 rpt 298
17 fltk-rs 253
18 rgx 172
19 euclider 152
20 fruity 73
21 Image-Processing-CLI-in-Rust 24
22 pilka 13
23 bevy_svg_map 11