一款基于 Three.js 的第三人称街机赛车游戏,所有资源均在运行时程序化生成,目标达到现代《极品飞车》的视觉质量。

Stars

5

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-28

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

该仓库完全由 Claude AI 根据单一提示生成,配备视觉质量检测工具,可与官方《极品飞车》截图进行盲对比,并透明地记录了性能数据和已知缺陷。

适合谁使用

  • 对程序化内容生成感兴趣的游戏开发者
  • Three.js 和 WebGL2 开发者
  • AI 辅助开发的研究人员
  • 赛车游戏爱好者

典型使用场景

  • 在完整游戏环境中学习程序化资源生成技术
  • 基准测试 WebGL2 和 Three.js 的渲染性能
  • 探索 AI 驱动的游戏设计与开发流程
  • 测试盲视觉质量评估方法

项目优势

  • 完全程序化生成——不下载任何外部纹理、模型、音频或字体资源
  • 在高端硬件上实现高帧率(例如 Apple M4 Pro 在 1080p 下可达 177 fps)
  • 全面的质量检测工具,支持无头截图和与参考图像的盲对比
  • 透明地记录了已知技术缺陷、性能指标和专家评估分数

使用前须知

  • 盲专家评分较低(24.7/100),显示视觉质量仍远未达到 AAA 级
  • 需要 WebGL2 和独立显卡或 Apple Silicon GPU;集成显卡可能无法渲染所有质量等级
  • 已知多个技术缺陷(例如沥青路面单一、车身几何细节缺失、发光表面无光照)限制真实感

README 快速开始

NEED FOR TOKENS

A third-person arcade racing game built in Three.js, targeting the visual quality of a modern Need for Speed title.

▶ Play it in your browser — no install, no download. Needs a WebGL2 browser and a discrete or Apple-silicon GPU for the higher quality tiers. Quality is picked from your GPU and then tracks your frame rate. If you get a black screen, add ?safemode=1 to bypass the post chain — if that renders, the fault is a post-processing shader your driver rejected.

Everything is generated procedurally at runtime. No .glb, no .hdr, no textures, no audio files, no fonts — nothing is downloaded and nothing is loaded from disk. Every road surface, building facade, car body, engine note and letterform in this repository is produced by code. That constraint is deliberate and absolute; see CONTRACTS.md §0.

npm install
npm run dev          # http://127.0.0.1:5273

ControlsW/S throttle & brake, A/D steer, Space handbrake, Shift NOS, V camera, C look back, R respawn, Esc pause, T telemetry. Gamepad and touch supported.


The prompt

FYI for readers: this repository was produced by Claude Code from the single prompt below.

I want you to build a third-person racing game at the level of the most recent Need for Speed games.

It should be utterly perfect, visually beautiful, with every single thing done at AAA quality - from textures to physics to anything you could think of.

Fan out sub-agents and have sub-agents tackle each one individually so that the game is utterly perfect. You should /loop on each item and have a separate sub-agent check it visually to ensure it looks triple A. That separate sub-agent should be a really harsh critic, and if it doesn't look triple A, it should keep going.

Don't stop until each sub-agent is utterly wowed with the quality when compared with the actual Need for Speed game. It should literally compare them side by side blind and say which one looks better. Do this in ThreeJS. /loop until it's utterly perfect. Fan out sub-agents and ultracode.

The game will be called “Need for Tokens”


What's in it

Circuit"Vermilion Bay Circuit" — 3.86 km, 12 named corners, 60 m of elevation, a

项目描述

Third-person arcade racer in Three.js — every mesh, texture, engine note and font is generated procedurally at runtime. No assets, no downloads.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

hoainho
hoainho GitHub avatar

img2threejs

img2threejs reconstructs a 3D object from a single reference image as a procedural Three.js model using code-only, token-efficient, staged pipeline with quality gates, producing animation-ready Three.js groups.

Python
7,414
react
精选
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web 开发前端框架
246,741
CatsJuice
精选
CatsJuice GitHub avatar

sticker-forge

Sticker Forge is a WebGL tool that turns text or uploaded images into interactive stickers with a simulated peel-and-reveal effect, offering a Web Component and imperative API.

JavaScript
627