Phase 10 数字人模式 LVGL → EAF 切换所需的两个新组件: - espressif2022/esp_emote_gfx v3.0.5 轻量软件渲染 UI 框架(gfx_emote_init/gfx_disp_add/gfx_anim/gfx_label) - espressif/esp_mmap_assets v2.0.0 资源打包加载(虽然 use_fs 模式 buggy,我们绕过它直接 fopen, 但保留组件以便后续 mmap partition 模式启用) gfx_touch.c 含我们的 local shim 兼容 esp_lcd_touch v1.1.2 旧 API (已在前一个 commit 31982ba 中说明)。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3.8 KiB
3.8 KiB
ESP Emote GFX
面向嵌入式小屏设备的轻量 UI 图形库
Widgets · Text · Images · QR Codes · Animation · Motion Scenes
中文文档 | English Docs | Component Registry
把嵌入式小屏 UI 里常见的显示对象、图像、文本、动画、二维码和 Motion 场景,收进一套轻量图形库。
适合资源受限但仍需要流畅动效、清晰文字和轻量交互的小屏产品。
功能框架
模块说明
|
基础控件
提供图片、文本、按钮、二维码、动画和 Motion 场景等常用 UI 元素。 |
渲染与图像
覆盖软件绘制、图像资源、RGB565 / RGB565A8 数据,以及基于控制点的 mesh image 形变。 |
文本与字体
支持 LVGL bitmap font 和 FreeType TTF/OTF 字体渲染。 |
|
动画播放
负责 EAF 播放、分段控制、循环模式,以及 timer-driven 的状态更新。 |
Motion 场景
面向路径驱动的角色、表情和交互动效,支持生成式 asset、pose/action 切换和颜色/纹理绑定。 |
嵌入式集成
作为组件接入工程,连接显示刷新、输入、内存 buffer 和线程安全对象访问。 |
文档
详细安装、API、示例、Motion 架构和测试工程说明都放在在线文档里:
- 中文文档:https://espressif2022.github.io/esp_emote_gfx/zh_CN/index.html
- English docs: https://espressif2022.github.io/esp_emote_gfx/en/index.html
- Component Registry: https://components.espressif.com/components/espressif2022/esp_emote_gfx
English
ESP Emote GFX is a lightweight software-rendered graphics library for compact embedded displays that need expressive UI elements without pulling in a heavy graphics stack.
For installation, API references, examples, and motion architecture notes, please visit the online documentation:
- Documentation: https://espressif2022.github.io/esp_emote_gfx/en/index.html
- Component Registry: https://components.espressif.com/components/espressif2022/esp_emote_gfx
License
ESP Emote GFX is licensed under the Apache License 2.0. See LICENSE.