Building a SaaS tool or MCP server? Get listed or sponsor AgentStackList →
Gemini Coding By Carlos Mendoza

Gemini 4 Argon wrote its own 3D ray tracer in pure Python

Google asked Gemini 4 Argon for a realistic 3D scene in pure Python with zero external libraries. Google says it wrote more than 5,000 lines of code, built its own ray-tracing engine, video tool and audio mixer, and rendered and documented a sunlit library from scratch.

Why it matters

It's a vivid stress test of long, unaided coding: no libraries to lean on, just the model building every piece itself.

Who it's for

Developers, graphics hobbyists and anyone testing how far a model can code on its own.

How to try it

  1. In AI Studio, prompt: "Render a sunlit room in pure Python, standard library only. Write your own ray tracer and save a PNG."
  2. Ask it to explain each module before it writes the next one.
  3. Run the code locally and compare render time and quality across models.

Plan & availability: Gemini 4 Argon in the Gemini app, AI Studio or the API (paid API, Ultra, or AI Pro in AI Studio Build).

Source: @Google on X

Written by Carlos Mendoza from the original post. Checked Oct 17, 2026. Features, plans and availability can change, so confirm on the source before you rely on it.

argonpythongraphics

More Gemini tricks

All Gemini tricks →