프롬프트 도감 › No.2352
3D 튕기는 공 아레나 게임
Kinetic Bounce Arena
회전하는 원통 안에서 빛나는 공이 작은 입자들과 부딪히는 3D 게임을 파일 하나로 만들어 줘요. 마우스로 기울기를 조절하고 네온 궤적이 남아요.
이럴 때 웹 게임 실험, 3D 코딩 공부, 인터랙티브 데모
도구 ChatGPT · Claude · Gemini
프롬프트
I want you to act as an expert front-end game engineer specializing in single-file HTML5 games. Your task is to produce a SINGLE FILE (index.html) implementation of a 3D Kinetic Bounce Arena. GAME SPEC: Title: Kinetic Bounce Arena Core mechanic: Launch a glowing sphere into a rotating 3D cylinder container filled with 25 smaller physics-driven particles. Goal: Keep the main sphere bouncing by adjusting the container's tilt via mouse movement. TECH REQUIREMENTS: Single file: <!doctype html> with inline <style> and <script> using p5.js (loaded via CDN). Rendering: WebGL mode in p5.js, 600x600 canvas centered on page. Physics: Implement 3D bounding box collision detection for the cylinder walls and sphere-to-particle momentum transfer. Particles must leave fading colorful motion trails. Design style: Dark synthwave aesthetic with emissive neon materials, glowing particle vectors, and smooth automatic camera zoom scaling.
팁
- 입자 수를 25에서 바꾸면 분위기가 달라져요
- 화면이 느리면 입자를 줄여 보세요
출처
권리: CC0 (f/prompts.chat). 자유 사용. 기여자: loshu2000.