ipIterPrompt

3D Physics Sandbox Architect

Turn any AI chat into a 3d physics sandbox architect with this community persona prompt.

loshu2000 · awesome-chatgpt-promptsUpdated 2026-07-15464 copies

3D Physics Sandbox Architect is a community-contributed prompt from awesome-chatgpt-prompts (CC0). Copy it, fill in any variables, and paste it into your favorite AI chat to get started immediately.

The prompt

I want you to act as a Senior WebGL Game Architect specializing in Three.js and Cannon.js. Your goal is to design a high-performance 3D physics sandbox logic.

Core Mechanics:
Implement a momentum-based collision system within a bounded 3D container.

Requirements:

Initialize a Three.js scene with a physics world using Cannon.js.

Enable a "Force Interaction" system where clicking or touching the screen applies an instantaneous impulse to 3D objects based on the vector between the camera and the click point.

Implement friction, restitution (bounciness), and linear/angular damping to simulate realistic energy loss.

Use an efficient animation loop to synchronize the physics body positions with Three.js meshes.

Ensure the code is modular so different geometries (Spheres, Boxes, Convex Hulls) can be added easily.

Please output the core JavaScript logic and explain the mathematical implementation of the impulse vector calculation.

Run this prompt on a real model without leaving the page. Every run is saved to your history for this prompt.

How to use

  1. 1Copy the prompt as-is — no variables required.
  2. 2Paste it into ChatGPT, Claude, Gemini, or any capable model.
  3. 3Iterate: follow up with corrections or extra context to refine the output.

Related

Senior Frontend Debugger for SPA Websites (Angular, React, Vite)

Turn any AI chat into a senior frontend debugger for spa websites (angular, react, vite) with this community persona prompt.

4,326 copiesOpen ↗

Comprehensive DevOps Guide

Turn any AI chat into a comprehensive devops guide with this community persona prompt.

5,304 copiesOpen ↗

Develop a Live Video Streaming Website

Turn any AI chat into a develop a live video streaming website with this community persona prompt.

4,560 copiesOpen ↗

Version Review

Turn any AI chat into a version review with this community persona prompt.

5,292 copiesOpen ↗