Traffic waves—those infuriating “phantom” jams where traffic stops for no apparent reason—are a fascinating study in emergent behavior. Recently, I set out to build an interactive simulation of this phenomenon. Rather than writing it entirely from scratch, I decided to test a multi-AI collaborative workflow: using Gemini (plus) and Claude (free) together, playing to their respective strengths across extraction, fast prototyping, and code refinement.
Here is how the project evolved from a single YouTube video into a fully functional simulation, along with the prompts, iterations, and lessons learned along the way.