Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

3D Vehicle Worlds

Explore interactive 3D vehicle worlds in your browser, with varied terrain, camera controls and driving effects. Choose a playable example to begin.

Przykłady · 2

Gunship Flight interactive demo
Otwórz w nowej karcie

Działa w odizolowanej ramce bez dostępu do tej strony.

Uruchom online

Uruchom w sandboxie SandBase i zobacz wyniki w Lab.

Otwórz w Lab ↗

Co otrzymasz

Bring a vehicle, the worlds to explore and optionally cameras and weapons. The Skill returns a downloadable Skill (meta prompt, lessons, verification) and playable vehicle examples.

Jak to działa

  1. 01

    Fill the vehicle slots

    Gunship Flight needs the vehicle and biomes slots; cameraModes, weapons, hud, interaction and extraPrompt are optional, each up to 2000 characters. node scripts/fill-prompt.mjs --slots slots.json --lang en --out prompt.md renders the meta prompt, and assets/prompts/examples/four-biomes.json is the example's slots file. Give the prompt and any reference images to your coding agent, which does the work locally.

  2. 02

    Fly the reference gunship

    node scripts/new-project.mjs --out my-flight and npm ci give a three.js app with a lofted hull, four biome presets, flight phases, autopilot, four cameras, guns, rockets, HUD and synthesized sound. Press L to launch from the desert pad, C to switch orbit, chase, cockpit and cinema views, F to fire, R for rockets and 1 to 4 for the snow forest, cloud sea and red canyon.

  3. 03

    Shoot biomes and cameras

    npm run build:single writes dist-single/index.html, and npm run shoot -- --file dist-single/index.html compares biome and camera screenshots with the reference. It needs Node 22.4 or newer and local Chrome; record also needs ffmpeg. The example fired 2 rockets, logged 21 ground impacts, and its two most similar biome shots still differed by 54.6 on a 0 to 255 scale.

FAQ

Is Gunship Flight a flight simulator?

No. Gunship Flight is arcade flight: a pursuit autopilot follows each biome's loop with a simple steering override in chase view. It has no aerodynamic model, no collision with props and no damage. Weapons hit the terrain height function, not individual props.

Can Gunship Flight fly another aircraft?

Yes. Gunship Flight builds the hull from cross-section stations in src/aircraft/gunship.ts for fuselage, canopy, nacelles, wings and fins, with paint in src/aircraft/skin.ts. Keep the turret, pods and eye points in step in src/state/sim.ts, because the simulation uses them.

How do I add a world to Gunship Flight?

Add a preset and height function in src/biomes/defs.ts, its meshes in src/biomes/build.ts, its id in src/config.ts and its names in src/i18n/strings.json. Gunship Flight's shoot step then expects the new world to differ from every other world. Terrain is a finite grid around the loop, with fog and sky beyond it.

Does Gunship Flight need an API key?

No. Gunship Flight calls no model or network service, so building and flying it is not billed. npm ci downloads the pinned packages from the public npm registry. The finished file runs with no network access and no storage.

Does Gunship Flight run on phones?

Phones get Gunship Flight's low tier automatically, with coarser terrain, a thinner forest, fewer particles, no bloom and smaller shadows, plus on-screen buttons. It is verified under headless touch emulation only, not on devices. Because the headless capture is silent, someone must listen to the sound by hand.

Umiejętność Lab · Interactive scenes

Resin Diorama

Live 3D resin-block dioramas in your browser: send a little tram across a clear turquoise sea, or ripple the bay of a cliff island. Synthesized sound, and every scene can be tuned.

Umiejętność Lab · Interactive scenes

3D Firefly Terrariums

Turn a thick glass miniature, scatter glowing fireflies and open its brass lid. Actual particles leave through the neck and return before it seals. A moonlit cabin, forest and real local lights in one offline HTML.

Umiejętność Lab · Interactive scenes

Jelly Candy: Fruit Bears

Six translucent fruit gummies on a white table. Grab any part and pull, lift a head until the neck stretches thin, press one flat until it springs back, flick one across the pile or pour in more. Fixed-step soft-body physics and a marching-cubes skin in one offline HTML.

Umiejętność Lab · Interactive scenes

WebGPU Soft-Body Gummy Bears

Four translucent gummy bears on an ivory floor, rendered with native WebGPU. A deterministic 36-second choreography stretches, presses, flips and tumbles them before they settle back to the exact rest pose. Drag any bear to stretch, squish or toss it. A fixed-step tetrahedral XPBD solver in one offline HTML.

Umiejętność Lab · Interactive scenes

Stone Stars: 3D Miniature Landmark City

Turn a city into a storybook 3D island around one landmark, with chapters, a daylight-to-starlight slider, street life and a matching scored 24-second film. Sample: a Gaudí-style basilica.

Umiejętność Lab · Interactive scenes

3D Architecture Night-to-Day Explorer

Turn any architectural site into a detailed 3D scene with a night-to-day light slider and a matching 20-second film. Sample: the Temple of Heaven.