全部考题

展品 No. 002 · 动画

旋转六边形里的弹跳球

2025 年初爆红的物理测试:一个受重力和摩擦影响的球,在旋转的六边形里弹跳。

提示词

> Write an HTML page (single file, canvas + JS) that shows a ball bouncing inside a spinning hexagon. The ball should be affected by gravity and friction, and it must bounce off the rotating walls realistically.

发给你的 AI 跑一遍

打开后提示词已填好,你点发送即可。

Claude Code
claude 'Write an HTML page (single file, canvas + JS) that shows a ball bouncing inside a spinning hexagon. The ball should be affected by gravity and friction, and it must bounce off the rotating walls realistically.'
Codex CLI
codex 'Write an HTML page (single file, canvas + JS) that shows a ball bouncing inside a spinning hexagon. The ball should be affected by gravity and friction, and it must bounce off the rotating walls realistically.'
任意 agent
Fetch https://aitestmuseum.com/prompts/bouncing-ball-hexagon.txt and complete the task it describes in a single attempt. Save your answer as one self-contained HTML file.

这道题测什么

和运动中的墙做碰撞。墙在转,反弹时必须把碰撞点处墙的速度算进去,这是最难的地方。

来历

Flavio Adamo (original was a Python version) · 2025

题面在原题基础上有改写。

难度

●●●

模型答案

判定结果是我们对每个答案的评估。

把答案存成 .html 文件,用浏览器打开,就能和上面的结果对比。

同类别的其他考题