ili9341-rs
tiny-skia
ili9341-rs | tiny-skia | |
---|---|---|
2 | 17 | |
57 | 1,010 | |
- | - | |
4.2 | 6.6 | |
about 2 months ago | 9 days ago | |
Rust | Rust | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" 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.
ili9341-rs
-
vs code doesnt like my toml file, but compiles just fine
[package] name = "experiment" version = "0.23.0" authors = ["garse"] edition = "2018" categories = ["embedded", "hardware-support"] keywords = ["embedded", "svc", "idf", "esp-idf", "esp32"] description = "A demo binary crate for the ESP32 and ESP-IDF, which connects to WiFi, Ethernet, drives a small HTTP server and draws on a LED screen" repository = "https://github.com/ivmarkov/rust-esp32-std-demo" license = "MIT OR Apache-2.0" readme = "README.md" [patch.crates-io] smol = { git = "https://github.com/esp-rs-compat/smol" } polling = { git = "https://github.com/esp-rs-compat/polling" } socket2 = { git = "https://github.com/esp-rs-compat/socket2" } getrandom = { version = "0.2", git = "https://github.com/esp-rs-compat/getrandom.git" } #getrandom1 = { version = "0.1", git = "https://github.com/esp-rs-compat/getrandom.git", package = "getrandom", branch = "0.1" } [profile.release] opt-level = "s" [profile.dev] debug = true # Symbols are nice and they don't increase the size on Flash opt-level = "z" [features] default = ["experimental"] # Enable this feature for the build to use ESP-IDF native tooling instead of PlatformIO under the hood native = ["esp-idf-sys/native"] # Enable this feature if you are building for QEMU qemu = [] # Enable this feature in case you have a Kaluga board and would like to see a LED screen demo kaluga = [] # Enable this feature in case you have a TTGO board and would like to see a LED screen demo ttgo = [] # Enable this feature in case you have an ESP32S3-USB-OTG board and would like to see a LED screen demo heltec = [] # Enable this feature in case you have a generic SSD1306 Display connected via SPI to pins 3, 4, 5, 16, 18, 23 (SPI3) of your board ssd1306g_spi = [] # Enable this feature in case you have a generic SSD1306 screen connected to pins 14, 22 and 21 of your board ssd1306g = [] esp32s3_usb_otg = [] # Enable this feature in case you have an RMII IP101 Ethernet adapter ip101 = [] # Enable this feature in case you have an SPI W5500 Ethernet adapter w5500 = [] # Enable this feature in case you have a Waveshare board and 4.2" e-paper waveshare_epd = [] experimental = ["esp-idf-svc/experimental", "esp-idf-hal/experimental", "embedded-svc/experimental"] [dependencies] anyhow = {version = "1", features = ["backtrace"]} log = "0.4" url = "2" esp-idf-sys = { version = "0.30.6", features = ["binstart"] } esp-idf-svc = "0.37.2" esp-idf-hal = "0.33.1" embedded-svc = "0.17.2" embedded-hal = "0.2" embedded-graphics = "0.7" display-interface = "0.4" display-interface-spi = "0.4" st7789 = "0.6" ili9341 = { version = "0.5", git = "https://github.com/yuri91/ili9341-rs" } ssd1306 = "0.7" epd-waveshare = "0.5.0" smol = "1.2" rand = "*" [build-dependencies] embuild = "0.28" anyhow = "1"
-
Hey Rustaceans! Got an easy question? Ask here (40/2021)!
ili9341 = { git = "https://github.com/yuri91/ili9341-rs.git", branch = "master", features=["graphics"] } embedded-hal = "0.2.3" embedded-graphics="0.7.1" display-interface-spi = "0.4.1" heapless = "0.7.7" profont = "0.5.0"
tiny-skia
-
A simple 2d graphic library
You can even check https://github.com/linebender/piet and https://github.com/RazrFalcon/tiny-skia. They are pure rust libraries. Skia as a whole is a big binary to add.
-
Typst, a modern alternative to LaTeX, is now open source
Looking through the source code. It looks like it's using tiny-skia for rendering.
-
Recommended UI framework to draw many 2D lines?
Tiny Skia (https://github.com/RazrFalcon/tiny-skia) which is a slower Rust port of Skia and does all software rendering.
-
Announcing piet-glow, a GL-based implementation of Piet for 2D rendering
https://github.com/RazrFalcon/tiny-skia is pretty great.
-
Is coding in Rust as bad as in C++? A practical comparison
I understand that this may sound harsh, but I also ported two (far bigger) codebases from C++ to Rust: rustybuzz and tiny-skia. Both of which are production -ready and not just prototypes. And mine not only do not use pointers, but also barely use unsafe in general.
-
Is there a way to avoid call overhead?
Here is a real world implementation in tiny-skia: https://github.com/RazrFalcon/tiny-skia/blob/master/src/pipeline/highp.rs
-
I want to draw 2d shapes directly to a u8 buffer without needing a window and without having to write drawing code from scratch.
How about tiny-skia?
-
Good example of high performance Rust project without unsafe code?
How about tiny-skia? Almost the same performance as C, no unsafe, a lot of explicit SIMD.
-
Announcing lyon 1.0.0
Now I would love to see a universal Bezier path crate, storage + common utilities like length, point at offset, some low-level stuff, etc. So it could be used as a foundation for other crates. Currently, there is a lot of friction because each crate has its own implementation.
-
I wrote a GUI library.
Nice to see tiny-skia in use.
What are some alternatives?
rust-esp32-std-demo - Rust on ESP32 STD demo app. A demo STD binary crate for the ESP32[XX] and ESP-IDF, which connects to WiFi, Ethernet, drives a small HTTP server and draws on a LED screen.
PixiJS - The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.
rust_minifb - Cross platfrom window and framebuffer crate for Rust
fontdue - The fastest font renderer in the world, written in pure rust.
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
cargo-asm - cargo subcommand showing the assembly or llvm-ir generated for Rust code
canvas - Cairo in Go: vector to raster, SVG, PDF, EPS, WASM, OpenGL, Gio, etc.
macroquad - Cross-platform game engine in Rust.
pixie - Full-featured 2d graphics library for Nim.
rust - Rust language bindings for TensorFlow
vouch-proxy - an SSO and OAuth / OIDC login solution for Nginx using the auth_request module