Single-file Three.js FPS with a desert map, AI bots and scoped rifle

Kimi K3 wrote a Counter-Strike-style browser shooter in one HTML file; the video compares it with Opus 5's version of the same game.

Claude Code + Three.js (hanya kode)Wandy 2
Model asli Β· 360Β°Keduanya dari foto yang sama: kiri β€” satu kali jalankan Claude Code (Opus 5.5) tanpa diedit, memodelkannya dengan kode Three.js; kanan β€” Wandy 2.

Buat model 3D yang detail

Kode saja hanya menghasilkan bentuk sederhana. Wandy 2 mengubah satu foto menjadi model 3D bertekstur yang bisa Anda pakai di adegan yang sama.

Panduan build dari Wandy3D

Penulis tidak membagikan prompt-nya, jadi kami menuliskan cara membuat ulang karya ini.

Build a browser first-person shooter inspired by a classic competitive bomb-defusal map, as one self-contained HTML file using Three.js with no build step. Create a sandy desert level with tan brick walls, tunnels, a raised catwalk and a long open lane, using PBR materials. Give the player a rifle, a scoped sniper rifle, a submachine gun and a knife, each with firing, reloading and weapon switching. Add around ten AI bots that patrol, react to gunfire and advance on the player's position. Include headshot detection, a kill feed, a health and ammo HUD, a scope overlay and a two-minute round timer. Generate every sound procedurally with the Web Audio API so no audio files are needed. Controls: mouse look, WASD movement, click to fire, R to reload, number keys to switch weapons. Done means the page opens locally and plays a complete round from spawn to the timer ending.

Cara memakai prompt ini

  1. Paste the build brief into Kimi K3 in your coding tool and ask for one HTML file with Three.js.

  2. Change the map theme, weapon list, bot count and round length to fit your own shooter.

  3. Open the file, play a round, then ask for fixes to bot behaviour, recoil or sound.

Dari Wandy3D

Butuh model 3D sungguhan di adegan Anda?

Agen Anda membangun dengan bentuk primitif. API Wandy3D mengubah foto atau prompt menjadi GLB bertekstur dalam beberapa menit β€” dibayar dari saldo prabayar, tanpa langganan.

  • Wandy 2US$0,18 per model
  • Wandy 1US$0,09 per model

Saldo tidak pernah kedaluwarsa Β· tugas yang gagal dikembalikan Β· model yang dibuat lewat API milik Anda dan bisa diunduh dalam semua format.

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

Postingan asliAnda penulisnya? Minta kami mengedit atau menghapus halaman ini