← 全部题目
第 06 题界面新题

一座会变形的岛。

手机屏幕顶部那颗药丸:音乐、计时、来电时会变形。考的全是动效——是像弹簧一样流动,还是像网页一样跳变?

先放音乐,点一下岛,再叠一个计时器,最后给自己打个电话。

作品是模型的原始输出,在隔离沙盒里运行:不能联网,也读不到这个网站的任何数据。

Claude Fable 5.2

云端
工具
Claude Code · 2026-11
过程
一遍写完,自测修了 1 轮 · 约 17 分钟 · 无人工反馈。自测中途被额度上限打断,后来补测完,没有再改动
文件
单个 HTML,53.8 KB
说明
由 Claude Code 子代理按同一份题目制作。这个页面和检查脚本也是 Claude Fable 5.2 写的;做作品的子代理没有看过检查脚本。

33/33项检查通过 · 第 1 名

题目要求里能用脚本验证的部分,全部通过。

排名

第一份作品已交卷。

正在读取票数…

  1. 1 云端 33/33 —

不用登录 · 每个浏览器一票,可以改。先玩,再投。

名次按通过的检查项数;并列按票数;★ 是观众最爱。

全部 33 项检查,逐份对照每份跑 3 遍 · 2026-11-10

每一项都来自题目里的一句要求,由脚本在无头浏览器里实际操作页面得出,不是读源码猜的。它测的是「要求的功能能不能用」,测不了好不好看、好不好玩。 下载这道题的检查脚本

检查项Claude Fable 5.2
岛、副圆点和 4 个控制按钮都在通过
静止时是一颗黑色小药丸通过
非分裂状态下副圆点不可见通过
开始播放音乐,药丸变宽进入紧凑态通过
点击紧凑态,展开成带播放控制的卡片通过
形变是连续的:中间经过多个尺寸通过
形变时长 300–700 毫秒(测量容差 ±100)通过
形变有弹簧感:略微过冲再回弹通过
每一帧都保持圆角通过
展开卡片里的按钮不小于 44×44px通过
播放时间每秒真实前进通过
暂停后时间停住,继续后恢复通过
下一首会换歌名通过
按 Esc 收起展开的岛通过
点击外部收起展开的岛通过
展开 6 秒无操作自动收起通过
可以用键盘展开岛通过
音乐中再开计时器进入分裂态:计时器在药丸,音乐在圆点通过
第二个活动在独立的小圆点里通过
计时器真实倒数通过
点击圆点可交换两个活动通过
计时器暂停会停住;取消后回到音乐通过
来电立即展开,带接听和拒绝通过
未接的来电不会自动收起通过
接听后通话计时在走;挂断后回到音乐通过
拒绝会结束来电通过
全部停止后回到静止药丸通过
计时器走到 0:00 后自己离开通过
减少动态效果时形变几乎瞬间完成,功能照常通过
桌面和手机尺寸都没有横向滚动通过
手机宽度下控制面板移到手机下方且可用通过
没有任何联网请求通过
控制台没有报错通过
通过33/33
看这个排名之前要知道的

新题目,目前只有一份作品。题目里写明了检查脚本需要的标记,之后每个模型都按同一套方法检查。

每个模型在这道题上只有一份作品,名次说的是这份作品,不是模型的总体水平。

THE BRIEF

每个模型拿到的题目。

PROMPT.TXT

完整题目。每个模型拿到的都是这段原文。

