Guide · ready-to-copy prompts
From a photo of your desk to a mini-game.
A practical guide to try it with Gemini 4 Argon: photo, starter prompt, five checks and improvements one at a time. Start in 2D.

Turn a photo of your desk into a browser racing mini-game with Gemini 4 Argon. Google published a similar demo (Argon in Antigravity, Blender MCP, Nano Banana and Three.js); this guide starts with a simpler 2D version you can check. It doesn't replicate the demo or promise the same result, and the prompts are suggestions to try.
11. Prepare the photo
- A photo of your own desk, from above or at an angle, well lit.
- 3 or 4 recognizable objects (mug, notebook, keyboard, plant) and visible table between them: that will be the track.
- Remove documents, screens or labels with information you don't want to share.
22. Prepare the environment
Open an empty project in Antigravity, choose Gemini 4 Argon if your account has it and attach the photo. Ask for HTML, CSS and JavaScript with Canvas 2D and no dependencies; that way you check it before adding Blender or other tools. If you don't have that model, look at the official sources at the end.
33. Starter prompt
Use the attached photo of my desk as a reference to create a top-down racing mini-game that plays in the browser.
First identify the objects you can actually see. If something can't be made out, say so instead of making it up. Then build a stylized 2D version with Canvas, HTML, CSS and JavaScript.
Deliver: index.html, styles.css and game.js. No libraries, paid services or external assets.
Requirements:
- Roughly keep the layout of the objects.
- A closed track that goes around them without crossing them.
- A car controlled with the arrow keys or WASD.
- Collisions with objects and edges.
- Finish line, lap counter and timer; a lap only counts after passing the checkpoints.
- Restart and pause buttons; visible instructions.
Make it work first; improve the look afterwards. Test movement, collisions, laps and restart if you can, and tell me what you verified and what you didn't. Don't publish or deploy. Explain how to test it locally.44. Check it
- The car responds to the keys and can be paused.
- Hitting a mug or the edge doesn't let you go through.
- Crossing the finish line backwards several times doesn't add fake laps.
- You can complete a lap without getting stuck.
- Restart brings the car, laps and timer back to the start.
If something fails, describe the action and what you saw:
Crossing the finish line backwards adds a lap. Fix only the validation: require the checkpoints in order and the right direction. Keep the design and controls. Run the test again and tell me the result.55. Improve one thing at a time
The plant and the mug swapped places compared to my photo. Move their positions closer to the reference and adapt the track without blocking the route. Keep the mechanics that already work.Propose how to take this game to Three.js. Separate what can be modeled with simple geometry from what would need Blender, images or extra connections. Present the plan and requirements first; don't install or connect anything yet.What you'll get: a local 2D prototype with editable files. A 3D scene with physics, textures and audio like the demo needs more tools.
Sources: Google's demo and tools · Desk Racer in AI Studio (may ask you to sign in) · official Gemini 4 Argon page
Free community
Join the community.
Create your free account: it takes less than a minute and no card is required.
Your free account also gives you
- Downloads on every resource. The files of every guide, today's and the ones still to come, without asking again.
- Free courses. Learn step by step with video lessons and track your progress.
- Spanish-speaking community. Ask, share what you build and get answers from others who use AI like you.
- Live events. We let you know before each one so you don't miss it.
- Member card, points and ranking. Earn points for joining in and learning, and climb the ranking.
Already have an account? Log in
Andrés Gómez
Practical AI to create content, photos and brand. @andresgomez.ia
Keep going with

