AI Income LabJoin AI Income Lab ↗

GPT-6 Astra test: Three.js rocket launch simulator

Jump to video chapters

Watch on YouTube ↗ Subscribe on YouTube ↗

By · · 6:44 · 668 views

Written guide: AI Rocket Demo: Three.js Scene and Camera Controls

Build a single-file Three.js rocket launch simulator in GPT-6 Astra on medium mode from one 10,000-character prompt taken from Bridgebench. The first build takes about 23 minutes and runs with audio and quality settings. A follow-up prompt adds mouse zoom and rotation. Mike says it looks decent but not very realistic, and wants clouds.

Video summary

Build a rocket launch simulator with GPT-6 Astra + Three.js (BridgeBench prompt): medium mode, single-file scene, audio/graphics, then add mouse zoom/rotate. GPT-6 Astra coding demo from prompt to interactive launch.

GPT-6 Astra tutorial — vibe-code a 3D rocket launcher and ship camera controls in one session.

The video covers 10 parts: Intro to the Rocket Launch Simulator built with GPT-6 Astra, The Three.js rocket launcher prompt from Bridgebench, Copying and pasting the prompt into Astro Demos, Using medium mode in GPT-6 Astra to balance speed and reasoning, Completion of the single file scene after 23 minutes, Exploring the audio and graphics quality settings, Reviewing the generated 3.js code in the index.html file, Prompting Astra to add zoom and rotate controls using the mouse, Testing the newly added click, drag, and zoom features, and Conclusion and Skool community.

What this video covers

What you build

A single index.html rocket launch scene in Three.js with a booster liftoff, staging, audio, a frame rate readout, quality and debug modes, and mouse controls added afterwards.

Tools used

Key steps

Not covered

Summary written from the video's transcript and chapters.

In this video

  1. 0:00 Intro to the Rocket Launch Simulator built with GPT-6 Astra
  2. 0:45 The Three.js rocket launcher prompt from Bridgebench
  3. 1:24 Copying and pasting the prompt into Astro Demos
  4. 1:37 Using medium mode in GPT-6 Astra to balance speed and reasoning
  5. 2:05 Completion of the single file scene after 23 minutes
  6. 2:41 Exploring the audio and graphics quality settings
  7. 2:57 Reviewing the generated 3.js code in the index.html file
  8. 3:41 Prompting Astra to add zoom and rotate controls using the mouse
  9. 5:15 Testing the newly added click, drag, and zoom features
  10. 6:10 Conclusion and Skool community

Questions and answers

Where is the prompt from?

Bridgebench, which also lists prompts for a Minecraft clone and a Mario Kart style game.

How long did GPT-6 Astra take to build the rocket simulator?

About 23 minutes for the first scene and 5 to 10 minutes for the zoom and rotate controls.

Is it realistic?

Impressive for the time but not very realistic, Mike says.

Transcript

I just built this really cool rocket launch simulator using GPT6 Astra in about 25 minutes. It's one single prompt and then I've added a few other features which allow me to pan and rotate and zoom in on the rocket as it's launching. This is a very cool and easy demo that you can make within a couple minutes inside Astro 6. I'm going to be showing you step by step how to build it in this tutorial.

So, with that being said, please go ahead, subscribe to the channel, enjoy the tutorial, and let's start building. This demo only takes about 25 minutes to build, and it's one single prompt that you will execute inside GPT6 Astra. The prompt is available over here on Bridgebench. It's the 3JS rocket launcher. They also have a few other prompts to build like a Minecraft clone, also a Mario Kart game, which could be kind of fun. But in this case, I just chose the rocket launch.

Read the rest of the transcript

It's not a very long prompt. All you'll have to do is go ahead and copy the entire prompt, which is about 10,000 characters. This ships a single HTML file where a Falcon class booster lifts off with a volutric lift and the whole thing holds 60 frames per second with a physically based sky and tonemapped color. I'm not exactly sure what all of that means, but it doesn't really matter. I'm just going to go ahead and copy the prompt. And I'm already in my Astro Demos folder.

