I built a 3D rocket launch simulator that runs in the browser using GPT-6 Astra, from one long prompt and one follow-up. The first run took about 23 minutes. The result is a single HTML file with staging, smoke, audio, quality settings, and camera controls that let you zoom and rotate around the rocket like a video game. In this tutorial I’ll show you exactly how I built it so you can try it yourself.
Prefer to watch? See the full walkthrough on YouTube. I build the whole thing on screen.
Want the written version? Read the free AI Automation Station guide: AI Rocket Demo: Three.js Scene and Camera Controls.
What you’re building
The simulator is a single index.html file built with three.js, the popular JavaScript 3D library. Everything, including the scene, the physics-style animation and the controls, lives in that one file. You open it in a browser, and it runs.
Here’s what my version ended up with:
- A Falcon-style booster lifting off with smoke and engine effects, plus stage separation.
- Restart, pause (space bar) and 2x speed controls.
- Audio, a graphics quality setting from low to high, and an engine illumination toggle.
- A frames-per-second counter, a debug mode and an option to hide the overlay.
- Mouse-wheel zoom and click-and-drag orbit controls, added with a follow-up prompt.
You don’t need to read the code. I couldn’t make much sense of the generated three.js either, and that’s fine for a demo like this.
What you need
- Access to GPT-6 Astra. I used it in the Codex terminal on a ChatGPT Pro plan. Usage limits depend on your plan.
- An empty project folder.
- A modern browser. A local server helps, but you can often open the file directly.
Continue reading: The full step-by-step guide, templates, and checklists below are for Full Articles members ($5/month or $60/year, cancel anytime). Everyone can read the free preview above.
Subscribe to continue reading
Become a paid subscriber to get access to the rest of this post and other exclusive content.