跳到正文
DANJI· 来源· @DanjiTosaka · X·· 11 小时前精选AI 评分70
推荐理由

展示了利用 Gemini 4 Neon 在单文件中生成包含物理引擎与合成音效的 WebGL 游戏,提供了可复用的 Prompt 参考。

正文 · 原文

Built a hyper-speed 3D Table Tennis game inside a SINGLE HTML file, 100% procedural in @threejs, built with Gemini 4 Neon in Google Antigravity (@antigravity). 🏓⚡

Zero external textures. Zero 3D models. Zero audio files.

Everything runs from one index.html:
• 600Hz physics engine with real 3D Magnus spin (topspin, backspin, banana curves) & guided ballistic trajectory solver
• Procedural PBR materials (pips-in rubber, 5-ply carbon blade, cloth-ripple net)
• Championship arena with PMREM reflections, volumetric lighting, live 3D Jumbotron & glassmorphic broadcast HUD
• Real-time synthesized Web Audio SFX (table bounce, blade crack, net cord, crowd swell)
• 4 AI tiers + HYPER RALLY overdrive mode (up to 1.7x speed)

Even the 30s cyber-phonk soundtrack in this 4K60 clip was generated with Lyria RealTime.

Double-click the HTML file and play instantly in the browser.

Full updated prompt in the reply below 👇

@Google @GoogleDeepMind @GeminiApp #ThreeJS #WebGL #Gemini4 #Antigravity #GameDev #CreativeCoding

来源:DANJI · x.com