Simon Willison's Experiment: Generating a Complete Three.js Game, Tree Appreciator, From One PromptBrief · digest for October 15
Brief≈ 2 min

Simon Willison's Experiment: Generating a Complete Three.js Game, Tree Appreciator, From One Prompt

How long can a neural network keep thinking about a single task without any human hints? Five minutes? Ten? Researcher Simon Willison ran an eye-opening experiment with Claude Opus 5.5 Max: the algorithm reasoned over one single prompt for 3 hours and 7 minutes straight. We've previously seen single-prompt 3D game development in Claude, yet this extended thinking session set a new autonomy record.

Willison sent a short prompt in chat:

Build a three js game called "Tree appreciator" - it shows you two algorithmically 
generated trees and the game mechanics is about appreciating the differences between 
them. Think hard about how to make sure it is both fun and beautiful.

Three hours of computation later, the model output a single monolithic tree-appreciator.html file containing a complete meditative 3D game. Inside, it packed procedural fractal tree branching in Three.js, generative ambient music via the Web Audio API, wind-swaying foliage animations, and an in-game achievement system.

Here's a key snippet from the generated branching algorithm:

// Procedural geometry calculation for fractal tree branches in Three.js
function buildBranch(parentGroup, length, radius, depth, maxDepth) {
  if (depth > maxDepth) return;
  const geo = new THREE.CylinderGeometry(radius * 0.75, radius, length, 8);
  const mat = new THREE.MeshStandardMaterial({ color: 0x5a3d28, roughness: 0.85 });
  const mesh = new THREE.Mesh(geo, mat);
  mesh.position.y = length / 2;
  const nextGroup = new THREE.Group();
  nextGroup.position.y = length;
  nextGroup.add(mesh);
  nextGroup.rotation.z = (Math.PI / 4) * (0.8 + Math.random() * 0.4);
  buildBranch(nextGroup, length * 0.75, radius * 0.7, depth + 1, maxDepth);
  parentGroup.add(nextGroup);
}

That line—'Think hard about how to make sure it is both fun and beautiful'—pushed the model to spend hours tuning gameplay balance. The experiment proves one thing clearly: the era of quick, shallow replies is giving way to deep, autonomous design of finished digital products.

Want a deep diveVotes help us choose what to break down in detail. This material has 0 votes.
Sources · 2