All tests

Exhibit No. 017 · Animation

Ball bouncing inside a tesseract

The four-dimensional sequel to the spinning hexagon: a ball bouncing inside a rotating hypercube.

Prompt

> write a single HTML file (JavaScript, canvas or three.js) of a ball bouncing inside a rotating tesseract

What it tests

4D rotation and projection, plus collisions against walls you can only see in projection.

Origin

@Yuchenj_UW (original asked for Python) · 2025

1.2M views on the original post

Prompt wording adapted from the original.

Difficulty

●●●

Results

Claude Opus 5.5

Run on 2026-10-19Open the raw answer
Test conditions

One attempt per test, with no edits after running. Where a first attempt didn’t work, the test was answered once more and the exhibit says so; answers that still don’t work are not shown. Run inside a Claude Code agent session, which includes its own system prompt, rather than the raw API.

All results for Claude Opus 5.5

Save the answer as a .html file and open it in a browser to compare it with the one above.

More tests in this category