{
  "title": "Claude Code ray-traces the spinning black hole at the center of our galaxy in raw WebGL2 and checks its shadow against the textbook answer",
  "description": "Gabriele Bolognese gave Claude Code (Opus 5.5 at xhigh effort) a physics brief: a spinning Kerr black hole with the mass and distance of Sagittarius A*, every pixel an exact light path traced backward from the camera on the GPU, a thin accretion disk with a flaring hot spot and a virtual Event Horizon Telescope watching through the night. With no libraries (raw WebGL2, canvas 2D and 7 Web Workers) it worked alone for 179 minutes over 262 turns, wrote 4,316 lines and cost $113.94 at API prices. The rendered shadow came out at 51.167 microarcseconds, 0.000196% off Bardeen's analytic curve. The hard part was 32-bit floats: rays bounced off nothing until it re-projected the radial velocity, and it cut the planned 40,960 rays per frame to about 8,192 to fit his laptop's integrated GPU.",
  "category": {
    "name": "Research & Learning",
    "url": "https://agent-uses.com/categories/research-and-learning/"
  },
  "agents": [
    {
      "name": "Claude Code",
      "url": "https://agent-uses.com/agents/claude-code/"
    }
  ],
  "niche": true,
  "added": "2026-11-24",
  "updated": "2026-11-24",
  "url": "https://agent-uses.com/use-cases/claude-code-ray-traces-the-spinning-black-hole-at-the-center-of-our-galaxy-in-raw-webgl2-and-checks-its-shadow-against-the-textbook-answer/",
  "markdown": "https://agent-uses.com/use-cases/claude-code-ray-traces-the-spinning-black-hole-at-the-center-of-our-galaxy-in-raw-webgl2-and-checks-its-shadow-against-the-textbook-answer.md",
  "image": "https://agent-uses.com/og/claude-code-ray-traces-the-spinning-black-hole-at-the-center-of-our-galaxy-in-raw-webgl2-and-checks-its-shadow-against-the-textbook-answer.png",
  "source": {
    "url": "https://x.com/bologabriele/status/2124080596049613283",
    "name": "Gabriele Bolognese (@bologabriele) on X",
    "type": "x",
    "typeLabel": "Posts on X",
    "author": {
      "name": "Gabriele Bolognese",
      "handle": "@bologabriele",
      "url": "https://x.com/bologabriele",
      "type": "Person"
    }
  },
  "citation": "AI Agent Use Cases. (2026). Claude Code ray-traces the spinning black hole at the center of our galaxy in raw WebGL2 and checks its shadow against the textbook answer. Retrieved from https://agent-uses.com/use-cases/claude-code-ray-traces-the-spinning-black-hole-at-the-center-of-our-galaxy-in-raw-webgl2-and-checks-its-shadow-against-the-textbook-answer/ (original source: https://x.com/bologabriele/status/2124080596049613283)",
  "related": [
    {
      "title": "Amateur hunts exoplanets in NASA TESS data",
      "url": "https://agent-uses.com/use-cases/amateur-hunts-exoplanets-in-nasa-tess-data/",
      "json": "https://agent-uses.com/use-cases/amateur-hunts-exoplanets-in-nasa-tess-data.json"
    },
    {
      "title": "A skill that turns Claude Code or Codex into a careful genealogist for former Soviet archives",
      "url": "https://agent-uses.com/use-cases/a-skill-that-turns-claude-code-or-codex-into-a-careful-genealogist-for-former-soviet-archives/",
      "json": "https://agent-uses.com/use-cases/a-skill-that-turns-claude-code-or-codex-into-a-careful-genealogist-for-former-soviet-archives.json"
    },
    {
      "title": "A 3D open-pit mine blast built with Claude Code to train crews before they stand on a real bench",
      "url": "https://agent-uses.com/use-cases/a-3d-open-pit-mine-blast-built-with-claude-code-to-train-crews-before-they-stand-on-a-real-bench/",
      "json": "https://agent-uses.com/use-cases/a-3d-open-pit-mine-blast-built-with-claude-code-to-train-crews-before-they-stand-on-a-real-bench.json"
    },
    {
      "title": "An engineer uses Claude Code to write Christian arguments from Scripture as Lean 4 proofs that a machine checks premise by premise",
      "url": "https://agent-uses.com/use-cases/an-engineer-uses-claude-code-to-write-christian-arguments-from-scripture-as-lean-4-proofs-that-a-machine-checks-premise-by-premise/",
      "json": "https://agent-uses.com/use-cases/an-engineer-uses-claude-code-to-write-christian-arguments-from-scripture-as-lean-4-proofs-that-a-machine-checks-premise-by-premise.json"
    },
    {
      "title": "A Codex agent writes a daily Torah study brief, source sheet and lesson plan and publishes it",
      "url": "https://agent-uses.com/use-cases/a-codex-agent-writes-a-daily-torah-study-brief-source-sheet-and-lesson-plan-and-publishes/",
      "json": "https://agent-uses.com/use-cases/a-codex-agent-writes-a-daily-torah-study-brief-source-sheet-and-lesson-plan-and-publishes.json"
    },
    {
      "title": "Explain Snell's law to kids with an archerfish game",
      "url": "https://agent-uses.com/use-cases/explain-snell-s-law-to-kids-with-an-archerfish-game/",
      "json": "https://agent-uses.com/use-cases/explain-snell-s-law-to-kids-with-an-archerfish-game.json"
    }
  ],
  "dataset": "https://agent-uses.com/use-cases.json"
}
