Canyon Kart 3D: A 3D Kart Time Trial from a Brief
- Lab Skill
- v0.2.1
- Game creation
Describe a driver, a vehicle and a course, and your Agent builds a 3D kart time trial in one offline HTML file. In the main example, a raccoon postal courier races an elevated canyon lap through nine ordered gates, drifts to charge a boost, jumps a broken bridge and picks the scenic road or a narrow express bridge while chasing a 52-second pace ghost. The kart, a sandstone tunnel, the music and the ambience are generated through SandBase; the track and handling are code.
Examples · 2

Runs in a sandboxed frame with no access to this page.
Run online
Run in a SandBase sandbox and view your results in Lab.
Open in Lab ↗What you get
Bring a driver, a vehicle, a course and a mood; the Agent writes the track, gates, sectors, shortcut and medal times. The Skill returns a downloadable Skill (the game project, a greybox prototype mode, a cost-reserving SandBase model-job helper, an offline build and a scripted play-through) and two playable examples with their prepared media.
How it works
- 01
Describe the driver and the course
Tell your Agent who drives, what they drive, where the course runs and the mood, for example: a hedgehog baker in a teacup kart racing a frosted mountain loop at dawn, with brass-band music. On your machine with Node 22.14.0 and npm, the Agent runs node scripts/new-project.mjs my-game and npm ci, then edits src/project.json: hills, ramps, gaps and a tunnel on the elevated oval, nine ordered gates, three sectors, the shortcut, the pace ghost and the medal times.
- 02
Drive a greybox lap, then generate assets
Empty src/assets.json to { "assets": [] }, run ALLOW_PLACEHOLDERS=1 npm run build and PORT=8782 npm run serve, then tune steering, braking, chase camera and ridge jump until route markers, road edges and next-gate label match the drivable path. The Agent inspects current SandBase text-to-3D schemas and prices and generates the kart, its driver and a landmark; audio models add music and motion ambience. scripts/model-job.mjs reserves each job’s maximum against your total cap, keeps run IDs and stops on ambiguous submissions.
- 03
Race the build and compare medals
npm run build packs three.js, textures and geometry into dist/index.html with connect-src set to none. npm run shoot then drives throttle, steering, braking, a drift, a boost, a deliberate fall, retry, restart and a full lap with all three sector splits, using the express bridge. Afterwards race one lap yourself and confirm the result screen gives a different medal when you finish ahead of or behind the 52-second ghost.
FAQ
How are medals awarded in Canyon Kart 3D?
Canyon Kart 3D awards Canyon Post Rally medals by finishing time: gold for 39.5 seconds or faster, silver for beating the 52-second pace ghost, and bronze for any complete lap inside the 110-second limit. All nine gates have to be passed in order. Running out of time or falling off the road ends the race without a medal, and a new course sets its own thresholds in project data.
Is the drift in Canyon Kart 3D a tyre simulation?
No, Canyon Kart 3D uses a small arcade vehicle model, not tyre or suspension physics. A drift starts when you hold Shift while turning on the ground above a minimum speed, and it fills the boost meter that E later empties. The wheels roll and the body tilts procedurally, because the generated kart is a single rigid model without rigging.
Which SandBase models build the Canyon Kart 3D course art?
Canyon Kart 3D generates two models through a SandBase text-to-3D model, the kart with its driver and a scenery landmark, plus background music and a motion ambience from SandBase audio models. The road, rock pillars, gates and ghost are drawn in code. Usage is billed to your SandBase account, and scripts/model-job.mjs holds a worst-case reservation for every job inside the total cap before submitting it.
Can Canyon Kart 3D make a figure-eight or a city circuit?
Not out of the box: Canyon Kart 3D ships one course generator, an editable elevated oval with adjustable hills, ramps, gaps and tunnels. Another track shape means the Agent must extend the track point function, the nearest-surface queries and the road renderer together, then test the new layout. There are no rival karts; the ghost is a pace reference that never collides.
Does Canyon Kart 3D have a Chinese interface?
Yes, Canyon Kart 3D shows its interface in English and Simplified Chinese, with a language button in the corner that switches between them. Both examples carry their own title, tagline and intro in each language. The main example is one offline file of about 4.8 MiB that needs WebGL 2 and makes no request during a race.
Can I race Canyon Kart 3D on a phone?
Yes, Canyon Kart 3D places a Gas button and left and right arrows on touch screens, with separate Drift, Boost and Brake buttons. The npm run shoot play-through presses Gas and steers by touch, and the Skill asks the Agent to check the controls at 390×844. Music and effects switch independently and begin once you press Start.
Why choose Canyon Kart 3D over prompting an Agent to code a racing game?
Canyon Kart 3D gives the Agent a tested track generator, arcade handling, gate ordering, sector splits, drift and boost, a shortcut bridge, a pace ghost and touch controls. The Agent writes the course and theme instead of rebuilding race logic, and a steering controller that only sends player inputs shows on every build that a full lap can be finished.
More Skills
All Game creation Skills →
Seagull Swoop
Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Wedding Cake Wobble
Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Hermit Tide
Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Clover Circuit: Estate Cut
Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Glide Gates: Lagoon Run
Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

3D Interactive Garden Islands
Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.
