From d35640688120796ab611906fab660776216471e8 Mon Sep 17 00:00:00 2001 From: Shinku <17696928+Shinku-Chen@users.noreply.github.com> Date: Thu, 27 Aug 2026 18:31:20 +0800 Subject: [PATCH] docs(plays): add What to Eat Today application archive Archive the 'What to Eat Today' food roulette under plays/shinku-chen/eat-what with a bilingual functional summary and cover image, and add it to the play archive index. The firmware is a button-driven spinner that boots straight into the app, holds UP/DOWN to loop food animations, stops on release, shows live battery, and auto-poweroffs after 2 minutes idle. --- plays/INDEX.md | 1 + plays/INDEX.zh_CN.md | 1 + plays/shinku-chen/eat-what/README.md | 47 ++++++++++++++++++++++ plays/shinku-chen/eat-what/README.zh_CN.md | 39 ++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 plays/shinku-chen/eat-what/README.md create mode 100644 plays/shinku-chen/eat-what/README.zh_CN.md diff --git a/plays/INDEX.md b/plays/INDEX.md index 2b7f252..94d919e 100644 --- a/plays/INDEX.md +++ b/plays/INDEX.md @@ -20,6 +20,7 @@ table. | Contributor | Application | Summary | Source | | --- | --- | --- | --- | | Shinku-Chen | [Voice Keychain](shinku-chen/voice-keychain/README.md) | A sound-effects keychain that turns the AI Passport into a pocket audio player; press OK to play one of hundreds of Chinese voice clips from dozens of character packs. | [feature/voice-keychain](https://github.com/Shinku-Chen/ai-passport/tree/feature/voice-keychain) | +| Shinku-Chen | [What to Eat Today](shinku-chen/eat-what/README.md) | A button-driven food roulette that turns the AI Passport into a "what should I eat?" spinner; hold a key to cycle food options and let go to stop on the one you want. | [feature/cheerful-goodall](https://github.com/Shinku-Chen/ai-passport/tree/feature/cheerful-goodall) | The Voice Keychain archive also carries its manual: diff --git a/plays/INDEX.zh_CN.md b/plays/INDEX.zh_CN.md index 9346e70..fe241ad 100644 --- a/plays/INDEX.zh_CN.md +++ b/plays/INDEX.zh_CN.md @@ -16,6 +16,7 @@ | 贡献者 | 应用 | 功能说明 | 源码 | | --- | --- | --- | --- | | Shinku-Chen | [音效钥匙扣](shinku-chen/voice-keychain/README.zh_CN.md) | 把 AI Passport 变成口袋音频播放器的音效钥匙扣;按 OK 播放来自几十个角色包的数百条中文语音片段。 | [feature/voice-keychain](https://github.com/Shinku-Chen/ai-passport/tree/feature/voice-keychain) | +| Shinku-Chen | [今天吃啥](shinku-chen/eat-what/README.zh_CN.md) | 按键驱动的食物轮盘,把 AI Passport 变成「今天吃什么」小转盘;按住按键循环食物选项,松手停在你想吃的那样上。 | [feature/cheerful-goodall](https://github.com/Shinku-Chen/ai-passport/tree/feature/cheerful-goodall) | 音效钥匙扣档案还携带配套手册: diff --git a/plays/shinku-chen/eat-what/README.md b/plays/shinku-chen/eat-what/README.md new file mode 100644 index 0000000..b2bccc8 --- /dev/null +++ b/plays/shinku-chen/eat-what/README.md @@ -0,0 +1,47 @@ +

+ 简体中文 · English +

+ +# What to Eat Today + +A button-driven food roulette that turns the AI Passport into a "what should I +eat?" spinner. Hold a key and watch a recommendation cycle through your options; +let go to land on the one you want. + +## Publish information + +- **Title**: What to Eat Today +- **Description**: Turn your AI Passport into a "what should I eat?" spinner. + Hold one button to cycle the lunch prompts, hold the other to spin through all + kinds of food, and let go to land on the one you want. Perfect for the daily + "what's for lunch" dilemma, or passing it around at a gathering for everyone to + pick in turn. +## What it does + +- **Boots straight into the app**: the firmware opens the roulette directly with + no main menu. +- **Lunch-prompt animation** (hold the first button): loops a "what's for lunch?" + prompt at 10 fps. +- **Food-picker animation** (hold the other button): spins through a set of food + options at 20 fps. +- **Release to stop**: letting go stops the roulette on the current frame. +- **Battery readout**: shows the live battery percentage in the top-right corner, + refreshed every couple of seconds; low battery (<20%) turns red. +- **Auto-poweroff**: after 2 minutes with no key activity the device turns off + the backlight and enters deep sleep (woken by any key). + +## Interaction + +Three keys drive the whole app; the top-right corner shows the battery level. + +- **UP (hold)**: cycle the lunch-prompt animation. +- **DOWN (hold)**: cycle the food-picker animation. +- **Release**: stop on the current frame. +- **OK (single press)**: toggle between the LVGL partial-redraw renderer and a + fast local+interlaced renderer (for A/B comparing refresh speed vs. tearing). + +## Source + +- Repository: `Shinku-Chen/ai-passport`, branch `feature/cheerful-goodall` + (). +- Released to the community as project `community-3299e0e9`. diff --git a/plays/shinku-chen/eat-what/README.zh_CN.md b/plays/shinku-chen/eat-what/README.zh_CN.md new file mode 100644 index 0000000..1b73c09 --- /dev/null +++ b/plays/shinku-chen/eat-what/README.zh_CN.md @@ -0,0 +1,39 @@ +

+ 简体中文 · English +

+ +# 今天吃啥 (What to Eat Today) + +按键驱动的食物轮盘,把 AI Passport 变成你的「今天吃什么」小转盘。按住一个键, +看着推荐轮着转;松手就停在你想吃的那样上。 + +## 发布信息 + +- **标题**:今天吃啥 / What to Eat Today +- **描述**:把 AI Passport 变成你的“今天吃什么”小转盘——按住一个键,看着午餐 + 推荐轮着转;按住另一个键,转到各式美食。松手就停在你想吃的那样上,纠结吃 + 什么的时候特别治愈,也适合聚会时让大家轮流决定。 +## 功能 + +- **开机直达应用**:固件启动后直接进入轮盘,无主菜单。 +- **午餐引导动画**(按住上键):循环播放「今天午餐要吃什么呢?」提示(10 fps)。 +- **食物选择器动画**(按住下键):在多种食物选择间循环(20 fps)。 +- **松手即停**:松开按键停在当前帧。 +- **电量显示**:右上角实时显示电池百分比,每 2 秒刷新;低电量(<20%)变红。 +- **自动关机**:2 分钟无按键活动即关闭背光并进入深睡(任意按键唤醒)。 + +## 交互 + +三个按键驱动整个应用;右上角显示电量。 + +- **上键(按住)**:循环「午餐引导」动画。 +- **下键(按住)**:循环「食物选择器」动画。 +- **松开**:停在当前帧。 +- **OK(单击)**:在 LVGL 局部重绘渲染器与快速局部+隔行渲染器之间切换 + (用于 A/B 对比刷新速度与撕裂)。 + +## 源码 + +- 仓库:`Shinku-Chen/ai-passport`,分支 `feature/cheerful-goodall` + ()。 +- 已发布到社区,项目号 `community-3299e0e9`。