So, we're going to paste in that prompt. I'm going to say make a new directory. And we're off to the races. So, this is using GPT6 Astra on medium mode. I would highly recommend using medium because it balances speed and reasoning depth for everyday tasks. If you're doing something even more complicated, then maybe you'd want to switch to high mode. But for most use cases, I would just use the medium mode. And we can continually check in on our usage credits over here.

I doubt this is going to use more than about 5% of my pro plan on Astro 6. 23 minutes running this prompt in chat GPT6 Astra where it now says is the single file scene is complete. The flight checks passed and 22 sampled frames rendered, controls worked and the final browser run reported no console errors. So it's now created the Meridian 9 launch index.html file which I can go ahead and preview. You can see it's already running over here.

If I want to go ahead and restart it, we can do so. And I'm just going to refresh this real quick to make sure that we have the latest finished version. And this also has audio as well. So I can turn on the audio. We can also set the quality level, graphics quality level as well from high to low mode. And this was just built inside something called 3.js. So it's a single index.html file that has all of the code inside of it.

If we wanted to go ahead and open this up, this is what the 3.js code looks like all in a single index.html file. It looks very complicated. I can't really make heads or tails out of it. But fact of the matter is I don't really have to know how to write the code. I just use Astro 6 to build the whole thing for me. And overall, it's quite impressive.

I can also zoom into different stages of the rocket launch like this where the rocket is separating from the body here. and taking off. You can see it's falling down to the ground. I do wish that there was a way to actually go ahead and zoom in and out on the rocket. So, that's something I would want to build into this particular app.

So, I'm just going to come over back over here to Astra and we're going to say add the zoom in out controls using mouse wheel. So, this shouldn't take too long to build into it. And then I can actually go ahead and zoom in and out on the rocket to see it in more detail because right now it's just a little bit too far away. And it would be nice if I could also rotate as well by using the mouse.

Uh, another cool thing is you can see the frames per second over here as it's running on my computer. I can also make this fullsize screen and you can still see the frames per second. I don't have the fastest hardware. It's just a Lenovo laptop, but overall it's pretty decent in terms of FPS. And this is running at 1920x 1080. Uh there's also a mode to go into debug mode. So I can turn this off and on.

I can also hide the overlay if I want to do that. So we can replay and then I can hide the overlay so that we've just got the rocket launch here. You can pause it with the space bar as well. And then again, you can also speed it up to 2x. I'm going to put it on to high mode. I can also turn off and on engine illumination, but again, I do want to actually be able to go ahead and zoom into the rocket.

So, we'll wait for that to finish. It shouldn't take more than about 5 to 10 minutes. And I've just recently added the zoom in feature, so we can go ahead and zoom in and out on the rocket. So now you can see I can easily click and drag and zoom in on the rocket in order to rotate up, down, left, right just like a video game. We can zoom out if you want to see the whole launch taking place.

And then if I want to zoom in here, you can see I can turn on and off engine illumination, which doesn't really do very much. But overall, I say this is quite impressive. And I would like to, you know, go ahead and add some clouds so that it looks a little more realistic. If I come right down below it, you can see the plume of smoke as it's taking off. We can zoom out.

We can zoom all the way in on the rocket as well as it's taking off for the stratosphere. So, yeah, this is pretty neat. I would maybe potentially want to make it look a little bit more realistic because it's not exactly, you know, very 3D looking, but overall quite impressive what you can build in about 25 minutes inside Astro 6.

If you guys have any questions or you want any more details about any how to build any of these things, go ahead and drop them in the comments below. And then also feel free to check out my Skool community. We've currently got 3,000 members in here. It's growing fast. It's now $29 per month. You can take a look around the classroom for all of the courses, tutorials, and resources. And as always, go ahead and introduce yourself inside the community tab. Love to see you inside Skool.

With that being said, take care, stay safe. Peace from Thailand. Signing off. We'll see you in the next one.

Not ready to join? Get the weekly build notes: new guides and tested builds in one short email.

You may also like