Skip navigation
We asked Gemini 4 Argon to make a realistic 3D scene in pure Python with zero external libraries.
0:00 / 0:37

We asked Gemini 4 Argon to make a realistic 3D scene in pure Python with zero external libraries.

Google

32M followers

Visit on X
1,346 likesDownloadOriginal post

181,914 views

We asked Gemini 4 Argon to make a realistic 3D scene in pure Python with zero external libraries. It wrote 5,000+ lines of code and built its own 3D ray-tracing engine, custom video tool, and audio mixer to render and document this sunlit library from scratch — producing, narrating, and assembling this video with Gemini 3.8 TTS and music by Lyria 3.5.

29 Comments

Comments from the original post on X (Twitter)

  • Google's profile picture

    @Google

    View the source code →

    22 likes

  • Pranav Kakde's profile picture

    @im_pranavkakde

    @antigravity The impressive part isn’t just the 5,000 lines of code. It’s that Gemini built the entire rendering pipeline from scratch. AI is moving beyond writing code to engineering complete systems.

    3 likes

  • Synapse keyboard's profile picture

    @Albatrozshadow

    @antigravity Not only did it take forever to arrive, but it's not even available for Plus and Pro users. We want this for Plus and Pro users too!

    2 likes

  • Michael Kaiser's profile picture

    @MichaelKaiserAI

    @antigravity 5,000 lines of pure Python, thats crazy

    1 like

  • Irienꫂ❁'s profile picture

    @Texh_irien

    @antigravity the impressive part is building the whole pipeline from scratch!!!

    1 like

  • CC's profile picture

    @CcVylree

    @antigravity pure python with no numpy has to be hours per frame from interpreter overhead alone. did it actually write an mp4 encoder from scratch too, or how did it get video out without ffmpeg?

    1 like

  • Anderson's profile picture

    @ItsGoharr

    @antigravity pure python 3d scenes is one way to avoid the backlog

    1 like

  • Nazeem Ahmed's profile picture

    @zandemha

    @antigravity the underrated part is the demo choice. nobody can verify a benchmark, but anyone can look at a sunlit library and judge it in 2 seconds play for anyone launching an AI feature: lead with one output a stranger can judge at a glance, put the eval table SECOND

    1 like

  • The Lunar Misfit's profile picture

    @ExiledonMoon

    @antigravity Asked for toast. It built a toaster factory. The toast is admittedly quite good.

    1 like

  • 张思考者's profile picture

    @zhangyjthink

    @antigravity Writing a ray tracer from zero dependencies is pure engineering craftsmanship. Software is moving from importing libraries to forging its own tools.

  • E.T. Loves The Alphabet's profile picture

    @googleguy11

    @antigravity 🤯⚡️

  • Toolglade's profile picture

    @Toolglade

    @antigravity Building a custom ray-tracing engine, video tool, and audio mixer from scratch in pure Python with zero external libraries is mind-blowing. The level of complexity achieved here is next-level!

  • İsmail Kestel's profile picture

    @ismailkestel

    @antigravity impressive demo, but how many months of user quota were burned to render this? meanwhile, normal users lose 10% of their limit just asking for a text outline

  • Benjamin's profile picture

    @ben0nii

    @antigravity Tell a developer 'no libraries' and they update their résumé. Tell Gemini and it builds a ray tracer.

  • John Zhong | AI & User Growth's profile picture

    @John_zhong324

    @antigravity Okay, now give it a completely different scene and see how much of that engine it can reuse. That's the follow-up I'd love to see.

  • Gustavo Jesús 🪁's profile picture

    @JPuurnomoa

    @antigravity Building its own ray tracing engine with zero libraries is genuinely wild work

  • Jerome's profile picture

    @jeromeq2004

    @antigravity building its own video tool with zero libraries probably means hand-writing the encoder too. how many attempts before the first frame came out clean?

  • Tai Carol's profile picture

    @tainacarolinatz

    @antigravity Amazing

  • 煎饼狗子's profile picture

    @shuaige2001

    @antigravity Building a custom ray tracer just to avoid pip install is both insane and deeply relatable.

  • skinnyguinea's profile picture

    @_skinnyguinea

    @antigravity argon also wrote the voiceover and lyria soundtrack for that library video in the same run