Racing car physics engine in C# and WASM, rendered in Three.js

GPT-6 Astra rewrote a racing game's physics in pure C# in about a day; the clip shows a car driving a mesh track in the browser via Three.js.

Claude Code + Three.js (chỉ code)Wandy 2
Mô hình thật · 360°Cả hai đều từ cùng một ảnh: bên trái — một lần chạy Claude Code (Opus 5.5) không chỉnh sửa, dựng vật thể bằng code Three.js; bên phải — Wandy 2.

Tạo mô hình 3D chi tiết

Chỉ dùng code thì chỉ được các hình khối đơn giản. Wandy 2 biến một tấm ảnh thành mô hình 3D có texture để bạn dùng ngay trong cùng cảnh đó.

Hướng dẫn dựng từ Wandy3D

Tác giả không chia sẻ prompt, nên chúng tôi đã ghi lại cách tái tạo sản phẩm này.

Build a browser-based vehicle physics demo. Write the car physics engine in pure C# and compile it to WebAssembly as the backend, and render the result with Three.js. Load a racing track as collidable meshes: grey stylized road surfaces, banked curves, ramps, tubes, steel gantries and cranes against a harbor skyline with a blue sky. Show a small white car from a chase camera behind it. The physics must handle wheel contact, grip on different surface zones (coloured patches such as sand or boost areas should change behavior), jumps, wall collisions and recovery after landing. Drive the car with keyboard input and show smooth camera follow. Keep the visuals simple and flat-shaded so the focus stays on movement. Done means the car runs laps through the track in the browser with stable, believable handling and no falling through the geometry.

Cách dùng prompt này

  1. Give the build brief to GPT-6 Astra in your coding agent with a .NET to WebAssembly toolchain.

  2. Swap in your own track meshes and tune grip, gravity, surface types and camera follow.

  3. Drive laps, watch for clipping or odd landings, and ask the model to fix the physics step by step.

Từ Wandy3D

Cần một mô hình 3D thật trong cảnh của bạn?

Agent của bạn dựng cảnh bằng các khối cơ bản. API Wandy3D biến ảnh hoặc prompt thành tệp GLB có texture chỉ trong vài phút — trả từ số dư nạp trước, không cần đăng ký gói.

  • Wandy 20,18 US$ mỗi mô hình
  • Wandy 10,09 US$ mỗi mô hình

Số dư không bao giờ hết hạn · tác vụ lỗi được hoàn tiền · mô hình tạo qua API thuộc về bạn và tải xuống được ở mọi định dạng.

curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \  -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \  -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glb

Bài đăng gốcBạn là tác giả? Yêu cầu chúng tôi sửa hoặc gỡ trang này