# Building with Gemini in Google Antigravity

## Executive summary

The video demonstrates the advanced capabilities of Gemini models within Google Antigravity, showcasing how complex, multi-modal, and highly functional applications can be built directly from prompts. Key demonstrations include generating animated content in the browser using only JavaScript, creating a 3D ray tracing engine with zero external libraries, and autonomously modernizing legacy codebases (e.g., FORTRAN to Rust).

## Key takeaways

- Code-Generated Animation Studio: A personal animation studio was coded to work entirely in the browser using JavaScript, demonstrating control over dynamic camera movements, bespoke art styles, and musical scores, all without external libraries.
- Multimodal Content Generation: A complex video was produced using 5000 lines of generated Python code, featuring a 3D ray tracing engine, a custom video tool, and an audio mixer. This utilized Gemini 3.8 for text-to-speech and Lyria 3.5 for music.
- Legacy Code Modernization: Antigravity was used to autonomously map and rebuild scientific code trapped in 1980s FORTRAN into modern, memory-safe Rust, resulting in a two-fold speed increase.

## Technical details

- AI Model Integration: Utilizes Gemini 3.8 for text-to-speech narration and Lyria 3.5 for musical scoring, enabling multimodal content assembly.
- Code Generation & Languages: Demonstrates code generation across multiple languages: JavaScript (for browser animation), Python (for 3D ray tracing/video tools), and Rust (for modernizing FORTRAN).
- Architecture & Tools: The system can generate complex tools, such as a 3D ray tracing engine and a custom video/audio mixer, with minimal external dependencies.

## Practical implications

- Accelerates the prototyping phase by allowing complex architectures to be shipped directly from prompts.
- Provides a solution for managing and modernizing legacy codebases (e.g., FORTRAN) into modern, performant languages like Rust.
- Enables the creation of sophisticated, multi-modal content (video, audio, animation) without manual resource assembly.

## Topics

Generative AI, Code Generation, Web Development, Software Architecture, Code Modernization, Multimodal AI, Google Antigravity, Try out Google Antigravity, Google for Developers

Source: https://www.youtube.com/watch?v=vLAegkGGWrM
