Building a Lissajous Animation Using Gemini 2.5 Pro - Episode 29

Building a Lissajous Animation Using Gemini 2.5 Pro

Episode 29
Featuring: Jason Hand, Ryan MacLean

Google's Gemini 2.5 Pro just turned Jason into a mathematical visualization wizard in under 30 seconds. Watch him conjure up a fully interactive Lissajous figure animation—complete with adjustable parameters and hypnotic patterns—using nothing but conversational prompts. Ryan shares his experience wrestling with the model's million-token context window on large projects, discovering that this AI doesn't just remember everything you've done—it actually gets better at helping you as sessions progress. It's like having a coding partner with perfect memory and a PhD in applied mathematics who never gets tired of your experimental ideas.

In this episode, Jason Hand and Ryan MacLean delve into the capabilities of Gemini 2.5 Pro, a state-of-the-art AI model released by Google. The discussion begins with an overview of their personal experiences experimenting with the model, highlighting its impressive features such as a million token context window and effective context caching which significantly aids in handling large projects like the AI Tools Lab site. Ryan shares his prior engagement with the model’s coding functionalities, appreciating its capacity to manage broader scopes without issues unlike previous models. The conversation takes a hands-on turn as Jason demonstrates creating an animated Lissajous Figure using Gemini 2.5 Pro by generating HTML, JavaScript, and CSS code that enables user-interaction through adjustable variables. This practical application not only showcases the model’s computational speed—producing sophisticated outputs in seconds—but also illustrates its potential as an educational tool blending math, science, and programming. As they wrap up, both express enthusiasm about future explorations into similar mathematical visualizations using Gemini 2.5 Pro.

Jump To

Key Takeaways

  • Gemini 2.5 Pro features a million token context window, enabling better handling of large projects without context loss.
  • The model demonstrates improved context caching, maintaining coherence across extended interactions and development sessions.
  • Real-time code generation capabilities are showcased through interactive mathematical visualizations created in under 30 seconds.
  • The model excels at understanding and implementing complex mathematical concepts like Lissajous figures with proper physics.
  • Integration potential with educational tools is highlighted through interactive demos that blend math, science, and programming.
  • Free research preview access makes advanced AI capabilities accessible for experimentation and learning.

Resources

Gemini 2.5 Pro

Google's latest AI model with enhanced capabilities and million token context window

Lissajous Figures

Mathematical background on the visualization patterns demonstrated in the episode

Google AI Studio

Web interface for accessing and experimenting with Gemini models