TML-d24-varloop and Inkling 2 Mini: a 3D diorama of the Colosseum square
Six configurations of two looped models each built the same 3D diorama of the Colosseum square in Rome, from this prompt:
Build a 3D isometric diorama of the Colosseum square in Rome, as one web page.
The scene
- A square tile of the city floating in the sky: paving and grass on top, a thick slab of earth and rock underneath, so it reads as a miniature cut out of the city.
- The landmarks are the heart of the scene and must be recognisable at first glance from their defining features. Build them with care and at plausible relative proportions; you may move them closer together to fit the tile.
- the Colosseum: an elliptical amphitheatre in travertine, intact as it was in Roman times: its outer ring is complete all the way round, three tiers of arches framed by half-columns and a solid fourth storey with small rectangular windows, uniform on every side; inside, the stepped seating and the arena floor with the underground corridors partly exposed.
- the Arch of Constantine beside it: a triple triumphal arch with a taller central opening, four free-standing columns on each face and a tall attic with an inscription panel.
- a corner of the Roman Forum: broken columns and fragments of temples among umbrella pines with flat crowns and dark cypresses.
- Around them, the city at small scale: streets of dark stone cobbles with Vespas and a red open-top tourist bus going round, a souvenir cart and a small iron drinking fountain. Add people walking along the paths, trees, street lamps, benches and the small details that make a place feel lived in.
- A day-night cycle of about 60 seconds: the sun moves and the shadows follow it, the light turns warm at sunset, at night the street lamps and the windows glow, then dawn returns. Drifting clouds and a few birds.
- A stylised low-poly look, like a hand-made architectural model: soft shadows, a coherent palette, clean silhouettes.
- A small title card in a corner with the name of the place and the city.
- The camera looks down on the tile from an isometric angle. At the default zoom the whole tile, its rock underside included, fits in the window with sky around it.
Interaction
- Dragging rotates the view around the tile; on release it snaps to the nearest 90 degree view. Two buttons rotate by 90 degrees left and right, one button pauses the day-night cycle. The mouse wheel zooms within limits.
- The page fills the window and starts animating by itself, with no click.
Technical rules
- Use Three.js r186, which is already in ./lib (do not modify it). Load it with exactly this import map:
<script type="importmap">{"imports":{"three":"./lib/three.module.js","three/addons/":"./lib/addons/"}}</script>
then import * as THREE from 'three' and, only if you need them, addons such as 'three/addons/utils/BufferGeometryUtils.js'.
- Everything you write goes in index.html, in the current folder: HTML, CSS and JavaScript inline. No other files, no external images, models or fonts, no network requests. Build every shape from Three.js geometry (boxes, cylinders, lathes, extrusions, instanced meshes); procedural canvas textures are allowed.
- Support a URL parameter ?time= from 0 to 1 that sets the starting time of day (0 is midnight, 0.5 is noon).
- When the scene is built, set window.__diorama = { scene, camera, renderer }.
- It must run smoothly on a laptop: reuse geometries and materials, and use InstancedMesh for repeated objects such as trees, people, lamps and windows.
How to work
- Put a first complete version on disk early, then improve it in steps. After every substantial change, run `pagecheck` in the terminal (no arguments: it checks ./index.html). It opens the page in a headless browser at noon and at night and reports errors, whether the picture is blank, too dark or overexposed, whether it moves, and how many objects and triangles the scene has.
- Fix whatever pagecheck reports before adding detail. Once the page works, edit it: do not rewrite it from scratch.
- You are done when pagecheck passes and every landmark has its defining features. Decide everything yourself and do not ask me anything.
The prompt above merges two steps. First, an agent built each page from the original prompt, which asked for the Colosseum’s outer ring broken as in today’s ruin. Then a new agent made the Colosseum intact with a short second prompt.
The two prompts the agents received
First step. Each agent of the first step received this prompt, word for word:
Build a 3D isometric diorama of the Colosseum square in Rome, as one web page.
The scene
- A square tile of the city floating in the sky: paving and grass on top, a thick slab of earth and rock underneath, so it reads as a miniature cut out of the city.
- The landmarks are the heart of the scene and must be recognisable at first glance from their defining features. Build them with care and at plausible relative proportions; you may move them closer together to fit the tile.
- the Colosseum: an elliptical amphitheatre in travertine, three tiers of arches framed by half-columns and a solid fourth storey with small rectangular windows; the outer ring is broken on one side, showing the inner ring and the stepped seating; inside, the arena floor with the underground corridors partly exposed.
- the Arch of Constantine beside it: a triple triumphal arch with a taller central opening, four free-standing columns on each face and a tall attic with an inscription panel.
- a corner of the Roman Forum: broken columns and fragments of temples among umbrella pines with flat crowns and dark cypresses.
- Around them, the city at small scale: streets of dark stone cobbles with Vespas and a red open-top tourist bus going round, a souvenir cart and a small iron drinking fountain. Add people walking along the paths, trees, street lamps, benches and the small details that make a place feel lived in.
- A day-night cycle of about 60 seconds: the sun moves and the shadows follow it, the light turns warm at sunset, at night the street lamps and the windows glow, then dawn returns. Drifting clouds and a few birds.
- A stylised low-poly look, like a hand-made architectural model: soft shadows, a coherent palette, clean silhouettes.
- A small title card in a corner with the name of the place and the city.
- The camera looks down on the tile from an isometric angle. At the default zoom the whole tile, its rock underside included, fits in the window with sky around it.
Interaction
- Dragging rotates the view around the tile; on release it snaps to the nearest 90 degree view. Two buttons rotate by 90 degrees left and right, one button pauses the day-night cycle. The mouse wheel zooms within limits.
- The page fills the window and starts animating by itself, with no click.
Technical rules
- Use Three.js r186, which is already in ./lib (do not modify it). Load it with exactly this import map:
<script type="importmap">{"imports":{"three":"./lib/three.module.js","three/addons/":"./lib/addons/"}}</script>
then import * as THREE from 'three' and, only if you need them, addons such as 'three/addons/utils/BufferGeometryUtils.js'.
- Everything you write goes in index.html, in the current folder: HTML, CSS and JavaScript inline. No other files, no external images, models or fonts, no network requests. Build every shape from Three.js geometry (boxes, cylinders, lathes, extrusions, instanced meshes); procedural canvas textures are allowed.
- Support a URL parameter ?time= from 0 to 1 that sets the starting time of day (0 is midnight, 0.5 is noon).
- When the scene is built, set window.__diorama = { scene, camera, renderer }.
- It must run smoothly on a laptop: reuse geometries and materials, and use InstancedMesh for repeated objects such as trees, people, lamps and windows.
How to work
- Put a first complete version on disk early, then improve it in steps. After every substantial change, run `pagecheck` in the terminal (no arguments: it checks ./index.html). It opens the page in a headless browser at noon and at night and reports errors, whether the picture is blank, too dark or overexposed, whether it moves, and how many objects and triangles the scene has.
- Fix whatever pagecheck reports before adding detail. Once the page works, edit it: do not rewrite it from scratch.
- You are done when pagecheck passes and every landmark has its defining features. Decide everything yourself and do not ask me anything.
Second step. Each agent of the second step started from the page of the first step and received this prompt, word for word:
index.html in the current folder is your 3D isometric diorama of the Colosseum square in Rome. Change one thing: the Colosseum must look as it did in Roman times, intact.
- Its outer ring is complete all the way round: the same three tiers of arches framed by half-columns and the solid fourth storey with small rectangular windows, uniform on every side.
- No broken, collapsed or missing section anywhere, and no exposed inner ring from the outside.
- Keep everything else of the page as it is: the other landmarks, the city, the people, the day-night cycle, the interaction, the title card, ./lib and the import map.
Edit the file, do not rewrite it from scratch. Run `pagecheck` in the terminal (no arguments) after the change. You are done when pagecheck passes and the outer ring of the Colosseum is complete and uniform all around. Decide everything yourself and do not ask me anything.
The model is thinkingmachines/TML-d24-varloop-research, where LOOP_COUNT is the number of passes through its looped middle layers (loop_num_passes in the model config). I ran LOOP_COUNT = 1 to 5 and, for comparison, the official thinkingmachines/Inkling-2-Mini, which makes 3 fixed passes. On 24 November 2026 I served them with vLLM in tensor parallel on two RTX 5070 Ti, one server and one pi coding agent at a time. pi edits files and runs commands on its own until it decides it is done.
Each server gave its agent the longest context its key-value (KV) cache could hold. The context shrinks as LOOP_COUNT grows: 736,128 tokens at LOOP_COUNT = 1, 162,688 at LOOP_COUNT = 5. For Inkling 2 Mini it was 301,056 tokens.
Each agent ran in its own container, started and watched by a script. To test its work it could run pagecheck, which opens the page in headless Chromium with software WebGL, at noon and at midnight. It reports JavaScript errors, pictures that are blank, too dark or overexposed, whether the scene moves, whether lights come on at night, and whether dragging and the mouse wheel work.
pi stops when the model answers without calling a tool. If an agent stopped before a passing pagecheck, the harness reopened the same session with a fixed message asking it to continue, up to 6 times. Each agent had 90 minutes in the first step and 45 in the second, restarts included.
The time each agent took, from its start to the end of the final pagecheck that the harness ran on its page:
| Built in (first step) | Colosseum made intact in (second step) | |
|---|---|---|
| LOOP_COUNT = 1 | 11 min 39 s | 3 min 26 s |
| LOOP_COUNT = 2 | 12 min 44 s | 3 min 33 s |
| LOOP_COUNT = 3 | 31 min 20 s | 2 min 57 s |
| LOOP_COUNT = 4 | 27 min 53 s | 2 min 36 s |
| LOOP_COUNT = 5 | 28 min 4 s | 7 min 20 s |
| Inkling 2 Mini | 33 min 49 s | 5 min 44 s |
Generation speed of each agent in the first step, in tokens per second (tok/s), averaged over the whole context the agent went through:
| First step, tok/s | Context, first step | |
|---|---|---|
| LOOP_COUNT = 1 | 179.8 | 2,937 to 146,419 |
| LOOP_COUNT = 2 | 129.6 | 2,975 to 120,417 |
| LOOP_COUNT = 3 | 103.7 | 2,937 to 152,631 |
| LOOP_COUNT = 4 | 91.4 | 2,929 to 115,599 |
| LOOP_COUNT = 5 | 81.3 | 2,937 to 93,783 |
| Inkling 2 Mini | 110.4 | 2,937 to 189,111 |
The 6 pages
-
LOOP_COUNT = 1
Built in 11 min 39 s, with 7 pagecheck runs and 0 restarts
Colosseum made intact in 3 min 26 s, with 1 pagecheck run and 1 restart -
LOOP_COUNT = 2
Built in 12 min 44 s, with 4 pagecheck runs and 0 restarts
Colosseum made intact in 3 min 33 s, with 3 pagecheck runs and 1 restart -
LOOP_COUNT = 3
Built in 31 min 20 s, with 27 pagecheck runs and 3 restarts
Colosseum made intact in 2 min 57 s, with 1 pagecheck run and 1 restart -
LOOP_COUNT = 4
Built in 27 min 53 s, with 11 pagecheck runs and 5 restarts
Colosseum made intact in 2 min 36 s, with 1 pagecheck run and 0 restarts -
LOOP_COUNT = 5
Built in 28 min 4 s, with 1 pagecheck run and 1 restart
Colosseum made intact in 7 min 20 s, with 7 pagecheck runs and 6 restarts -
Inkling 2 Mini
Built in 33 min 49 s, with 10 pagecheck runs and 0 restarts
Colosseum made intact in 5 min 44 s, with 2 pagecheck runs and 0 restarts