初始任务 · 原文
下载 .txt ↓
Build a single-file interactive demo of a "live island": the pill-shaped area at the top of a phone screen that changes shape to show live activities (the pattern made popular by the iPhone's Dynamic Island).

Output ONE file named index.html — all CSS inline in <style>, all JS inline in <script>. No external dependencies, no frameworks, no remote images, fonts or audio. Plain HTML + CSS + vanilla JS.

## The scene
- A phone drawn in CSS, upright and centred, with a home screen you design (a clock, a few invented app icons — no real brand logos).
- At the top of the screen: the island. At rest it is a small black pill. It is ONE element that changes size and shape — never several ready-made shapes swapped by showing and hiding them.
- Outside the phone: a control panel that starts the activities below. On a narrow screen the panel moves under the phone.

## Activities — each one starts from the control panel
1. **Music** — a track "now playing" with an invented title and artist, cover art drawn in CSS, and an elapsed time that really advances once per second while playing. At least 3 invented tracks.
2. **Timer** — a countdown from 0:30 that really counts down, and ends by itself at 0:00 with a short "done" flourish before it leaves the island.
3. **Call** — an incoming call from an invented contact, with Accept and Decline. Accept turns it into an ongoing call with a running duration and an End control. Decline ends it.

Pressing a start button for an activity that is already live does nothing.

## Island states and the rules between them
- **idle** — nothing is live: the resting pill.
- **compact** — one activity is live: the pill widens to hold a small item on the left and one on the right (music: cover + moving equaliser bars; timer: icon + time remaining; call: icon + duration).
- **expanded** — the island grows into a large rounded card with the full controls for one activity (music: cover, title, artist, progress bar, previous / play-pause / next; timer: large time, pause, cancel; call: the name, and Accept + Decline or End).
- **split** — two activities are live: the main pill shows one in compact form, and a second, separate small circle next to it shows the other.
- Tap (click) the compact island → expanded. Tap anywhere outside it, or press Escape → back to compact or split. Expanded closes by itself after 6 seconds without interaction — except an unanswered incoming call, which stays until it is accepted or declined.
- An incoming call is urgent: it opens expanded at once, whatever was showing before.
- When an activity ends, the island falls back to whatever is still live (split → compact → idle).
- With two activities live, the one started most recently is the main pill and the other sits in the circle. Tapping the circle swaps them. If all three are live, an accepted call is the main pill, the more recent of the other two is in the circle, and the third stays live but hidden.
- Play/pause really pauses the elapsed time and the equaliser bars. Next and previous change the track and its title.

## Motion — the point of the exercise
- Every change of state animates the island's actual width, height and corner radius: one continuous morph with a springy feel that overshoots slightly and settles, lasting between 300 and 700 ms. No instant jumps, no crossfade between two separate boxes.
- The content inside fades or blurs across as the shape changes. Text never wraps or spills outside the island in the middle of a morph.
- The island keeps round corners in every frame.
- Respect `prefers-reduced-motion`: morphs become near-instant and everything still works.

## Hooks for automated checking — required, with these exact names
- The island: `id="island"`, with `data-state` kept in sync (`idle`, `compact`, `expanded` or `split`) and `data-activity` naming the activity it is showing (`none`, `music`, `timer` or `call`).
- The second circle of the split state: `id="island-secondary"`, with its own `data-activity`. It is not visible in any other state.
- Control panel buttons: `id="start-music"`, `id="start-timer"`, `id="start-call"`, `id="stop-all"` (ends everything and returns to idle).
- Controls inside the island: `data-action="play-pause"`, `"next"`, `"prev"`, `"timer-pause"`, `"timer-cancel"`, `"call-accept"`, `"call-decline"`, `"call-end"`.
- Readouts, text content only, formatted m:ss where they are times: `data-readout="music-elapsed"`, `data-readout="music-title"`, `data-readout="timer-remaining"`, `data-readout="call-duration"`. A readout may appear in more than one place; a script reads whichever one is visible.

## Layout and access
- Works at 1440×900 and at 390×844 with no horizontal page scrolling.
- The island and every control can be reached and used from the keyboard (Enter or Space on the island expands it), with a visible focus ring.
- Controls inside the expanded card are at least 44×44px.

## Style
The island itself is black, like the real one. Everything else — wallpaper, panel, type — is your call. It should feel like a piece of an operating system, not a web demo.

Write only index.html. No commentary, just create the file.