Opus 5.5写代码渲染1000个双摆混沌动画
用Claude Code让Opus 5.5写151行纯JS,模拟1000个双摆从同步到混沌的9秒1080p动画。
I released 1,000 double pendulums from the same height. Each one starts a billionth of a radian away from its neighbour. For 9 seconds they move as one. The counter in the corner tracks how far apart the tips are: 1 second: about 1 micrometre 10 seconds: 0.8 mm 13.7 seconds: over 1 metre After that the single white arm explodes into a rainbow cloud filling the whole reachable disc. The math stays exactly the same. Energy is conserved to 3 parts in a billion. The motion is fully deterministic, and a millionth of a radian of uncertainty in the start still makes it unpredictable after 14 seconds. That is why weather forecasts have a horizon no computer can push very far. Claude Opus 5.5 wrote it in Claude Code: 151 lines of plain JavaScript, no libraries, RK4 at 1,200 steps per second, 1080p render in about 100 seconds.
这条是引用着另一条写的:x.com/yumzlef/status/2079898642614268334