Gemini 2.0 Image -> Code

Using AI to turn images -> p5.js creative code with Gemini

LocationGoogle
Year2025
Tags
AI
React

At Google Creative Lab, I built an experiment that turns photos into interactive p5.js sketches using Gemini 2.0 Flash. Unlike UI generators, this experiment creates code that mimics the *behavior* of what's in the image.

This was a project Google Creative Lab used internally to explore multimodal AI reasoning capabilities. Then, we decided to open source and share with the community!

image upload