3D Kinetic Ball Simulation

3D Kinetic Ball Simulation

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.

chatgpt TEXT loshu2000

The skill

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.

How to install it

ChatGPT

1. Open Explore GPTs → Create, or start a new Project.
2. Paste the text below into Instructions.
3. Give it a name and, if the skill needs files, attach them under
   Knowledge.

For one-off use, paste the same text as your first message instead —
it works, but it is re-sent with every turn and costs context.

Did it work for you?

Where it came from

prompts.chat contributors CC0-1.0 The original