gemini-bball

Hi this is the code from this viral demo.

Screenshot 2025-07-02 at 1 31 28 PM

Please read ball.json. That's where the magic is. ball.py is mostly just an OpenCV visualizer.

To make this a real time product you'll need to:

  1. Smartly send frames to Gemini (Gemini Video can only handle 1 FPS)
  2. Use Gemini API to return content.
  3. Render it.

This would make a killer iOS app.

Good luck.