RepositoryRust
embedded-graphics

embedded-graphics/simulator

Desktop simulator for embedded-graphics

138sao
26fork
3issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: embedded-graphics

#1 Repository của tháng

6
TINIX TRENDING·Chủ đề: simulator

#6 Repository của tháng

1
TINIX TRENDING·Chủ đề: embedded-graphics

#1 Repository của tháng

🖥️ Simulator desktop cho embedded-graphics — test đồ họa nhúng mà không cần board

Chạy mã embedded-graphics trên desktop, giả lập màn hình OLED/ LCD để debug và demo nhanh.

Dự án embedded-graphics/simulator cung cấp một công cụ giả lập đồ họa nhúng dựa trên thư viện embedded-graphics của Rust. Thay vì phải flash code lên board STM32 hay ESP32 để xem kết quả đồ họa, bạn có thể chạy trực tiếp trên desktop và xem hình ảnh được sinh ra ngay lập tức — rất tiện cho việc phát triển giao diện đồ họa trên thiết bị nhúng.

✨ Điểm nổi bật

  • Giả lập màn hình nhúng: hỗ trợ tạo SimulatorDisplay với kích thước tùy chỉnh như 128x64 SSD1306 OLED.
  • Tích hợp SDL2: hiển thị đồ họa động trên cửa sổ desktop thông qua Window.
  • Hỗ trợ theme màu: áp dụng các theme như BinaryColorTheme::OledBlue để mô phỏng giao diện thực tế.
  • Chụp screenshot tự động: dùng biến môi trường EG_SIMULATOR_DUMP để xuất PNG.
  • Kiểm tra hình ảnh trong CI: so sánh output với ảnh tham chiếu bằng EG_SIMULATOR_CHECK.
  • Xuất ảnh không cần SDL2: dùng to_rgb_output_image hoặc to_grayscale_output_image để lưu ảnh trực tiếp.
  • Tắt SDL2 khi không cần: dùng default-features = false cho môi trường headless.

💡 Vì sao đáng chú ý

Không giống cách truyền thống phải nạp code lên board và chờ kết quả, simulator cho phép lập trình viên phát triển và kiểm thử giao diện đồ họa trên desktop một cách nhanh chóng. Điều này rất hữu ích trong quá trình phát triển ban đầu hoặc khi muốn tạo hình ảnh minh họa cho tài liệu. Ngoài ra, khả năng kiểm tra hình ảnh trong CI giúp đảm bảo đồ họa không bị thay đổi không mong muốn sau các thay đổi code.


#embeddedGraphics #Rust #Simulation #SDL2 #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryPython
666ghj/MiroFish

A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物

87.3k
Oct 16, 2026
RepositoryRust
sweetpad-dev/sweetpad

xcodebuild for humans and agents: build, run, debug, and test iOS, macOS, tvOS, watchOS, and visionOS apps from your terminal.

1.9k
Dec 2, 2026
RepositoryRust
ratatui/mousefood

Build embedded applications with Ratatui! 🧀

1.4k
Nov 30, 2026
RepositoryRust
madsim-rs/madsim

Magical Deterministic Simulator for distributed systems in Rust.

1.2k
Feb 16, 2026
RepositoryRust
embedded-graphics/embedded-text

Multiline TextBox for the embedded-graphics Rust crate

76
Oct 10, 2025
RepositoryRust
georgik/esp32-spooky-maze-game

Rust Bare Metal implementation of maze game for ESP32 with Bevy ECS no_std

73
Oct 27, 2026
RepositoryRust
ruvnet/RuView

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

105.9k
Dec 2, 2026
RepositoryC++
bulletphysics/bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

14.9k
Oct 9, 2026